miasm
Reverse engineering framework
export.h
Go to the documentation of this file.
1 #ifndef MIASM_RT_EXPORT_H
2 #define MIASM_RT_EXPORT_H
3 
4 #ifdef _WIN32
5 #define _MIASM_EXPORT __declspec(dllexport)
6 #else
7 #define _MIASM_EXPORT __attribute__((visibility("default")))
8 #endif
9 
10 #endif
miasm.os_dep.win_api_x86_32.advapi32_CryptAcquireContextA
def advapi32_CryptAcquireContextA(jitter)
Definition: win_api_x86_32.py:493
miasm.os_dep.win_api_x86_32.kernel32_WaitForSingleObject
def kernel32_WaitForSingleObject(jitter)
Definition: win_api_x86_32.py:1833
miasm.loader.pe_init.PE.loadfrommem
loadfrommem
Definition: pe_init.py:272
miasm.loader.elf_init.ELF.Ehdr
Ehdr
Definition: elf_init.py:831
miasm.loader.elf_init.WRela64.get_sym
def get_sym(self)
Definition: elf_init.py:134
miasm.loader.new_cstruct.CStruct
Definition: new_cstruct.py:171
miasm.loader.minidump.ModuleList
Definition: minidump.py:173
miasm.os_dep.win_api_x86_32.c_winobjs.mutex
mutex
Definition: win_api_x86_32.py:186
miasm.loader.pe_init.PE.virt2off
def virt2off(self, addr)
Definition: pe_init.py:508
miasm.os_dep.win_api_x86_32_seh.LoadedModules.modules
modules
Definition: win_api_x86_32_seh.py:221
miasm.os_dep.linux.environment.FileDescriptor.ctimensec
int ctimensec
Definition: environment.py:71
miasm.os_dep.win_api_x86_32.kernel32_CreateFileMappingA
def kernel32_CreateFileMappingA(jitter)
Definition: win_api_x86_32.py:2661
miasm.os_dep.linux_stdlib.xxx___libc_start_main
def xxx___libc_start_main(jitter)
Definition: linux_stdlib.py:31
miasm.loader.pe_init.PE._sex
_sex
Definition: pe_init.py:193
miasm.loader.elf_init.PHList.parent
parent
Definition: elf_init.py:618
miasm.os_dep.win_api_x86_32.ntdll_ZwFreeVirtualMemory
def ntdll_ZwFreeVirtualMemory(jitter)
Definition: win_api_x86_32.py:1936
miasm.os_dep.common.set_win_str_a
def set_win_str_a(jitter, addr, value)
Definition: common.py:45
miasm.loader.new_cstruct.CStruct._fields
list _fields
Definition: new_cstruct.py:173
miasm.loader.pe_init.ContectRva.get
def get(self, rva_start, rva_stop=None)
Definition: pe_init.py:43
miasm.os_dep.linux.environment.prepare_loader_arml
def prepare_loader_arml(jitter, argv, envp, auxv, linux_env, hlt_address=0x13371acc)
Definition: environment.py:904
miasm.os_dep.win_api_x86_32.systeminfo.numberOfProcessors
int numberOfProcessors
Definition: win_api_x86_32.py:1105
miasm.os_dep.win_api_x86_32.hal_ExAcquireFastMutex
def hal_ExAcquireFastMutex(jitter)
Definition: win_api_x86_32.py:1394
miasm.os_dep.win_api_x86_32.kernel32_CreateDirectoryA
def kernel32_CreateDirectoryA(jitter)
Definition: win_api_x86_32.py:1807
miasm.os_dep.win_api_x86_32.kernel32_GetTempPathA
def kernel32_GetTempPathA(jitter)
Definition: win_api_x86_32.py:3025
miasm.loader.pe_init.ContentManager
Definition: pe_init.py:24
miasm.os_dep.linux.environment.Networking.socket
def socket(self, family, type_, protocol)
Definition: environment.py:375
miasm.loader.minidump.LocationDescriptor
Definition: minidump.py:82
miasm.os_dep.win_api_x86_32.kernel32_GetModuleFileName
def kernel32_GetModuleFileName(jitter, funcname, set_str)
Definition: win_api_x86_32.py:899
miasm.os_dep.win_api_x86_32_seh.LoadedModules
Definition: win_api_x86_32_seh.py:216
miasm.loader.elf_init.InitArray
Definition: elf_init.py:284
miasm.os_dep.linux.syscall.sys_x86_64_pread64
def sys_x86_64_pread64(jitter, linux_env)
Definition: syscall.py:868
miasm.os_dep.linux.environment.LinuxEnvironment_x86_32
Definition: environment.py:669
miasm.os_dep.linux.environment.LinuxEnvironment.write
def write(self, fd, data)
Definition: environment.py:495
miasm.loader.cstruct.fix_size
def fix_size(fields, wsize)
Definition: cstruct.py:23
miasm.os_dep.win_32_structs.PEB_LDR_DATA
Definition: win_32_structs.py:72
miasm.loader.pe_init.PE.__setitem__
def __setitem__(self, item, data)
Definition: pe_init.py:436
miasm.os_dep.linux.environment.AuxVec.AT_PAGESZ
int AT_PAGESZ
Definition: environment.py:738
miasm.os_dep.win_api_x86_32.c_winobjs.getversion
getversion
Definition: win_api_x86_32.py:153
miasm.os_dep.win_api_x86_32.systeminfo.dwPageSize
int dwPageSize
Definition: win_api_x86_32.py:1101
miasm.os_dep.linux.environment.FileSystem.base_path
base_path
Definition: environment.py:211
miasm.os_dep.linux.environment.LinuxEnvironment_x86_64
Definition: environment.py:682
miasm.os_dep.win_api_x86_32.ntdll_RtlInitAnsiString
def ntdll_RtlInitAnsiString(jitter)
Definition: win_api_x86_32.py:1207
miasm.os_dep.win_api_x86_32.kernel32_TlsFree
def kernel32_TlsFree(jitter)
Definition: win_api_x86_32.py:2423
miasm.os_dep.win_api_x86_32.win32_find_data.lastaccesstime
int lastaccesstime
Definition: win_api_x86_32.py:3052
miasm.os_dep.win_api_x86_32.c_winobjs.__init__
def __init__(self)
Definition: win_api_x86_32.py:135
miasm.loader.pe.DirTls
Definition: pe.py:1601
miasm.os_dep.win_api_x86_32.advapi32_RegOpenKeyExA
def advapi32_RegOpenKeyExA(jitter)
Definition: win_api_x86_32.py:2315
miasm.core.types
Definition: types.py:1
miasm.os_dep.win_api_x86_32.ntoskrnl_KeInitializeEvent
def ntoskrnl_KeInitializeEvent(jitter)
Definition: win_api_x86_32.py:1360
miasm.loader.pe_init.PE.__init__
def __init__(self, pestr=None, loadfrommem=False, parse_resources=True, parse_delay=True, parse_reloc=True, wsize=32, **kwargs)
Definition: pe_init.py:187
miasm.os_dep.linux.environment.FileSystem.__init__
def __init__(self, base_path, linux_env)
Definition: environment.py:210
miasm.loader.elf_init.WDynamic.type
type
Definition: elf_init.py:152
miasm.os_dep.win_api_x86_32.FLS.kernel32_FlsSetValue
def kernel32_FlsSetValue(self, jitter)
Definition: win_api_x86_32.py:3308
miasm.loader.elf.Phdr
Definition: elf.py:34
miasm.os_dep.win_api_x86_32.msvcrt_malloc
def msvcrt_malloc(jitter)
Definition: win_api_x86_32.py:2924
miasm.loader.elf_init.Section.content
content
Definition: elf_init.py:214
miasm.os_dep.win_api_x86_32.advapi32_RegSetValueExA
def advapi32_RegSetValueExA(jitter)
Definition: win_api_x86_32.py:2349
miasm.loader.strpatchwork.StrPatchwork.__getitem__
def __getitem__(self, item)
Definition: strpatchwork.py:44
miasm.loader.new_cstruct.CStruct.parent_head
parent_head
Definition: new_cstruct.py:176
win_api_x86_32.TestWinAPI.test_ProcessAndThreadFunctions
def test_ProcessAndThreadFunctions(self)
Definition: win_api_x86_32.py:165
miasm.loader.minidump_init.Minidump.minidumpHDR
minidumpHDR
Definition: minidump_init.py:99
miasm.loader.minidump.Thread
Definition: minidump.py:476
miasm.loader.elf_init.virt.parent
parent
Definition: elf_init.py:666
miasm.os_dep.win_api_x86_32.mdl.__init__
def __init__(self, ad, l)
Definition: win_api_x86_32.py:263
miasm.loader.minidump_init.MemorySegment
Definition: minidump_init.py:11
miasm.loader.elf.Sym32
Definition: elf.py:60
miasm.os_dep.linux.environment.FileSystem.blocksize
int blocksize
Definition: environment.py:199
miasm.loader.elf_init.StructWrapper_metaclass.__new__
def __new__(cls, name, bases, dct)
Definition: elf_init.py:33
miasm.os_dep.win_32_structs.TEB
Definition: win_32_structs.py:177
miasm.os_dep.win_api_x86_32.kernel32_VirtualFree
def kernel32_VirtualFree(jitter)
Definition: win_api_x86_32.py:884
miasm.loader.cstruct.CStructStruct._lst
_lst
Definition: cstruct.py:139
miasm.loader.elf_init.ELF.getphbyvad
def getphbyvad(self, ad)
Definition: elf_init.py:858
miasm.os_dep.linux_stdlib.c_linobjs.heap
heap
Definition: linux_stdlib.py:25
miasm.os_dep.linux.environment.FileSystem.nb_avail_block
int nb_avail_block
Definition: environment.py:203
miasm.loader.strpatchwork.StrPatchwork.__bytes__
def __bytes__(self)
Definition: strpatchwork.py:36
miasm.core.utils.hexdump
def hexdump(src, length=16)
Definition: utils.py:140
miasm.loader.elf_init.ELF._virt
_virt
Definition: elf_init.py:819
miasm.loader.elf_init.ProgramHeader64.ph
ph
Definition: elf_init.py:599
miasm.loader.elf_init.ContentManager.__set__
def __set__(self, owner, new_content)
Definition: elf_init.py:175
miasm.os_dep.linux.environment.AuxVec.AT_PHDR
int AT_PHDR
Definition: environment.py:736
miasm.loader.elf_init.WEhdr.set_shstrndx
def set_shstrndx(self, val)
Definition: elf_init.py:71
miasm.os_dep.win_api_x86_32.win32_find_data.filesizehigh
int filesizehigh
Definition: win_api_x86_32.py:3054
miasm.loader.pe_init.PE.DirExport
DirExport
Definition: pe_init.py:214
miasm.loader.cstruct.CStructStruct.__str__
def __str__(self)
Definition: cstruct.py:145
miasm.os_dep.win_api_x86_32.c_winobjs.getforegroundwindow
getforegroundwindow
Definition: win_api_x86_32.py:154
miasm.os_dep.win_api_x86_32_seh.init_seh
def init_seh(jitter)
Definition: win_api_x86_32_seh.py:444
miasm.os_dep.win_api_x86_32.my_CreateDirectory
def my_CreateDirectory(jitter, funcname, get_str)
Definition: win_api_x86_32.py:1797
miasm.loader.pe_init.ContectRva.__init__
def __init__(self, parent)
Definition: pe_init.py:40
miasm.loader.elf_init.SHList.__bytes__
def __bytes__(self)
Definition: elf_init.py:553
miasm.loader.minidump.MemoryList
Definition: minidump.py:209
miasm.loader.elf.Rel32
Definition: elf.py:80
miasm.loader.elf_init.virt.item2virtitem
def item2virtitem(self, item)
Definition: elf_init.py:709
miasm.loader.strpatchwork.StrPatchwork.s_cache
s_cache
Definition: strpatchwork.py:33
miasm.loader.elf_init.WRela64
Definition: elf_init.py:129
miasm.os_dep.win_api_x86_32.advapi32_CryptDestroyHash
def advapi32_CryptDestroyHash(jitter)
Definition: win_api_x86_32.py:590
miasm.os_dep.linux.environment.FileDescriptorDirectory.real_path
real_path
Definition: environment.py:133
miasm.loader.elf_init.StructWrapper.__repr__
def __repr__(self)
Definition: elf_init.py:58
miasm.os_dep.common.unix_to_sbpath
def unix_to_sbpath(path)
Definition: common.py:129
miasm.loader.elf_init.Section_metaclass.__new__
def __new__(cls, name, bases, dct)
Definition: elf_init.py:188
miasm.loader.minidump_init.MemorySegment.pretty_protect
def pretty_protect(self)
Definition: minidump_init.py:55
miasm.core.types.Union
Definition: types.py:701
miasm.loader.minidump_init.MemorySegment.protect
def protect(self)
Definition: minidump_init.py:49
miasm.core.locationdb
Definition: locationdb.py:1
miasm.os_dep.linux.environment.FileDescriptor.blksize
int blksize
Definition: environment.py:63
miasm.os_dep.linux_stdlib.c_linobjs.alloc_align
alloc_align
Definition: linux_stdlib.py:24
miasm.loader.elf_init.virt.find
def find(self, pattern, start=0)
Definition: elf_init.py:789
miasm.os_dep.win_api_x86_32.startupinfo.dwFlags
int dwFlags
Definition: win_api_x86_32.py:2490
miasm.os_dep.win_api_x86_32.my_GetVolumeInformation
def my_GetVolumeInformation(jitter, funcname, get_str, set_str)
Definition: win_api_x86_32.py:1629
miasm.os_dep.win_api_x86_32.kernel32_FlushFileBuffers
def kernel32_FlushFileBuffers(jitter)
Definition: win_api_x86_32.py:2870
miasm.loader.elf_init.SHList.__getitem__
def __getitem__(self, item)
Definition: elf_init.py:542
miasm.loader.pe_init.ContectRva.__setitem__
def __setitem__(self, item, data)
Definition: pe_init.py:83
miasm.loader.elf_init.StrTable.mod_name
def mod_name(self, name, new_name)
Definition: elf_init.py:406
miasm.loader.pe_init.PE.__str__
def __str__(self)
Definition: pe_init.py:594
miasm.os_dep.win_32_structs.EXCEPTION_REGISTRATION_RECORD
Definition: win_32_structs.py:117
miasm.os_dep.win_api_x86_32.shell32_SHGetPathFromIDListW
def shell32_SHGetPathFromIDListW(jitter)
Definition: win_api_x86_32.py:991
miasm.loader.elf_init.ELF
Definition: elf_init.py:813
miasm.os_dep.win_api_x86_32.shell32_CommandLineToArgvW
def shell32_CommandLineToArgvW(jitter)
Definition: win_api_x86_32.py:1153
miasm.core.types.Num
Definition: types.py:389
miasm.os_dep.linux.syscall.sys_arml_newuname
def sys_arml_newuname(jitter, linux_env)
Definition: syscall.py:154
miasm.loader.minidump.SystemInfo
Definition: minidump.py:520
miasm.os_dep.linux.environment.FileDescriptorRegularFile.lseek
def lseek(self, offset, whence)
Definition: environment.py:165
miasm.loader.elf.Nhdr
Definition: elf.py:54
miasm.os_dep.linux.environment.LinuxEnvironment.brk_current
int brk_current
Definition: environment.py:397
win_api_x86_32.TestWinAPI.test_GetCurrentDirectory
def test_GetCurrentDirectory(self)
Definition: win_api_x86_32.py:88
miasm.loader.elf_init.ContentManager.__get__
def __get__(self, owner, x)
Definition: elf_init.py:171
miasm.os_dep.win_api_x86_32.user32_IsCharAlphaW
def user32_IsCharAlphaW(jitter)
Definition: win_api_x86_32.py:2202
miasm.os_dep.win_api_x86_32.c_winobjs.module_name
module_name
Definition: win_api_x86_32.py:149
miasm.loader.elf_init.NoteSection
Definition: elf_init.py:320
miasm.loader.pe.DirDelay
Definition: pe.py:847
miasm.core.utils.force_bytes
def force_bytes(value)
Definition: utils.py:87
miasm.os_dep.win_api_x86_32.c_winobjs.find_data
find_data
Definition: win_api_x86_32.py:189
miasm.os_dep.linux.syscall.sys_x86_64_prlimit64
def sys_x86_64_prlimit64(jitter, linux_env)
Definition: syscall.py:439
miasm.os_dep.win_api_x86_32.msvcrt__wcsicmp
def msvcrt__wcsicmp(jitter)
Definition: win_api_x86_32.py:1500
miasm.loader.elf.Phdr64
Definition: elf.py:44
miasm.os_dep.win_api_x86_32.find_data_mngr.findfirst
def findfirst(self, pattern)
Definition: win_api_x86_32.py:3098
miasm.loader.elf_init.ProgramHeader
Definition: elf_init.py:575
miasm.loader.elf_init.GroupSection
Definition: elf_init.py:292
miasm.os_dep.win_api_x86_32.startupinfo.dwY
int dwY
Definition: win_api_x86_32.py:2484
miasm.os_dep.linux.environment.FileSystem.exists
def exists(self, path)
Definition: environment.py:299
miasm.os_dep.win_api_x86_32.c_winobjs.files_hwnd
files_hwnd
Definition: win_api_x86_32.py:163
miasm.loader.new_cstruct.real_fmt
def real_fmt(fmt, wsize)
Definition: new_cstruct.py:58
miasm.loader.elf_init.Section_metaclass
Definition: elf_init.py:186
miasm.loader.elf_init.NullSection
Definition: elf_init.py:260
miasm.os_dep.win_api_x86_32.ntoskrnl_MmMapLockedPagesSpecifyCache
def ntoskrnl_MmMapLockedPagesSpecifyCache(jitter)
Definition: win_api_x86_32.py:1425
miasm.os_dep.win_api_x86_32.ntdll_ZwAllocateVirtualMemory
def ntdll_ZwAllocateVirtualMemory(jitter)
Definition: win_api_x86_32.py:1915
miasm.os_dep.win_api_x86_32.advapi32_RegSetValueW
def advapi32_RegSetValueW(jitter)
Definition: win_api_x86_32.py:2361
miasm.loader.elf_init.Section.parent
parent
Definition: elf_init.py:250
miasm.loader.elf_init.ELF.is_in_virt_address
def is_in_virt_address(self, ad)
Definition: elf_init.py:878
miasm.loader.minidump_init.Minidump.modulelist
modulelist
Definition: minidump_init.py:79
miasm.loader.pe.Opthdr32
Definition: pe.py:80
miasm.loader.minidump.FixedFileInfo
Definition: minidump.py:129
miasm.loader.elf_init.StrTable.get_name
def get_name(self, ofs)
Definition: elf_init.py:394
miasm.os_dep.win_api_x86_32.ntoskrnl_RtlVerifyVersionInfo
def ntoskrnl_RtlVerifyVersionInfo(jitter)
Definition: win_api_x86_32.py:1384
miasm.os_dep.win_api_x86_32.advapi32_RegOpenKeyEx
def advapi32_RegOpenKeyEx(jitter, funcname, get_str)
Definition: win_api_x86_32.py:2293
miasm.loader.elf_init.StructWrapper_metaclass
Definition: elf_init.py:31
miasm.loader.elf_init.RelTable.reltab
reltab
Definition: elf_init.py:475
miasm.loader.elf_init.Section_metaclass.register
def register(cls, o)
Definition: elf_init.py:194
miasm.os_dep.win_api_x86_32.msvcrt_free
def msvcrt_free(jitter)
Definition: win_api_x86_32.py:2930
miasm.os_dep.win_api_x86_32.startupinfo.cb
int cb
Definition: win_api_x86_32.py:2479
miasm.os_dep.linux.environment.FileDescriptor.is_closed
is_closed
Definition: environment.py:75
miasm.loader.strpatchwork.array_tobytes
def array_tobytes(arr)
Definition: strpatchwork.py:12
miasm.os_dep.linux.syscall.sys_x86_64_newstat
def sys_x86_64_newstat(jitter, linux_env)
Definition: syscall.py:215
miasm.os_dep.win_32_structs.ListEntry
Definition: win_32_structs.py:15
miasm.loader.pe_init.PE.getsectionbyvad
def getsectionbyvad(self, vad)
Definition: pe_init.py:454
miasm.loader.elf_init.WNhdr
Definition: elf_init.py:165
miasm.os_dep.win_api_x86_32.msvcrt_realloc
def msvcrt_realloc(jitter)
Definition: win_api_x86_32.py:2043
miasm.os_dep.win_api_x86_32.kernel32_SetFileAttributesA
def kernel32_SetFileAttributesA(jitter)
Definition: win_api_x86_32.py:1857
miasm.os_dep.linux_stdlib.xxx_snprintf
def xxx_snprintf(jitter)
Definition: linux_stdlib.py:149
miasm.loader.new_cstruct.CStruct.__init__
def __init__(self, parent_head=None, _sex=None, _wsize=None, **kargs)
Definition: new_cstruct.py:175
miasm.os_dep.win_api_x86_32.kernel32_LoadLibraryExA
def kernel32_LoadLibraryExA(jitter)
Definition: win_api_x86_32.py:1045
miasm.loader.strpatchwork
Definition: strpatchwork.py:1
miasm.core.locationdb.LocationDB
Definition: locationdb.py:11
miasm.os_dep.win_api_x86_32.msvcrt_sprintf_str
def msvcrt_sprintf_str(jitter, get_str)
Definition: win_api_x86_32.py:2218
miasm.loader.elf_init.WRela32.get_sym
def get_sym(self)
Definition: elf_init.py:122
miasm.loader.pe.DirReloc
Definition: pe.py:1139
miasm.loader.minidump_init.Minidump.systeminfo
systeminfo
Definition: minidump_init.py:83
miasm.os_dep.linux.syscall.sys_x86_64_arch_prctl
def sys_x86_64_arch_prctl(jitter, linux_env)
Definition: syscall.py:375
miasm.os_dep.win_api_x86_32.advapi32_CryptReleaseContext
def advapi32_CryptReleaseContext(jitter)
Definition: win_api_x86_32.py:570
miasm.os_dep.win_api_x86_32.msvcrt_strlen
def msvcrt_strlen(jitter)
Definition: win_api_x86_32.py:3250
miasm.loader.new_cstruct
Definition: new_cstruct.py:1
miasm.loader.pe_init.PE.getsectionbyoff
def getsectionbyoff(self, off)
Definition: pe_init.py:457
miasm.os_dep.win_api_x86_32.kernel32_lstrcmpiA
def kernel32_lstrcmpiA(jitter)
Definition: win_api_x86_32.py:1526
miasm.os_dep.win_api_x86_32_seh.fix_InInitializationOrderModuleList
def fix_InInitializationOrderModuleList(jitter, modules_info)
Definition: win_api_x86_32_seh.py:380
miasm.loader.elf_init.ELF.get_virt
def get_virt(self)
Definition: elf_init.py:821
miasm.os_dep.linux.environment.FileDescriptorRegularFile.__init__
def __init__(self, number, flags, filesystem, real_fd)
Definition: environment.py:149
miasm.loader.elf_init.PHList.__bytes__
def __bytes__(self)
Definition: elf_init.py:643
miasm.loader.minidump.Enumeration.__getattr__
def __getattr__(self, key)
Definition: minidump.py:23
miasm.os_dep.win_api_x86_32.startupinfo.dwXSize
int dwXSize
Definition: win_api_x86_32.py:2485
miasm.loader.elf_init.Section.get_linksection
def get_linksection(self)
Definition: elf_init.py:226
miasm.os_dep.linux.environment.FileSystem.fragment_size
int fragment_size
Definition: environment.py:207
miasm.os_dep.win_api_x86_32.startupinfo.dwXCountChars
int dwXCountChars
Definition: win_api_x86_32.py:2487
miasm.loader.elf.Shdr
Definition: elf.py:22
miasm.core.utils
Definition: utils.py:1
miasm.os_dep.linux.syscall.sys_arml_writev
def sys_arml_writev(jitter, linux_env)
Definition: syscall.py:268
miasm.os_dep.win_api_x86_32.kernel32_HeapAlloc
def kernel32_HeapAlloc(jitter)
Definition: win_api_x86_32.py:276
miasm.os_dep.win_api_x86_32.c_winobjs.cryptcontext_bnum
cryptcontext_bnum
Definition: win_api_x86_32.py:156
miasm.os_dep.linux.environment.FileDescriptorSTDERR
Definition: environment.py:117
miasm.os_dep.win_api_x86_32.ntdll_RtlAnsiStringToUnicodeString
def ntdll_RtlAnsiStringToUnicodeString(jitter)
Definition: win_api_x86_32.py:1953
miasm.os_dep.win_api_x86_32.whandle.__repr__
def __repr__(self)
Definition: win_api_x86_32.py:95
miasm.os_dep.win_api_x86_32.kernel32_SetFilePointerEx
def kernel32_SetFilePointerEx(jitter)
Definition: win_api_x86_32.py:2832
miasm.os_dep.win_api_x86_32.user32_GetWindowLongA
def user32_GetWindowLongA(jitter)
Definition: win_api_x86_32.py:889
miasm.os_dep.win_api_x86_32.startupinfo.dwX
int dwX
Definition: win_api_x86_32.py:2483
miasm.os_dep.win_api_x86_32.kernel32_GetDiskFreeSpace
def kernel32_GetDiskFreeSpace(jitter, funcname, get_str)
Definition: win_api_x86_32.py:2740
miasm.os_dep.win_api_x86_32.kernel32_CreateDirectoryW
def kernel32_CreateDirectoryW(jitter)
Definition: win_api_x86_32.py:1803
miasm.os_dep.win_api_x86_32.user32_GetKeyboardType
def user32_GetKeyboardType(jitter)
Definition: win_api_x86_32.py:2441
miasm.os_dep.win_api_x86_32.kernel32_lstrcpyn
def kernel32_lstrcpyn(jitter)
Definition: win_api_x86_32.py:1571
miasm.os_dep.win_api_x86_32.advapi32_CryptHashData
def advapi32_CryptHashData(jitter)
Definition: win_api_x86_32.py:532
miasm.loader.elf_init.WRel32.get_type
def get_type(self)
Definition: elf_init.py:99
miasm.os_dep.win_api_x86_32.user32_IsCharAlpha
def user32_IsCharAlpha(jitter, funcname, get_str)
Definition: win_api_x86_32.py:2184
miasm.os_dep.win_api_x86_32.msvcrt_srand
def msvcrt_srand(jitter)
Definition: win_api_x86_32.py:2800
miasm.os_dep.win_api_x86_32.handle_generator.__init__
def __init__(self)
Definition: win_api_x86_32.py:101
miasm.loader.pe_init.PE.isPE
def isPE(self)
Definition: pe_init.py:283
miasm.loader.elf_init.WShdr
Definition: elf_init.py:141
miasm.os_dep.win_api_x86_32.shlwapi_StrToInt64ExA
def shlwapi_StrToInt64ExA(jitter)
Definition: win_api_x86_32.py:2176
miasm.os_dep.win_api_x86_32.shlwapi_StrToIntA
def shlwapi_StrToIntA(jitter)
Definition: win_api_x86_32.py:2149
miasm.loader.elf_init.Section.__init__
def __init__(self, parent, sh=None)
Definition: elf_init.py:249
miasm.os_dep.win_api_x86_32.msvcrt_memcmp
def msvcrt_memcmp(jitter)
Definition: win_api_x86_32.py:2054
miasm.os_dep.linux.environment.AuxVec.AT_HWCAP
int AT_HWCAP
Definition: environment.py:745
miasm.loader.minidump_init.MemorySegment.memory_desc
memory_desc
Definition: minidump_init.py:16
miasm.os_dep.win_api_x86_32.systeminfo
Definition: win_api_x86_32.py:1099
miasm.loader.pe.DirRes
Definition: pe.py:1292
miasm.loader.pe_init.PE.SHList
SHList
Definition: pe_init.py:208
miasm.os_dep.linux.environment.LinuxEnvironment.filesystem
filesystem
Definition: environment.py:454
miasm.os_dep.linux.environment.AuxVec.iteritems
def iteritems(self)
Definition: environment.py:787
miasm.os_dep.linux.environment.FileDescriptor.mtime
int mtime
Definition: environment.py:68
miasm.loader.elf_init.ProgramHeader64.shlist
shlist
Definition: elf_init.py:600
miasm.os_dep.win_api_x86_32.find_data_mngr.flist
flist
Definition: win_api_x86_32.py:3088
miasm.os_dep.linux.environment.FileSystem.nb_free_fnode
int nb_free_fnode
Definition: environment.py:205
miasm.os_dep.win_api_x86_32.cryptdll_MD5Update
def cryptdll_MD5Update(jitter)
Definition: win_api_x86_32.py:1182
miasm.loader.pe_init.PE.build_content
def build_content(self)
Definition: pe_init.py:545
miasm.loader.cstruct.CStruct.__bytes__
def __bytes__(self)
Definition: cstruct.py:118
miasm.os_dep.win_api_x86_32.kernel32_myGetTempPath
def kernel32_myGetTempPath(jitter, set_str)
Definition: win_api_x86_32.py:3017
miasm.os_dep.linux.environment.FileDescriptorSTDOUT
Definition: environment.py:109
miasm.loader.pe_init.ContentVirtual.__setitem__
def __setitem__(self, item, data)
Definition: pe_init.py:99
miasm.os_dep.win_api_x86_32.msvcrt_fprintf
def msvcrt_fprintf(jitter)
Definition: win_api_x86_32.py:2239
miasm.os_dep.linux.syscall.sys_generic_brk
def sys_generic_brk(jitter, linux_env)
Definition: syscall.py:83
miasm.loader.strpatchwork.StrPatchwork.find
def find(self, pattern, start=0, end=None)
Definition: strpatchwork.py:98
miasm.os_dep.win_api_x86_32_seh.fix_InLoadOrderModuleList
def fix_InLoadOrderModuleList(jitter, modules_info)
Definition: win_api_x86_32_seh.py:327
miasm.os_dep.win_api_x86_32.ad2mdl
def ad2mdl(ad)
Definition: win_api_x86_32.py:1403
miasm.os_dep.linux.syscall.sys_generic_getgid
def sys_generic_getgid(jitter, linux_env)
Definition: syscall.py:803
miasm.os_dep.win_api_x86_32.c_winobjs.cryptcontext
cryptcontext
Definition: win_api_x86_32.py:158
miasm.os_dep.linux.environment.LinuxEnvironment
Definition: environment.py:382
miasm.os_dep.win_api_x86_32.advapi32_RegSetValueExW
def advapi32_RegSetValueExW(jitter)
Definition: win_api_x86_32.py:2353
miasm.os_dep.common.encode_win_str_a
def encode_win_str_a(value)
Definition: common.py:36
miasm.os_dep.win_api_x86_32.kernel32_GetCommandLine
def kernel32_GetCommandLine(jitter, set_str)
Definition: win_api_x86_32.py:1138
miasm.os_dep.linux.syscall.sys_x86_64_statfs
def sys_x86_64_statfs(jitter, linux_env)
Definition: syscall.py:463
miasm.os_dep.win_api_x86_32_seh.regs2ctxt
def regs2ctxt(jitter, context_address)
Definition: win_api_x86_32_seh.py:467
miasm.loader.strpatchwork.StrPatchwork.__contains__
def __contains__(self, val)
Definition: strpatchwork.py:89
miasm.os_dep.linux.environment.FileDescriptorDirectory.listdir
def listdir(self)
Definition: environment.py:137
miasm.os_dep.win_api_x86_32.kernel32_LoadLibraryExW
def kernel32_LoadLibraryExW(jitter)
Definition: win_api_x86_32.py:1049
miasm.os_dep.win_api_x86_32.kernel32_GetVersionEx
def kernel32_GetVersionEx(jitter, str_size, encode_str)
Definition: win_api_x86_32.py:379
miasm.core.types.get_str
def get_str(vm, addr, enc, max_char=None, end=u'\x00')
Definition: types.py:162
miasm.loader.minidump.MemoryDescriptor
Definition: minidump.py:201
miasm.loader.new_cstruct.CStruct.__getitem__
def __getitem__(self, item)
Definition: new_cstruct.py:266
miasm.os_dep.win_32_structs.LdrDataEntry
Definition: win_32_structs.py:22
miasm.os_dep.win_api_x86_32.kernel32_GetCommandLineA
def kernel32_GetCommandLineA(jitter)
Definition: win_api_x86_32.py:1145
miasm.os_dep.win_api_x86_32.find_data_mngr.add_list
def add_list(self, pattern, flist)
Definition: win_api_x86_32.py:3092
miasm.os_dep.win_api_x86_32.user32_GetTopWindow
def user32_GetTopWindow(jitter)
Definition: win_api_x86_32.py:473
miasm.loader.elf_init.WDynamic.get_name
def get_name(self)
Definition: elf_init.py:151
miasm.core.types.Array
Definition: types.py:744
miasm.loader.minidump.MemoryInfo
Definition: minidump.py:234
miasm.loader.elf_init.Section.set_linksection
def set_linksection(self, val)
Definition: elf_init.py:229
miasm.os_dep.win_api_x86_32.shell32_SHGetSpecialFolderLocation
def shell32_SHGetSpecialFolderLocation(jitter)
Definition: win_api_x86_32.py:974
miasm.os_dep.win_api_x86_32.c_winobjs.lastwin32error
lastwin32error
Definition: win_api_x86_32.py:185
miasm.os_dep.linux_stdlib.c_linobjs
Definition: linux_stdlib.py:18
miasm.loader.pe.Opthdr64
Definition: pe.py:93
miasm.loader.minidump.Enumeration
Definition: minidump.py:9
miasm.os_dep.win_api_x86_32.kernel32_GetLocaleInfo
def kernel32_GetLocaleInfo(jitter, funcname, set_str)
Definition: win_api_x86_32.py:2391
miasm.os_dep.win_api_x86_32.cryptdll_MD5Init
def cryptdll_MD5Init(jitter)
Definition: win_api_x86_32.py:1172
miasm.os_dep.linux.environment.FileSystem.max_filename_len
int max_filename_len
Definition: environment.py:206
miasm.os_dep.linux_stdlib.xxx_isprint
def xxx_isprint(jitter)
Definition: linux_stdlib.py:90
miasm.loader.elf_init.StructWrapper.parent
parent
Definition: elf_init.py:53
miasm.os_dep.win_api_x86_32.kernel32_TlsSetValue
def kernel32_TlsSetValue(jitter)
Definition: win_api_x86_32.py:2428
miasm.os_dep.win_api_x86_32.kernel32_GetSystemInfo
def kernel32_GetSystemInfo(jitter)
Definition: win_api_x86_32.py:1125
miasm.os_dep.win_api_x86_32.user32_MessageBoxA
def user32_MessageBoxA(jitter)
Definition: win_api_x86_32.py:3005
miasm.loader.elf_init.SHList
Definition: elf_init.py:495
miasm.os_dep.linux.environment.FileDescriptor.file_mode
int file_mode
Definition: environment.py:50
miasm.loader.elf_init.PHList.__getitem__
def __getitem__(self, item)
Definition: elf_init.py:631
miasm.os_dep.win_api_x86_32.kernel32_GetUserGeoID
def kernel32_GetUserGeoID(jitter)
Definition: win_api_x86_32.py:1618
miasm.os_dep.win_api_x86_32
Definition: win_api_x86_32.py:1
miasm.os_dep.win_api_x86_32.ntdll_RtlExtendedIntegerMultiply
def ntdll_RtlExtendedIntegerMultiply(jitter)
Definition: win_api_x86_32.py:1291
miasm.os_dep.win_api_x86_32.mdl2ad
def mdl2ad(n)
Definition: win_api_x86_32.py:1399
miasm.os_dep.linux.syscall.sys_x86_64_getpid
def sys_x86_64_getpid(jitter, linux_env)
Definition: syscall.py:745
miasm.os_dep.win_api_x86_32.kernel32_CreateToolhelp32Snapshot
def kernel32_CreateToolhelp32Snapshot(jitter)
Definition: win_api_x86_32.py:326
miasm.os_dep.win_api_x86_32.kernel32_GetCurrentProcessId
def kernel32_GetCurrentProcessId(jitter)
Definition: win_api_x86_32.py:336
miasm.os_dep.linux.environment.LinuxEnvironment.ioctl_disallowed
ioctl_disallowed
Definition: environment.py:417
miasm.os_dep.linux.syscall.sys_generic_exit_group
def sys_generic_exit_group(jitter, linux_env)
Definition: syscall.py:287
miasm.loader.minidump_init.Minidump.streams
streams
Definition: minidump_init.py:86
miasm.os_dep.win_api_x86_32_seh.add_process_parameters
def add_process_parameters(jitter)
Definition: win_api_x86_32_seh.py:423
miasm.loader.elf_init.ProgramHeader.resize
def resize(self, sec, diff)
Definition: elf_init.py:589
miasm.loader.pe_init.compute_crc
def compute_crc(raw, olds)
Definition: pe_init.py:160
miasm.os_dep.win_api_x86_32_seh.dump_seh
def dump_seh(jitter)
Definition: win_api_x86_32_seh.py:625
miasm.os_dep.win_api_x86_32_seh.build_teb
def build_teb(jitter, teb_address)
Definition: win_api_x86_32_seh.py:89
miasm.os_dep.win_api_x86_32.kernel32_FindFirstFileW
def kernel32_FindFirstFileW(jitter)
Definition: win_api_x86_32.py:3131
miasm.os_dep.win_api_x86_32.c_winobjs.handle_mapped
handle_mapped
Definition: win_api_x86_32.py:172
range
Definition: range.py:1
miasm.os_dep.linux.environment.FileSystem.getattr_
def getattr_(self, path, follow_link=True)
Definition: environment.py:318
miasm.loader.elf_init.NoteSection.notes
notes
Definition: elf_init.py:327
miasm.os_dep.linux.environment.FileDescriptorDirectory
Definition: environment.py:125
miasm.os_dep.win_api_x86_32.c_winobjs.module_fname_nux
module_fname_nux
Definition: win_api_x86_32.py:148
miasm.os_dep.win_api_x86_32.kernel32_SetLastError
def kernel32_SetLastError(jitter)
Definition: win_api_x86_32.py:1004
miasm.loader.elf_init.SHList.__init__
def __init__(self, parent, sex, size)
Definition: elf_init.py:497
miasm.os_dep.win_api_x86_32.kernel32_GetTempPathW
def kernel32_GetTempPathW(jitter)
Definition: win_api_x86_32.py:3029
miasm.loader.cstruct.CStructStruct
Definition: cstruct.py:136
miasm.loader.elf_init.WPhdr
Definition: elf_init.py:157
miasm.os_dep.linux.syscall.sys_generic_access
def sys_generic_access(jitter, linux_env)
Definition: syscall.py:185
miasm.os_dep.win_api_x86_32.kernel32_GetLocaleInfoW
def kernel32_GetLocaleInfoW(jitter)
Definition: win_api_x86_32.py:2413
miasm.loader.cstruct.CStruct._fields
list _fields
Definition: cstruct.py:52
miasm.os_dep.win_api_x86_32.kernel32_GetDriveTypeA
def kernel32_GetDriveTypeA(jitter)
Definition: win_api_x86_32.py:2732
miasm.loader.pe_init.PE.get_rva
def get_rva(self)
Definition: pe_init.py:533
miasm.os_dep.win_api_x86_32_seh.set_link_list_entry
def set_link_list_entry(jitter, loaded_modules, modules_info, offset)
Definition: win_api_x86_32_seh.py:309
miasm.os_dep.linux.syscall.sys_arml_set_tls
def sys_arml_set_tls(jitter, linux_env)
Definition: syscall.py:837
miasm.os_dep.win_api_x86_32.whandle
Definition: win_api_x86_32.py:89
miasm.loader.elf_init.WRel32.get_sym
def get_sym(self)
Definition: elf_init.py:94
miasm.os_dep.win_api_x86_32.advapi32_RegSetValueEx
def advapi32_RegSetValueEx(jitter, funcname, get_str)
Definition: win_api_x86_32.py:2333
miasm.os_dep.win_api_x86_32.my_CreateEvent
def my_CreateEvent(jitter, funcname, get_str)
Definition: win_api_x86_32.py:1812
miasm.loader.pe_init.ContentVirtual.__getitem__
def __getitem__(self, item)
Definition: pe_init.py:96
miasm.loader.minidump_init.Minidump.memory
memory
Definition: minidump_init.py:91
miasm.os_dep.win_api_x86_32.win32_find_data.alternamefilename
string alternamefilename
Definition: win_api_x86_32.py:3059
miasm.os_dep.win_api_x86_32.ntoskrnl_RtlGetVersion
def ntoskrnl_RtlGetVersion(jitter)
Definition: win_api_x86_32.py:1369
miasm.os_dep.win_api_x86_32.ntoskrnl_MmUnlockPages
def ntoskrnl_MmUnlockPages(jitter)
Definition: win_api_x86_32.py:1444
miasm.os_dep.win_api_x86_32.kernel32_IsProcessorFeaturePresent
def kernel32_IsProcessorFeaturePresent(jitter)
Definition: win_api_x86_32.py:3389
miasm.os_dep.linux.environment.FileDescriptorSocket.family
family
Definition: environment.py:182
miasm.os_dep.linux.environment.LinuxEnvironment_arml
Definition: environment.py:694
miasm.os_dep.linux.environment.LinuxEnvironment.next_fd
def next_fd(self)
Definition: environment.py:457
miasm.loader.elf_init.Section.phparent
phparent
Definition: elf_init.py:251
miasm.os_dep.win_api_x86_32.c_winobjs.hkey_handles
hkey_handles
Definition: win_api_x86_32.py:173
miasm.loader.pe_init.PE._rva
_rva
Definition: pe_init.py:188
miasm.os_dep.win_api_x86_32.c_winobjs.nt_mdl
nt_mdl
Definition: win_api_x86_32.py:179
miasm.loader.minidump.SystemInfo.pretty_processor_architecture
def pretty_processor_architecture(self)
Definition: minidump.py:543
miasm.os_dep.linux.environment.Networking
Definition: environment.py:369
miasm.os_dep.linux.environment.FileSystem
Definition: environment.py:187
miasm.os_dep.linux.syscall.sys_x86_64_socket
def sys_x86_64_socket(jitter, linux_env)
Definition: syscall.py:665
miasm.os_dep.win_api_x86_32.msvcrt__wfopen
def msvcrt__wfopen(jitter)
Definition: win_api_x86_32.py:3242
miasm.loader.elf_init.SymTable
Definition: elf_init.py:418
miasm.os_dep.win_api_x86_32.ntdll_ZwUnmapViewOfSection
def ntdll_ZwUnmapViewOfSection(jitter)
Definition: win_api_x86_32.py:1350
miasm.os_dep.win_api_x86_32.kernel32_GetFileSize
def kernel32_GetFileSize(jitter)
Definition: win_api_x86_32.py:748
miasm.os_dep.win_api_x86_32.kernel32_FindFirstFileExW
def kernel32_FindFirstFileExW(jitter)
Definition: win_api_x86_32.py:3149
miasm.os_dep.win_api_x86_32.kernel32_GetDiskFreeSpaceA
def kernel32_GetDiskFreeSpaceA(jitter)
Definition: win_api_x86_32.py:2753
miasm.arch.arm.sem.pop
def pop(ir, instr, a)
Definition: sem.py:1279
miasm.os_dep.win_api_x86_32.ntdll_RtlCompareMemory
def ntdll_RtlCompareMemory(jitter)
Definition: win_api_x86_32.py:1326
miasm.os_dep.win_api_x86_32.kernel32_LoadLibraryW
def kernel32_LoadLibraryW(jitter)
Definition: win_api_x86_32.py:1030
miasm.loader.cstruct.CStruct._packformat
string _packformat
Definition: cstruct.py:51
miasm.os_dep.win_api_x86_32.systeminfo.ProcessorsType
int ProcessorsType
Definition: win_api_x86_32.py:1106
miasm.loader.minidump_init.MemorySegment.size
def size(self)
Definition: minidump_init.py:26
miasm.os_dep.linux.syscall.sys_generic_setgid
def sys_generic_setgid(jitter, linux_env)
Definition: syscall.py:811
miasm.loader.pe_init.PE.NThdr
NThdr
Definition: pe_init.py:205
miasm.loader.cstruct.CStruct.__getitem__
def __getitem__(self, item)
Definition: cstruct.py:126
miasm.os_dep.win_api_x86_32.user32_IsCharAlphaNumericA
def user32_IsCharAlphaNumericA(jitter)
Definition: win_api_x86_32.py:2206
miasm.loader.elf_init.virt.__setitem__
def __setitem__(self, item, data)
Definition: elf_init.py:764
miasm.os_dep.win_api_x86_32.c_winobjs.handle_pool
handle_pool
Definition: win_api_x86_32.py:171
miasm.os_dep.win_api_x86_32.kernel32_CreateMutexW
def kernel32_CreateMutexW(jitter)
Definition: win_api_x86_32.py:970
miasm.os_dep.win_api_x86_32.systeminfo.dwActiveProcessorMask
int dwActiveProcessorMask
Definition: win_api_x86_32.py:1104
miasm.os_dep.common
Definition: common.py:1
miasm.os_dep.win_api_x86_32.shlwapi_PathIsFileSpecW
def shlwapi_PathIsFileSpecW(jitter)
Definition: win_api_x86_32.py:2145
miasm.loader.minidump.Context_AMD64
Definition: minidump.py:363
win_api_x86_32.TestWinAPI.test_TimeFunctions
def test_TimeFunctions(self)
Definition: win_api_x86_32.py:195
miasm.os_dep.win_api_x86_32.kernel32_lstrlenW
def kernel32_lstrlenW(jitter)
Definition: win_api_x86_32.py:1594
miasm.loader.elf_init.ProgramHeader64
Definition: elf_init.py:595
miasm.os_dep.win_api_x86_32.kernel32_GetModuleHandleW
def kernel32_GetModuleHandleW(jitter)
Definition: win_api_x86_32.py:1090
miasm.os_dep.win_api_x86_32.kernel32_GetSystemDirectoryA
def kernel32_GetSystemDirectoryA(jitter)
Definition: win_api_x86_32.py:1789
miasm.loader.elf_init.StructWrapper.__str__
def __str__(self)
Definition: elf_init.py:61
miasm.os_dep.win_api_x86_32.ntoskrnl_ExAllocatePoolWithTagPriority
def ntoskrnl_ExAllocatePoolWithTagPriority(jitter)
Definition: win_api_x86_32.py:1474
miasm.os_dep.win_api_x86_32.msvcrt_wcscmp
def msvcrt_wcscmp(jitter)
Definition: win_api_x86_32.py:1493
miasm.os_dep.win_api_x86_32.msvcrt__mbscpy
def msvcrt__mbscpy(jitter)
Definition: win_api_x86_32.py:1561
miasm.os_dep.linux.syscall.syscall_arml_exception_handler
def syscall_arml_exception_handler(linux_env, syscall_callbacks, jitter)
Definition: syscall.py:1034
miasm.os_dep.linux.environment.LinuxEnvironment.network
network
Definition: environment.py:455
miasm.os_dep.win_api_x86_32.kernel32_QueryPerformanceCounter
def kernel32_QueryPerformanceCounter(jitter)
Definition: win_api_x86_32.py:3257
miasm.loader.minidump.StreamDirectory.pretty_name
def pretty_name(self)
Definition: minidump.py:125
miasm.os_dep.win_api_x86_32.kernel32_GetFileType
def kernel32_GetFileType(jitter)
Definition: win_api_x86_32.py:3372
miasm.os_dep.win_api_x86_32.kernel32_lstrcatA
def kernel32_lstrcatA(jitter)
Definition: win_api_x86_32.py:1610
miasm.loader.elf_init.ELF.ph
ph
Definition: elf_init.py:833
miasm.os_dep.win_api_x86_32.systeminfo.ProcessorRevision
int ProcessorRevision
Definition: win_api_x86_32.py:1109
miasm.os_dep.linux.environment.FileDescriptorSTDOUT.write
def write(self, data)
Definition: environment.py:113
miasm.os_dep.linux.syscall.sys_generic_close
def sys_generic_close(jitter, linux_env)
Definition: syscall.py:365
miasm.os_dep.linux.environment.AuxVec.AT_GID
int AT_GID
Definition: environment.py:742
miasm.os_dep.linux.environment.FileDescriptorRegularFile.close
def close(self)
Definition: environment.py:161
miasm.os_dep.win_api_x86_32.kernel32_lstrcatW
def kernel32_lstrcatW(jitter)
Definition: win_api_x86_32.py:1614
miasm.os_dep.win_api_x86_32.kernel32_GetCurrentDirectoryA
def kernel32_GetCurrentDirectoryA(jitter)
Definition: win_api_x86_32.py:2283
miasm.loader.pe_init.ContectRva.parent
parent
Definition: pe_init.py:41
miasm.loader.elf.Sym64
Definition: elf.py:68
miasm.os_dep.linux_stdlib.c_linobjs.align_addr
int align_addr
Definition: linux_stdlib.py:21
miasm.os_dep.win_api_x86_32.ntdll_ZwQuerySystemInformation
def ntdll_ZwQuerySystemInformation(jitter)
Definition: win_api_x86_32.py:1877
miasm.loader.minidump.M128A
Definition: minidump.py:355
miasm.os_dep.win_api_x86_32.kernel32_CreateMutex
def kernel32_CreateMutex(jitter, funcname, get_str)
Definition: win_api_x86_32.py:940
miasm.loader.minidump_init.Minidump._content
_content
Definition: minidump_init.py:76
miasm.loader.elf_init.SymTabSHIndeces
Definition: elf_init.py:296
win_api_x86_32.TestWinAPI.test_MemoryManagementFunctions
def test_MemoryManagementFunctions(self)
Definition: win_api_x86_32.py:115
miasm.os_dep.linux.environment.FileDescriptorRegularFile
Definition: environment.py:144
miasm.os_dep.win_api_x86_32.kernel32_GlobalFree
def kernel32_GlobalFree(jitter)
Definition: win_api_x86_32.py:316
miasm.core.types.MemStruct
Definition: types.py:1364
miasm.os_dep.win_api_x86_32.kernel32_SetEndOfFile
def kernel32_SetEndOfFile(jitter)
Definition: win_api_x86_32.py:2860
miasm.os_dep.linux.environment.FileDescriptor
Definition: environment.py:34
miasm.os_dep.linux.syscall.sys_x86_64_set_tid_address
def sys_x86_64_set_tid_address(jitter, linux_env)
Definition: syscall.py:410
miasm.os_dep.win_api_x86_32.c_winobjs.module_path
module_path
Definition: win_api_x86_32.py:150
miasm.loader.pe.NThdr
Definition: pe.py:105
miasm.os_dep.win_api_x86_32.kernel32_EnterCriticalSection
def kernel32_EnterCriticalSection(jitter)
Definition: win_api_x86_32.py:3273
miasm.loader.elf_init.ELF.__bytes__
def __bytes__(self)
Definition: elf_init.py:850
miasm.os_dep.linux.environment.AuxVec.ptrs
ptrs
Definition: environment.py:777
miasm.loader.new_cstruct.CStruct.__repr__
def __repr__(self)
Definition: new_cstruct.py:261
miasm.loader.elf_init.Section.set_infosection
def set_infosection(self, val)
Definition: elf_init.py:242
miasm.os_dep.win_api_x86_32.shlwapi_PathGetDriveNumberA
def shlwapi_PathGetDriveNumberA(jitter)
Definition: win_api_x86_32.py:2133
miasm.loader.new_cstruct.Cstruct_Metaclass.unpack_l
def unpack_l(cls, s, off=0, parent_head=None, _sex=None, _wsize=None)
Definition: new_cstruct.py:92
miasm.os_dep.linux.environment.LinuxEnvironment.__init__
def __init__(self)
Definition: environment.py:430
miasm.os_dep.linux.syscall.sys_x86_64_sysinfo
def sys_x86_64_sysinfo(jitter, linux_env)
Definition: syscall.py:753
miasm.os_dep.win_api_x86_32.wsock32_WSAStartup
def wsock32_WSAStartup(jitter)
Definition: win_api_x86_32.py:2566
miasm.loader.elf.Rel64
Definition: elf.py:84
miasm.os_dep.win_api_x86_32.kernel32_InitializeCriticalSectionEx
def kernel32_InitializeCriticalSectionEx(jitter)
Definition: win_api_x86_32.py:3263
miasm.loader.elf_init.Section.resize
def resize(self, old, new)
Definition: elf_init.py:216
miasm.loader.minidump_init.Minidump
Definition: minidump_init.py:61
miasm.os_dep.linux.environment.FileDescriptorRegularFile.read
def read(self, count)
Definition: environment.py:158
miasm.loader.pe.DirImport
Definition: pe.py:335
miasm.os_dep.linux.environment.Networking.linux_env
linux_env
Definition: environment.py:373
miasm.loader.elf_init.Section_metaclass.__call__
def __call__(cls, parent, sex, size, shstr=None)
Definition: elf_init.py:198
miasm.os_dep.linux.environment.FileDescriptor.inode
inode
Definition: environment.py:55
miasm.os_dep.common.heap.next_addr
def next_addr(self, size)
Definition: common.py:64
miasm.os_dep.win_api_x86_32.ntdll_RtlLargeIntegerShiftRight
def ntdll_RtlLargeIntegerShiftRight(jitter)
Definition: win_api_x86_32.py:1307
miasm.loader.pe.InvalidOffset
Definition: pe.py:23
miasm.os_dep.linux.environment.FileDescriptorDirectory.filesystem
filesystem
Definition: environment.py:132
miasm.loader.pe_init.PE.img_rva
img_rva
Definition: pe_init.py:190
miasm.loader.minidump_init.Minidump.threads
threads
Definition: minidump_init.py:87
miasm.loader.elf_init.ProgramHeader64.resize
def resize(self, sec, diff)
Definition: elf_init.py:609
miasm.os_dep.win_api_x86_32.my_lstrcat
def my_lstrcat(jitter, funcname, get_str, set_str)
Definition: win_api_x86_32.py:1602
miasm.loader.elf_init.WEhdr
Definition: elf_init.py:68
miasm.os_dep.linux.syscall.sys_generic_write
def sys_generic_write(jitter, linux_env)
Definition: syscall.py:527
miasm.os_dep.win_api_x86_32.kernel32_UnmapViewOfFile
def kernel32_UnmapViewOfFile(jitter)
Definition: win_api_x86_32.py:2701
miasm.core.utils.pck64
pck64
Definition: utils.py:26
miasm.os_dep.win_api_x86_32_seh.LoadedModules.name2module
name2module
Definition: win_api_x86_32_seh.py:222
int_lib.h
miasm.loader.elf_init.StructWrapper.wrapped
wrapped
Definition: elf_init.py:49
miasm.loader.pe_init.PE.getsectionbyrva
def getsectionbyrva(self, rva)
Definition: pe_init.py:440
miasm.os_dep.win_api_x86_32.kernel32_GetTempFileNameA
def kernel32_GetTempFileNameA(jitter)
Definition: win_api_x86_32.py:3036
miasm.os_dep.win_api_x86_32.kernel32_GetPriorityClass
def kernel32_GetPriorityClass(jitter)
Definition: win_api_x86_32.py:412
miasm.loader.minidump_init.Minidump.memory64list
memory64list
Definition: minidump_init.py:80
miasm.os_dep.linux.environment.AuxVec.AT_EGID
int AT_EGID
Definition: environment.py:743
miasm.os_dep.win_api_x86_32.kernel32_GetSystemTime
def kernel32_GetSystemTime(jitter)
Definition: win_api_x86_32.py:2634
miasm.os_dep.linux.environment.LinuxEnvironment.mmap_current
int mmap_current
Definition: environment.py:398
miasm.os_dep.common.heap
Definition: common.py:55
miasm.os_dep.win_api_x86_32.shell32_SHGetPathFromIDListA
def shell32_SHGetPathFromIDListA(jitter)
Definition: win_api_x86_32.py:995
miasm.os_dep.win_api_x86_32.kernel32_VirtualProtect
def kernel32_VirtualProtect(jitter)
Definition: win_api_x86_32.py:787
miasm.loader.new_cstruct.Cstruct_Metaclass.__new__
def __new__(cls, name, bases, dct)
Definition: new_cstruct.py:73
miasm.os_dep.linux_stdlib.xxx_strcpy
def xxx_strcpy(jitter)
Definition: linux_stdlib.py:178
miasm.os_dep.win_api_x86_32.c_winobjs.phhash_crypt_md5
phhash_crypt_md5
Definition: win_api_x86_32.py:159
miasm.loader.pe_init.ContectRva.set
def set(self, rva, data)
Definition: pe_init.py:61
miasm.os_dep.win_api_x86_32.kernel32_GetEnvironmentVariableA
def kernel32_GetEnvironmentVariableA(jitter)
Definition: win_api_x86_32.py:1766
miasm.os_dep.win_api_x86_32.kernel32_IsBadReadPtr
def kernel32_IsBadReadPtr(jitter)
Definition: win_api_x86_32.py:1355
miasm.loader.elf_init.StructWrapper.__bytes__
def __bytes__(self)
Definition: elf_init.py:64
miasm.loader.cstruct.CStruct.__repr__
def __repr__(self)
Definition: cstruct.py:121
miasm.os_dep.win_api_x86_32.kernel32_GetSystemDefaultLangID
def kernel32_GetSystemDefaultLangID(jitter)
Definition: win_api_x86_32.py:2919
miasm.os_dep.linux.environment.FileDescriptorRegularFile.seek
def seek(self, offset)
Definition: environment.py:171
miasm.loader.elf_init.StrTable.parse_content
def parse_content(self, sex, size)
Definition: elf_init.py:376
miasm.os_dep.win_api_x86_32.c_winobjs.events_pool
events_pool
Definition: win_api_x86_32.py:188
miasm.os_dep.linux.environment.LinuxEnvironment.base_time
int base_time
Definition: environment.py:420
miasm.os_dep.linux_stdlib.xxx_printf
def xxx_printf(jitter)
Definition: linux_stdlib.py:169
miasm.os_dep.win_api_x86_32.kernel32_Process32First
def kernel32_Process32First(jitter)
Definition: win_api_x86_32.py:341
miasm.os_dep.linux.environment.FileSystem.f_type
int f_type
Definition: environment.py:200
miasm.loader.elf_init.virt.set
def set(self, item, data)
Definition: elf_init.py:738
miasm.os_dep.win_api_x86_32.win32_find_data.fileattrib
int fileattrib
Definition: win_api_x86_32.py:3050
miasm.loader.elf_init.CheckSumSection
Definition: elf_init.py:316
miasm.os_dep.win_api_x86_32.user32_GetForegroundWindow
def user32_GetForegroundWindow(jitter)
Definition: win_api_x86_32.py:457
miasm.loader.cstruct.Cstruct_Metaclass.__new__
def __new__(cls, name, bases, dct)
Definition: cstruct.py:41
miasm.loader.strpatchwork.StrPatchwork.__str__
def __str__(self)
Definition: strpatchwork.py:39
miasm.arch.x86.regs
Definition: regs.py:1
miasm.os_dep.win_api_x86_32.kernel32_SetFilePointer
def kernel32_SetFilePointer(jitter)
Definition: win_api_x86_32.py:2809
miasm.os_dep.linux.environment.FileDescriptor.ctime
int ctime
Definition: environment.py:70
miasm.loader.pe_init.PE.__getitem__
def __getitem__(self, item)
Definition: pe_init.py:433
miasm.os_dep.win_api_x86_32.systeminfo.pack
def pack(self)
Definition: win_api_x86_32.py:1111
miasm.loader.pe_init.PE.DirTls
DirTls
Definition: pe_init.py:218
miasm.os_dep.win_32_structs.UnicodeString
Definition: win_32_structs.py:7
miasm.os_dep.win_api_x86_32.user32_GetSystemMetrics
def user32_GetSystemMetrics(jitter)
Definition: win_api_x86_32.py:2555
miasm.loader.elf_init.ProgramHeader64.parent
parent
Definition: elf_init.py:598
miasm.loader.pe_init.ContentVirtual.get
def get(self, virt_start, virt_stop=None)
Definition: pe_init.py:105
miasm.os_dep.win_api_x86_32.kernel32_GetEnvironmentVariableW
def kernel32_GetEnvironmentVariableW(jitter)
Definition: win_api_x86_32.py:1773
miasm.os_dep.win_api_x86_32.kernel32_GetCommandLineW
def kernel32_GetCommandLineW(jitter)
Definition: win_api_x86_32.py:1149
miasm.os_dep.linux.syscall.sys_generic_open
def sys_generic_open(jitter, linux_env)
Definition: syscall.py:517
miasm.loader.strpatchwork.StrPatchwork.__len__
def __len__(self)
Definition: strpatchwork.py:86
miasm.os_dep.win_api_x86_32.msvcrt_wcsrchr
def msvcrt_wcsrchr(jitter)
Definition: win_api_x86_32.py:2029
miasm.loader.elf_init.RelTable.rel
rel
Definition: elf_init.py:476
miasm.os_dep.win_api_x86_32.kernel32_LoadLibraryA
def kernel32_LoadLibraryA(jitter)
Definition: win_api_x86_32.py:1026
miasm.os_dep.win_api_x86_32.kernel32_GetStartupInfoA
def kernel32_GetStartupInfoA(jitter)
Definition: win_api_x86_32.py:2537
miasm.os_dep.linux.syscall.sys_x86_32_newuname
def sys_x86_32_newuname(jitter, linux_env)
Definition: syscall.py:92
miasm.os_dep.linux.environment.StatInfo
StatInfo
Definition: environment.py:18
miasm.loader.elf_init.SHList.__repr__
def __repr__(self)
Definition: elf_init.py:545
miasm.os_dep.win_api_x86_32.kernel32_GlobalAlloc
def kernel32_GlobalAlloc(jitter)
Definition: win_api_x86_32.py:287
miasm.loader.minidump.Memory64List
Definition: minidump.py:191
miasm.os_dep.win_api_x86_32.c_winobjs.hcurmodule
hcurmodule
Definition: win_api_x86_32.py:151
miasm.os_dep.win_api_x86_32.advapi32_CryptCreateHash
def advapi32_CryptCreateHash(jitter)
Definition: win_api_x86_32.py:501
miasm.loader.elf_init.StrTable
Definition: elf_init.py:373
miasm.os_dep.win_api_x86_32.handle_generator.__contains__
def __contains__(self, e)
Definition: win_api_x86_32.py:123
miasm.os_dep.win_api_x86_32.kernel32_GetStartupInfoW
def kernel32_GetStartupInfoW(jitter)
Definition: win_api_x86_32.py:2541
miasm.os_dep.linux.environment.FileDescriptor.number
number
Definition: environment.py:74
miasm.os_dep.linux.syscall.sys_generic_mmap2
def sys_generic_mmap2(jitter, linux_env)
Definition: syscall.py:343
miasm.os_dep.win_api_x86_32.kernel32_FindFirstFileA
def kernel32_FindFirstFileA(jitter)
Definition: win_api_x86_32.py:3125
miasm.loader.pe_init.PE.is_rva_ok
def is_rva_ok(self, rva)
Definition: pe_init.py:473
full.type
type
Definition: full.py:35
miasm.loader.elf_init.NoteSection.parse_content
def parse_content(self, sex, size)
Definition: elf_init.py:323
miasm.os_dep.win_api_x86_32_seh.fake_seh_handler
def fake_seh_handler(jitter, except_code, previous_seh=None)
Definition: win_api_x86_32_seh.py:555
miasm.analysis.machine.Machine
Definition: machine.py:4
miasm.loader.elf_init.ProgBits
Definition: elf_init.py:268
miasm.os_dep.linux.syscall.sys_x86_64_set_robust_list
def sys_x86_64_set_robust_list(jitter, linux_env)
Definition: syscall.py:419
miasm.os_dep.linux.environment.FileDescriptor.uid
uid
Definition: environment.py:59
miasm.os_dep.win_api_x86_32.handle_generator.add
def add(self, name, info=None)
Definition: win_api_x86_32.py:105
miasm.os_dep.linux.environment.LinuxEnvironment.ioctl
def ioctl(self, fd, cmd, arg)
Definition: environment.py:539
miasm.os_dep.linux.environment.FileSystem.nb_free_block
int nb_free_block
Definition: environment.py:202
miasm.os_dep.win_api_x86_32.ntdll_RtlInitString
def ntdll_RtlInitString(jitter)
Definition: win_api_x86_32.py:1944
miasm.os_dep.linux.environment.AuxVec.AT_SECURE
int AT_SECURE
Definition: environment.py:746
miasm.loader.elf_init.StrTable.add_name
def add_name(self, name)
Definition: elf_init.py:397
miasm.os_dep.win_api_x86_32.shlwapi_PathIsDirectoryW
def shlwapi_PathIsDirectoryW(jitter)
Definition: win_api_x86_32.py:2096
miasm.os_dep.win_api_x86_32.kernel32_CloseHandle
def kernel32_CloseHandle(jitter)
Definition: win_api_x86_32.py:422
miasm.loader.minidump.MemoryDescriptor64
Definition: minidump.py:182
miasm.os_dep.linux.syscall.sys_x86_64_clock_gettime
def sys_x86_64_clock_gettime(jitter, linux_env)
Definition: syscall.py:688
miasm.loader.pe_init.PE.Doshdr
Doshdr
Definition: pe_init.py:195
miasm.loader.elf_init.StrTable.res
res
Definition: elf_init.py:378
miasm.os_dep.win_api_x86_32.kernel32_GetCurrentProcess
def kernel32_GetCurrentProcess(jitter)
Definition: win_api_x86_32.py:331
miasm.loader.minidump_init.Minidump.memoryinfolist
memoryinfolist
Definition: minidump_init.py:82
miasm.os_dep.win_api_x86_32_seh.LoadedModules.add
def add(self, name, module, module_entry)
Definition: win_api_x86_32_seh.py:226
miasm.core.types.Self
Definition: types.py:1155
miasm.os_dep.linux.environment.FileSystem.device_id
int device_id
Definition: environment.py:198
miasm.os_dep.win_api_x86_32.msvcrt_rewind
def msvcrt_rewind(jitter)
Definition: win_api_x86_32.py:2957
miasm.os_dep.linux_stdlib.c_linobjs.base_addr
int base_addr
Definition: linux_stdlib.py:20
miasm.os_dep.win_api_x86_32.kernel32_CreateFile
def kernel32_CreateFile(jitter, funcname, get_str)
Definition: win_api_x86_32.py:603
miasm.loader.new_cstruct.fix_size
def fix_size(fields, wsize)
Definition: new_cstruct.py:42
miasm.os_dep.win_api_x86_32.kernel32_LoadLibraryEx
def kernel32_LoadLibraryEx(jitter, get_str)
Definition: win_api_x86_32.py:1034
miasm.os_dep.win_api_x86_32.advapi32_RegCreateKeyW
def advapi32_RegCreateKeyW(jitter)
Definition: win_api_x86_32.py:2263
miasm.loader.elf_init.Section.parse_content
def parse_content(self, sex, size)
Definition: elf_init.py:222
miasm.os_dep.linux.environment.AuxVec
Definition: environment.py:713
miasm.os_dep.win_api_x86_32.kernel32_lstrcpyW
def kernel32_lstrcpyW(jitter)
Definition: win_api_x86_32.py:1550
miasm.os_dep.win_api_x86_32.shlwapi_PathRemoveFileSpecW
def shlwapi_PathRemoveFileSpecW(jitter)
Definition: win_api_x86_32.py:2073
miasm.os_dep.win_api_x86_32.user32_SetWindowLongA
def user32_SetWindowLongA(jitter)
Definition: win_api_x86_32.py:894
miasm.os_dep.win_api_x86_32.kernel32_GetTickCount
def kernel32_GetTickCount(jitter)
Definition: win_api_x86_32.py:368
miasm.loader.elf_init.SHList.parent
parent
Definition: elf_init.py:498
miasm.os_dep.win_api_x86_32.FLS.__init__
def __init__(self)
Definition: win_api_x86_32.py:3294
miasm.os_dep.win_api_x86_32.kernel32_IsValidCodePage
def kernel32_IsValidCodePage(jitter)
Definition: win_api_x86_32.py:3471
miasm.os_dep.win_api_x86_32.systeminfo.oemId
int oemId
Definition: win_api_x86_32.py:1100
miasm.os_dep.win_api_x86_32.kernel32_TlsAlloc
def kernel32_TlsAlloc(jitter)
Definition: win_api_x86_32.py:2417
miasm.loader.elf_init.PHList
Definition: elf_init.py:615
miasm.os_dep.linux.syscall.sys_arml_lstat64
def sys_arml_lstat64(jitter, linux_env)
Definition: syscall.py:617
miasm.loader.pe.NTsig
Definition: pe.py:49
miasm.os_dep.win_api_x86_32.startupinfo.dwYSize
int dwYSize
Definition: win_api_x86_32.py:2486
miasm.loader.elf_init.PHList.phlist
phlist
Definition: elf_init.py:619
miasm.loader.elf_init.WRela32
Definition: elf_init.py:117
miasm.os_dep.win_api_x86_32.kernel32_GetLocaleInfoA
def kernel32_GetLocaleInfoA(jitter)
Definition: win_api_x86_32.py:2409
miasm.os_dep.linux.syscall.sys_arml_gettimeofday
def sys_arml_gettimeofday(jitter, linux_env)
Definition: syscall.py:886
miasm.loader.cstruct.CStructStruct._shift
_shift
Definition: cstruct.py:140
miasm.os_dep.linux.environment.LinuxEnvironment.lstat
def lstat(self, path)
Definition: environment.py:484
miasm.os_dep.linux.environment.LinuxEnvironment.socket
def socket(self, family, type_, protocol)
Definition: environment.py:469
miasm.os_dep.win_api_x86_32.c_winobjs.dw_pid_explorer
dw_pid_explorer
Definition: win_api_x86_32.py:145
miasm.os_dep.win_api_x86_32.c_winobjs.dw_pid_dummy2
dw_pid_dummy2
Definition: win_api_x86_32.py:146
miasm.os_dep.linux_stdlib.xxx_puts
def xxx_puts(jitter)
Definition: linux_stdlib.py:127
miasm.loader.elf_init.WSym64
Definition: elf_init.py:82
miasm.os_dep.win_api_x86_32.startupinfo
Definition: win_api_x86_32.py:2453
miasm.os_dep.win_api_x86_32.msvcrt_wcsncpy
def msvcrt_wcsncpy(jitter)
Definition: win_api_x86_32.py:1514
miasm.os_dep.linux.environment.FileDescriptorRegularFile.filesystem
filesystem
Definition: environment.py:152
miasm.os_dep.win_api_x86_32.c_winobjs.windowlong_dw
windowlong_dw
Definition: win_api_x86_32.py:164
miasm.loader.elf_init.ShLibSection
Definition: elf_init.py:280
miasm.os_dep.win_api_x86_32.find_data_mngr.findnext
def findnext(self, h)
Definition: win_api_x86_32.py:3105
miasm.os_dep.win_api_x86_32.user32_GetMessagePos
def user32_GetMessagePos(jitter)
Definition: win_api_x86_32.py:1340
miasm.loader.elf_init.Dynamic.parse_content
def parse_content(self, sex, size)
Definition: elf_init.py:341
miasm.os_dep.common.heap.alloc
def alloc(self, jitter, size, perm=PAGE_READ|PAGE_WRITE, cmt="")
Definition: common.py:74
miasm.os_dep.linux.environment.FileDescriptor.gid
gid
Definition: environment.py:60
miasm.os_dep.win_api_x86_32.advapi32_RegCloseKey
def advapi32_RegCloseKey(jitter)
Definition: win_api_x86_32.py:2343
miasm.loader.elf_init.ProgramHeader.shlist
shlist
Definition: elf_init.py:580
miasm.loader.pe_init.PE._virt
_virt
Definition: pe_init.py:189
miasm.os_dep.linux.environment.FileDescriptorRegularFile.write
def write(self, data)
Definition: environment.py:155
miasm.os_dep.win_api_x86_32.startupinfo.cbReserved2
int cbReserved2
Definition: win_api_x86_32.py:2492
miasm.os_dep.win_api_x86_32.kernel32_LoadLibrary
def kernel32_LoadLibrary(jitter, get_str)
Definition: win_api_x86_32.py:1017
miasm.os_dep.linux.environment.AuxVec.__init__
def __init__(self, elf_phdr_vaddr, entry_point, linux_env, **kwargs)
Definition: environment.py:750
miasm.os_dep.win_api_x86_32.systeminfo.lpMaximumApplicationAddress
int lpMaximumApplicationAddress
Definition: win_api_x86_32.py:1103
miasm.os_dep.win_api_x86_32.advapi32_CryptDecrypt
def advapi32_CryptDecrypt(jitter)
Definition: win_api_x86_32.py:595
miasm.os_dep.win_api_x86_32.msvcrt_atexit
def msvcrt_atexit(jitter)
Definition: win_api_x86_32.py:3000
miasm.os_dep.win_api_x86_32.kernel32_SetPriorityClass
def kernel32_SetPriorityClass(jitter)
Definition: win_api_x86_32.py:417
miasm.loader.pe_init.PE.export_funcs
def export_funcs(self)
Definition: pe_init.py:599
miasm.loader.elf_init.ELF.size
size
Definition: elf_init.py:829
miasm.loader.pe_init.PE
Definition: pe_init.py:184
miasm.os_dep.win_api_x86_32.win32_find_data.toStruct
def toStruct(self, encode_str=encode_win_str_w)
Definition: win_api_x86_32.py:3065
miasm.os_dep.linux.environment.AuxVec.AT_EUID
int AT_EUID
Definition: environment.py:741
miasm.os_dep.win_api_x86_32.kernel32_IsDebuggerPresent
def kernel32_IsDebuggerPresent(jitter)
Definition: win_api_x86_32.py:321
miasm.loader.elf_init.ProgramHeader.ph
ph
Definition: elf_init.py:579
miasm.os_dep.win_api_x86_32.whandle.name
name
Definition: win_api_x86_32.py:92
miasm.loader.elf_init.WSym64.get_name
def get_name(self)
Definition: elf_init.py:85
miasm.os_dep.common.heap.vm_alloc
def vm_alloc(self, vm, size, perm=PAGE_READ|PAGE_WRITE, cmt="")
Definition: common.py:82
miasm.os_dep.win_api_x86_32.c_winobjs.cryptcontext_hwnd
cryptcontext_hwnd
Definition: win_api_x86_32.py:155
miasm.os_dep.linux.syscall.sys_x86_64_newlstat
def sys_x86_64_newlstat(jitter, linux_env)
Definition: syscall.py:599
miasm.os_dep.win_api_x86_32.ntdll_RtlComputeCrc32
def ntdll_RtlComputeCrc32(jitter)
Definition: win_api_x86_32.py:1284
miasm.loader.cstruct.CStruct.__len__
def __len__(self)
Definition: cstruct.py:110
miasm.loader.new_cstruct.CStruct.__str__
def __str__(self)
Definition: new_cstruct.py:253
miasm.os_dep.win_api_x86_32.int2base
def int2base(x, base)
Definition: win_api_x86_32.py:3191
miasm.os_dep.win_api_x86_32.ntdll_ZwProtectVirtualMemory
def ntdll_ZwProtectVirtualMemory(jitter)
Definition: win_api_x86_32.py:1894
miasm.os_dep.win_api_x86_32.raw2guid
def raw2guid(r)
Definition: win_api_x86_32.py:3183
miasm.os_dep.win_api_x86_32.startupinfo.hStdError
int hStdError
Definition: win_api_x86_32.py:2496
miasm.os_dep.linux.environment.FileDescriptorSocket.type_
type_
Definition: environment.py:183
miasm.loader.minidump.StreamDirectory
Definition: minidump.py:116
miasm.loader.minidump.Module
Definition: minidump.py:156
miasm.os_dep.win_api_x86_32.kernel32_lstrlenA
def kernel32_lstrlenA(jitter)
Definition: win_api_x86_32.py:1590
miasm.loader.elf.Rela32
Definition: elf.py:88
miasm.os_dep.win_api_x86_32.startupinfo.hStdInput
int hStdInput
Definition: win_api_x86_32.py:2494
miasm.loader.elf_init.ELF.parse_content
def parse_content(self)
Definition: elf_init.py:827
miasm.os_dep.win_api_x86_32.kernel32_GetDriveType
def kernel32_GetDriveType(jitter, funcname, get_str)
Definition: win_api_x86_32.py:2717
miasm.os_dep.linux_stdlib.get_fmt_args
def get_fmt_args(jitter, fmt, cur_arg)
Definition: linux_stdlib.py:145
miasm.os_dep.linux.environment.FileDescriptor.atimensec
int atimensec
Definition: environment.py:67
miasm.os_dep.win_api_x86_32.kernel32_HeapFree
def kernel32_HeapFree(jitter)
Definition: win_api_x86_32.py:282
miasm.os_dep.win_32_structs
Definition: win_32_structs.py:1
miasm.loader.pe_init.PE.__bytes__
def __bytes__(self)
Definition: pe_init.py:591
miasm.os_dep.win_api_x86_32.kernel32_CreateFileW
def kernel32_CreateFileW(jitter)
Definition: win_api_x86_32.py:714
miasm.os_dep.win_api_x86_32.kernel32_GetFileSizeEx
def kernel32_GetFileSizeEx(jitter)
Definition: win_api_x86_32.py:764
miasm.os_dep.win_api_x86_32.kernel32_FlushInstructionCache
def kernel32_FlushInstructionCache(jitter)
Definition: win_api_x86_32.py:782
miasm.os_dep.linux_stdlib.xxx_sprintf
def xxx_sprintf(jitter)
Definition: linux_stdlib.py:160
miasm.os_dep.win_api_x86_32.startupinfo.lpReserved
int lpReserved
Definition: win_api_x86_32.py:2480
miasm.os_dep.win_api_x86_32.kernel32_GetStdHandle
def kernel32_GetStdHandle(jitter)
Definition: win_api_x86_32.py:3345
miasm.loader.elf_init.StructWrapper.__init__
def __init__(self, parent, sex, size, *args, **kargs)
Definition: elf_init.py:51
miasm.os_dep.linux.syscall.sys_generic_geteuid
def sys_generic_geteuid(jitter, linux_env)
Definition: syscall.py:779
miasm.os_dep.win_api_x86_32.kernel32_LocalFree
def kernel32_LocalFree(jitter)
Definition: win_api_x86_32.py:293
miasm.os_dep.win_api_x86_32.kernel32_SetCurrentDirectoryA
def kernel32_SetCurrentDirectoryA(jitter)
Definition: win_api_x86_32.py:2379
miasm.os_dep.linux.environment.LinuxEnvironment.close
def close(self, fd)
Definition: environment.py:488
miasm.loader.pe_init.PE.is_in_virt_address
def is_in_virt_address(self, addr)
Definition: pe_init.py:520
miasm.os_dep.win_api_x86_32.mdl.ad
ad
Definition: win_api_x86_32.py:264
miasm.os_dep.linux.environment.FileSystem.statfs
def statfs(self)
Definition: environment.py:309
miasm.loader.pe_init.PE.off2virt
def off2virt(self, off)
Definition: pe_init.py:517
miasm.os_dep.win_api_x86_32.kernel32_VirtualLock
def kernel32_VirtualLock(jitter)
Definition: win_api_x86_32.py:1094
miasm.os_dep.linux.environment.LinuxEnvironment.clock_gettime
def clock_gettime(self)
Definition: environment.py:460
miasm.loader.pe_init.PE.resize
def resize(self, old, new)
Definition: pe_init.py:430
miasm.loader.elf.Ehdr
Definition: elf.py:5
miasm.loader.elf_init.ELF.build_content
def build_content(self)
Definition: elf_init.py:841
miasm.os_dep.linux.environment.AuxVec.AT_PHNUM
int AT_PHNUM
Definition: environment.py:737
miasm.loader.elf_init.FiniArray
Definition: elf_init.py:288
miasm.loader.elf_init.RelATable
Definition: elf_init.py:489
miasm.loader.minidump.FloatingSaveArea
Definition: minidump.py:272
miasm.os_dep.win_api_x86_32.find_data_mngr.patterns
patterns
Definition: win_api_x86_32.py:3087
miasm.os_dep.win_api_x86_32.systeminfo.wProcessorLevel
int wProcessorLevel
Definition: win_api_x86_32.py:1108
miasm.loader.elf_init.ELF.__init__
def __init__(self, elfstr)
Definition: elf_init.py:815
miasm.os_dep.win_api_x86_32.msvcrt_fopen
def msvcrt_fopen(jitter)
Definition: win_api_x86_32.py:3246
miasm.loader.elf_init.GNUVerSym
Definition: elf_init.py:300
miasm.loader.elf_init.Dynamic.__getitem__
def __getitem__(self, item)
Definition: elf_init.py:365
miasm.os_dep.win_api_x86_32.msvcrt_sprintf
def msvcrt_sprintf(jitter)
Definition: win_api_x86_32.py:2223
miasm.os_dep.win_api_x86_32.ntdll_RtlLargeIntegerAdd
def ntdll_RtlLargeIntegerAdd(jitter)
Definition: win_api_x86_32.py:1300
miasm.os_dep.linux.environment.FileDescriptorRegularFile.tell
def tell(self)
Definition: environment.py:168
miasm.loader.minidump_init.Minidump.memorylist
memorylist
Definition: minidump_init.py:81
miasm.loader.elf_init.ProgramHeader.parent
parent
Definition: elf_init.py:578
miasm.loader.elf_init.Dynamic
Definition: elf_init.py:338
miasm.os_dep.linux.environment.LinuxEnvironment.read
def read(self, fd, count)
Definition: environment.py:503
miasm.loader.pe_init.PE.rva2off
def rva2off(self, rva)
Definition: pe_init.py:476
miasm.os_dep.win_api_x86_32.startupinfo.dwFillAttribute
int dwFillAttribute
Definition: win_api_x86_32.py:2489
miasm.os_dep.win_api_x86_32_seh.LoadedModules.module2name
module2name
Definition: win_api_x86_32_seh.py:224
miasm.os_dep.linux.syscall.sys_x86_64_lseek
def sys_x86_64_lseek(jitter, linux_env)
Definition: syscall.py:700
miasm.core.types.Void
Definition: types.py:1133
miasm.loader.minidump.Thread.parse_context
def parse_context(self, content, offset)
Definition: minidump.py:486
miasm.loader.elf_init.Section.get_infosection
def get_infosection(self)
Definition: elf_init.py:236
miasm.os_dep.win_api_x86_32.win32_find_data.cfilename
string cfilename
Definition: win_api_x86_32.py:3058
miasm.os_dep.linux.environment.FileDescriptorSocket.protocol
protocol
Definition: environment.py:184
miasm.os_dep.win_api_x86_32_seh.fix_InMemoryOrderModuleList
def fix_InMemoryOrderModuleList(jitter, modules_info)
Definition: win_api_x86_32_seh.py:354
callback
Definition: callback.py:1
miasm.loader.pe_init.PE.DirReloc
DirReloc
Definition: pe_init.py:216
miasm.loader.elf_init.ELF.content
content
Definition: elf_init.py:825
miasm.loader.elf_init.ELF.sh
sh
Definition: elf_init.py:832
miasm.os_dep.win_api_x86_32.systeminfo.dwAllocationgranularity
int dwAllocationgranularity
Definition: win_api_x86_32.py:1107
miasm.loader.elf_init.PHList.resize
def resize(self, sec, diff)
Definition: elf_init.py:653
miasm.os_dep.win_api_x86_32.kernel32_GetStartupInfo
def kernel32_GetStartupInfo(jitter, funcname, set_str)
Definition: win_api_x86_32.py:2520
miasm.os_dep.win_api_x86_32.kernel32_RestoreLastError
def kernel32_RestoreLastError(jitter)
Definition: win_api_x86_32.py:1013
miasm.loader.pe_init.PE.parse_content
def parse_content(self, parse_resources=True, parse_delay=True, parse_reloc=True)
Definition: pe_init.py:288
miasm.loader.strpatchwork.StrPatchwork.__init__
def __init__(self, s=b"", paddingbyte=b"\x00")
Definition: strpatchwork.py:27
miasm.os_dep.win_api_x86_32.c_winobjs.heap
heap
Definition: win_api_x86_32.py:138
miasm.os_dep.linux.syscall.sys_arml_ioctl
def sys_arml_ioctl(jitter, linux_env)
Definition: syscall.py:498
miasm.os_dep.win_api_x86_32.FLS
Definition: win_api_x86_32.py:3293
miasm.os_dep.win_32_structs.ContextException
Definition: win_32_structs.py:201
miasm.os_dep.win_api_x86_32.advapi32_RegSetValue
def advapi32_RegSetValue(jitter, funcname, get_str)
Definition: win_api_x86_32.py:2323
miasm.os_dep.linux.environment.FileDescriptorCharDevice
Definition: environment.py:94
miasm.os_dep.linux.environment.FileDescriptor.close
def close(self)
Definition: environment.py:90
miasm.loader.minidump.Enumeration._inv_info
_inv_info
Definition: minidump.py:15
miasm.loader.pe_init.PE.DirDelay
DirDelay
Definition: pe_init.py:215
miasm.os_dep.win_api_x86_32.kernel32_CreateMutexA
def kernel32_CreateMutexA(jitter)
Definition: win_api_x86_32.py:966
miasm.os_dep.win_api_x86_32.kernel32_GetModuleFileNameW
def kernel32_GetModuleFileNameW(jitter)
Definition: win_api_x86_32.py:936
miasm.loader.elf_init.SymTable.parse_content
def parse_content(self, sex, size)
Definition: elf_init.py:421
miasm.loader.strpatchwork.array_frombytes
def array_frombytes(arr, value)
Definition: strpatchwork.py:9
miasm.os_dep.linux.syscall.sys_x86_64_munmap
def sys_x86_64_munmap(jitter, linux_env)
Definition: syscall.py:717
miasm.os_dep.win_api_x86_32_seh.LoadedModules.module2entry
module2entry
Definition: win_api_x86_32_seh.py:223
miasm.os_dep.win_api_x86_32.kernel32_MultiByteToWideChar
def kernel32_MultiByteToWideChar(jitter)
Definition: win_api_x86_32.py:1672
miasm.os_dep.win_api_x86_32.kernel32_GetVolumeInformationA
def kernel32_GetVolumeInformationA(jitter)
Definition: win_api_x86_32.py:1663
miasm.loader.elf_init.WShdr.get_name
def get_name(self)
Definition: elf_init.py:144
miasm.os_dep.linux.environment.FileSystem.nb_total_block
int nb_total_block
Definition: environment.py:201
miasm.os_dep.win_api_x86_32.c_winobjs.module_cur_hwnd
module_cur_hwnd
Definition: win_api_x86_32.py:165
miasm.loader.elf_init.WRela64.get_type
def get_type(self)
Definition: elf_init.py:137
miasm.loader.elf_init.WSym32
Definition: elf_init.py:75
miasm.loader.pe_init.PE.get_drva
def get_drva(self)
Definition: pe_init.py:529
miasm.loader.pe_init.PE.Coffhdr
Coffhdr
Definition: pe_init.py:197
miasm.os_dep.linux.syscall.sys_arml_fstat64
def sys_arml_fstat64(jitter, linux_env)
Definition: syscall.py:320
miasm.core.utils.pck16
pck16
Definition: utils.py:24
miasm.os_dep.win_api_x86_32.my_GetSystemDirectory
def my_GetSystemDirectory(jitter, funcname, set_str)
Definition: win_api_x86_32.py:1780
miasm.os_dep.linux.environment.LinuxEnvironment.ioctl_allowed
ioctl_allowed
Definition: environment.py:416
miasm.loader.elf_init.virt.__init__
def __init__(self, x)
Definition: elf_init.py:665
miasm.os_dep.linux_stdlib.xxx_strncmp
def xxx_strncmp(jitter)
Definition: linux_stdlib.py:209
miasm.loader.pe_init.ContectRva.__getitem__
def __getitem__(self, item)
Definition: pe_init.py:77
miasm.os_dep.linux.syscall.sys_generic_mprotect
def sys_generic_mprotect(jitter, linux_env)
Definition: syscall.py:355
miasm.os_dep.linux.syscall.sys_generic_read
def sys_generic_read(jitter, linux_env)
Definition: syscall.py:297
miasm.os_dep.linux_stdlib.xxx_memcpy
def xxx_memcpy(jitter)
Definition: linux_stdlib.py:102
miasm.os_dep.linux.syscall.sys_generic_mmap
def sys_generic_mmap(jitter, linux_env)
Definition: syscall.py:332
miasm.os_dep.linux.environment.FileDescriptor.__init__
def __init__(self, number)
Definition: environment.py:73
miasm.os_dep.win_api_x86_32.FLS.kernel32_FlsGetValue
def kernel32_FlsGetValue(self, jitter)
Definition: win_api_x86_32.py:3319
miasm.loader.elf_init.PHList.__init__
def __init__(self, parent, sex, size)
Definition: elf_init.py:617
miasm.os_dep.win_api_x86_32_seh.create_modules_chain
def create_modules_chain(jitter, name2module)
Definition: win_api_x86_32_seh.py:242
miasm.os_dep.win_api_x86_32.my_GetEnvironmentVariable
def my_GetEnvironmentVariable(jitter, funcname, get_str, set_str, mylen)
Definition: win_api_x86_32.py:1751
miasm.os_dep.win_api_x86_32.user32_IsCharAlphaA
def user32_IsCharAlphaA(jitter)
Definition: win_api_x86_32.py:2198
miasm.loader.cstruct.CStruct._packstring
_packstring
Definition: cstruct.py:67
miasm.os_dep.win_api_x86_32.ntoskrnl_MmProbeAndLockPages
def ntoskrnl_MmProbeAndLockPages(jitter)
Definition: win_api_x86_32.py:1417
miasm.os_dep.linux.environment.FileSystem.mount_flags
int mount_flags
Definition: environment.py:208
miasm.os_dep.linux.environment.AuxVec.AT_RANDOM
int AT_RANDOM
Definition: environment.py:747
win_api_x86_32.TestWinAPI.test_msvcrt_sprintf
def test_msvcrt_sprintf(self)
Definition: win_api_x86_32.py:32
miasm.core.utils.whoami
def whoami()
Definition: utils.py:69
miasm.os_dep.win_api_x86_32.c_winobjs.handle_curprocess
handle_curprocess
Definition: win_api_x86_32.py:141
miasm.loader.cstruct.CStruct.__str__
def __str__(self)
Definition: cstruct.py:113
miasm.os_dep.win_api_x86_32.c_winobjs.tickcount
tickcount
Definition: win_api_x86_32.py:143
miasm.loader.strpatchwork.StrPatchwork.__setitem__
def __setitem__(self, item, val)
Definition: strpatchwork.py:67
miasm.loader.cstruct.CStruct._pack
def _pack(self)
Definition: cstruct.py:88
miasm.os_dep.win_api_x86_32.user32_IsCharUpperA
def user32_IsCharUpperA(jitter)
Definition: win_api_x86_32.py:2907
miasm.loader.pe_init.ContentManager.__set__
def __set__(self, owner, new_content)
Definition: pe_init.py:30
miasm.os_dep.linux_stdlib.c_linobjs.alloc_ad
alloc_ad
Definition: linux_stdlib.py:23
miasm.os_dep.win_api_x86_32.c_winobjs.toolhelpsnapshot_info
toolhelpsnapshot_info
Definition: win_api_x86_32.py:140
miasm.loader.strpatchwork.StrPatchwork.s
s
Definition: strpatchwork.py:31
miasm.os_dep.linux.environment.FileDescriptor.blocks
int blocks
Definition: environment.py:64
miasm.os_dep.win_api_x86_32.kernel32_CreateFileMapping
def kernel32_CreateFileMapping(jitter, funcname, get_str)
Definition: win_api_x86_32.py:2641
miasm.core.utils.get_caller_name
def get_caller_name(caller_num=0)
Definition: utils.py:59
miasm.os_dep.win_api_x86_32.kernel32_LeaveCriticalSection
def kernel32_LeaveCriticalSection(jitter)
Definition: win_api_x86_32.py:3283
miasm.loader.cstruct.CStructStruct.__getattr__
def __getattr__(self, attr)
Definition: cstruct.py:142
miasm.os_dep.win_api_x86_32_seh.ctxt2regs
def ctxt2regs(jitter, ctxt_ptr)
Definition: win_api_x86_32_seh.py:518
miasm.os_dep.win_api_x86_32.ntdll_RtlHashUnicodeString
def ntdll_RtlHashUnicodeString(jitter)
Definition: win_api_x86_32.py:1217
miasm.os_dep.win_api_x86_32.kernel32_MapViewOfFile
def kernel32_MapViewOfFile(jitter)
Definition: win_api_x86_32.py:2669
miasm.os_dep.win_api_x86_32.kernel32_IsWow64Process
def kernel32_IsWow64Process(jitter)
Definition: win_api_x86_32.py:1132
miasm.loader.pe_init.ContentVirtual.__init__
def __init__(self, parent)
Definition: pe_init.py:93
miasm.core.types.Ptr
Definition: types.py:407
miasm.os_dep.win_api_x86_32.get_current_filetime
def get_current_filetime()
Definition: win_api_x86_32.py:2572
miasm.os_dep.win_api_x86_32_seh
Definition: win_api_x86_32_seh.py:1
miasm.loader.pe_init.ContentVirtual.rfind
def rfind(self, pattern, start=0, end=None)
Definition: pe_init.py:144
miasm.loader.pe_init.ContentVirtual.find
def find(self, pattern, start=0, end=None)
Definition: pe_init.py:133
miasm.os_dep.win_api_x86_32.c_winobjs.tls_index
tls_index
Definition: win_api_x86_32.py:169
miasm.os_dep.win_api_x86_32_seh.LoadedModules.__repr__
def __repr__(self)
Definition: win_api_x86_32_seh.py:238
miasm.loader.new_cstruct.CStruct.pack
def pack(self)
Definition: new_cstruct.py:201
miasm.os_dep.win_api_x86_32.advapi32_RegSetValueA
def advapi32_RegSetValueA(jitter)
Definition: win_api_x86_32.py:2357
miasm.os_dep.linux.environment.LinuxEnvironment.user_gid
int user_gid
Definition: environment.py:392
miasm.loader.new_cstruct.CStruct._wsize
_wsize
Definition: new_cstruct.py:190
miasm.os_dep.win_api_x86_32.kernel32_EncodePointer
def kernel32_EncodePointer(jitter)
Definition: win_api_x86_32.py:426
miasm.loader.elf_init.Dynamic.dynamic
dynamic
Definition: elf_init.py:345
miasm.core.utils.cmp_elts
def cmp_elts(elt1, elt2)
Definition: utils.py:123
miasm.os_dep.win_api_x86_32.kernel32_GetDiskFreeSpaceW
def kernel32_GetDiskFreeSpaceW(jitter)
Definition: win_api_x86_32.py:2757
miasm.jitter.csts
Definition: csts.py:1
miasm.os_dep.win_api_x86_32.mdl.__str__
def __str__(self)
Definition: win_api_x86_32.py:270
miasm.os_dep.win_api_x86_32.handle_generator.__delitem__
def __delitem__(self, item)
Definition: win_api_x86_32.py:129
miasm.core.types.Str
Definition: types.py:1023
miasm.loader.cstruct.CStruct
Definition: cstruct.py:49
miasm.os_dep.win_32_structs.NT_TIB
Definition: win_32_structs.py:150
miasm.os_dep.linux.syscall.sys_x86_64_readlink
def sys_x86_64_readlink(jitter, linux_env)
Definition: syscall.py:727
miasm.loader.pe_init.ContentVirtual
Definition: pe_init.py:91
miasm.loader.cstruct.CStruct.__init__
def __init__(self, sex, wsize, *args, **kargs)
Definition: cstruct.py:58
miasm.loader.new_cstruct.CStruct._size
_size
Definition: new_cstruct.py:177
miasm.os_dep.linux.environment.FileSystem.open_
def open_(self, path, flags, follow_link=True)
Definition: environment.py:329
miasm.loader.pe_init.ContentVirtual.max_addr
def max_addr(self)
Definition: pe_init.py:128
miasm.os_dep.win_api_x86_32_seh.set_win_fs_0
def set_win_fs_0(jitter, fs=4)
Definition: win_api_x86_32_seh.py:645
miasm.loader.elf_init.SHList.do_add_section
def do_add_section(self, section)
Definition: elf_init.py:531
miasm.os_dep.win_api_x86_32.find_data_mngr.__init__
def __init__(self)
Definition: win_api_x86_32.py:3086
miasm.loader.strpatchwork.StrPatchwork.paddingbyte
paddingbyte
Definition: strpatchwork.py:34
miasm.os_dep.linux.syscall.sys_arml_stat64
def sys_arml_stat64(jitter, linux_env)
Definition: syscall.py:232
miasm.os_dep.win_api_x86_32.c_winobjs.cryptdll_md5_h
cryptdll_md5_h
Definition: win_api_x86_32.py:183
miasm.os_dep.win_api_x86_32.my_FindNextFile
def my_FindNextFile(jitter, encode_str)
Definition: win_api_x86_32.py:3161
miasm.loader.minidump.MinidumpHDR
Definition: minidump.py:68
miasm.loader.elf_init.ELF.getsectionbyvad
def getsectionbyvad(self, ad)
Definition: elf_init.py:863
miasm.os_dep.win_api_x86_32.kernel32_VirtualQuery
def kernel32_VirtualQuery(jitter)
Definition: win_api_x86_32.py:2761
miasm.os_dep.win_api_x86_32.c_winobjs.env_variables
env_variables
Definition: win_api_x86_32.py:187
miasm.os_dep.win_api_x86_32.kernel32_GetSystemTimeAsFileTime
def kernel32_GetSystemTimeAsFileTime(jitter)
Definition: win_api_x86_32.py:2615
miasm.loader.new_cstruct.CStruct._sex
_sex
Definition: new_cstruct.py:189
miasm.os_dep.win_api_x86_32.FLS.slots
slots
Definition: win_api_x86_32.py:3295
miasm.loader.pe_init.ContentVirtual.is_addr_in
def is_addr_in(self, addr)
Definition: pe_init.py:155
miasm.os_dep.win_api_x86_32.kernel32_GetProcessHeap
def kernel32_GetProcessHeap(jitter)
Definition: win_api_x86_32.py:3331
miasm.loader.new_cstruct.CStruct.sex
sex
Definition: new_cstruct.py:192
miasm.loader.elf_init.Section.size
size
Definition: elf_init.py:223
miasm.os_dep.linux.syscall.sys_generic_fcntl64
def sys_generic_fcntl64(jitter, linux_env)
Definition: syscall.py:847
miasm.os_dep.linux.syscall.sys_generic_getuid
def sys_generic_getuid(jitter, linux_env)
Definition: syscall.py:795
miasm.os_dep.win_api_x86_32.c_winobjs.nt_mdl_ad
nt_mdl_ad
Definition: win_api_x86_32.py:180
miasm.loader.pe_init.PE.DirRes
DirRes
Definition: pe_init.py:217
miasm.os_dep.win_api_x86_32.ntdll_LdrLoadDll
def ntdll_LdrLoadDll(jitter)
Definition: win_api_x86_32.py:1972
miasm.loader.elf_init.RelTable
Definition: elf_init.py:463
miasm.os_dep.linux.environment.LinuxEnvironment.file_descriptors
file_descriptors
Definition: environment.py:409
miasm.loader.elf_init.ELF.sex
sex
Definition: elf_init.py:830
miasm.os_dep.win_api_x86_32.ntdll_RtlEnlargedUnsignedMultiply
def ntdll_RtlEnlargedUnsignedMultiply(jitter)
Definition: win_api_x86_32.py:1313
miasm.loader.elf_init.Section
Definition: elf_init.py:211
miasm.os_dep.linux.environment.FileSystem.nb_total_fnode
int nb_total_fnode
Definition: environment.py:204
miasm.os_dep.win_api_x86_32.kernel32_lstrcmpi
def kernel32_lstrcmpi(jitter)
Definition: win_api_x86_32.py:1538
miasm.os_dep.linux.environment.FileDescriptorSTDIN.read
def read(self, count)
Definition: environment.py:105
miasm.loader.minidump_init.MemorySegment.address
def address(self)
Definition: minidump_init.py:22
miasm.loader.elf_init.ProgramHeader64.__init__
def __init__(self, parent, sex, size, phstr)
Definition: elf_init.py:597
miasm.core.utils.pck32
pck32
Definition: utils.py:25
win_api_x86_32.TestWinAPI.test_SystemInformationFunctions
def test_SystemInformationFunctions(self)
Definition: win_api_x86_32.py:179
miasm.loader.elf_init.ContentManager
Definition: elf_init.py:169
win_api_x86_32.TestWinAPI
Definition: win_api_x86_32.py:22
miasm.os_dep.win_api_x86_32.kernel32_GetModuleFileNameA
def kernel32_GetModuleFileNameA(jitter)
Definition: win_api_x86_32.py:932
miasm.loader.elf_init.WRel64
Definition: elf_init.py:103
miasm.loader.elf_init.virt.get
def get(self, ad_start, ad_stop=None)
Definition: elf_init.py:717
miasm.loader.pe_init.PE._wsize
_wsize
Definition: pe_init.py:194
miasm.os_dep.linux.environment.FileDescriptorDirectory.cur_listdir
cur_listdir
Definition: environment.py:134
miasm.os_dep.win_api_x86_32.mdl.__bytes__
def __bytes__(self)
Definition: win_api_x86_32.py:267
miasm.os_dep.win_api_x86_32.win32_find_data.lastwritetime
int lastwritetime
Definition: win_api_x86_32.py:3053
miasm.os_dep.linux.syscall.sys_x86_64_getdents
def sys_x86_64_getdents(jitter, linux_env)
Definition: syscall.py:537
miasm.os_dep.win_api_x86_32_seh.add_process_env
def add_process_env(jitter)
Definition: win_api_x86_32_seh.py:406
miasm.os_dep.win_api_x86_32.whandle.__init__
def __init__(self, name, info)
Definition: win_api_x86_32.py:91
miasm.os_dep.common.heap.align
int align
Definition: common.py:60
miasm.os_dep.win_api_x86_32.shlwapi_StrToInt64ExW
def shlwapi_StrToInt64ExW(jitter)
Definition: win_api_x86_32.py:2180
miasm.os_dep.win_api_x86_32.msvcrt_wcslen
def msvcrt_wcslen(jitter)
Definition: win_api_x86_32.py:2804
miasm.loader.minidump_init.Minidump.__init__
def __init__(self, minidump_str)
Definition: minidump_init.py:75
miasm.os_dep.win_api_x86_32.msvcrt__ultow
def msvcrt__ultow(jitter)
Definition: win_api_x86_32.py:3209
miasm.os_dep.win_api_x86_32.c_winobjs.dbg_present
dbg_present
Definition: win_api_x86_32.py:142
miasm.os_dep.win_api_x86_32.my_lstrcmp
def my_lstrcmp(jitter, funcname, get_str)
Definition: win_api_x86_32.py:1486
miasm.loader.pe_init.ContentVirtual.parent
parent
Definition: pe_init.py:94
miasm.loader.elf_init.WRel64.get_sym
def get_sym(self)
Definition: elf_init.py:108
miasm.os_dep.win_api_x86_32.win32_find_data.dwreserved1
int dwreserved1
Definition: win_api_x86_32.py:3057
miasm.loader.pe_init.PE.get_virt
def get_virt(self)
Definition: pe_init.py:540
miasm.os_dep.win_api_x86_32.advapi32_CryptAcquireContext
def advapi32_CryptAcquireContext(jitter, funcname, get_str)
Definition: win_api_x86_32.py:483
miasm.loader.minidump_init.MemorySegment.__init__
def __init__(self, offset, memory_desc, module=None, memory_info=None)
Definition: minidump_init.py:14
miasm.loader.minidump.Enumeration.__init__
def __init__(self, enum_info)
Definition: minidump.py:12
miasm.os_dep.win_api_x86_32.msvcrt_wcscpy
def msvcrt_wcscpy(jitter)
Definition: win_api_x86_32.py:1567
miasm.os_dep.win_api_x86_32.c_winobjs.alloc_align
alloc_align
Definition: win_api_x86_32.py:137
miasm.loader.elf_init.Dynamic.__setitem__
def __setitem__(self, item, value)
Definition: elf_init.py:356
miasm.os_dep.win_api_x86_32.kernel32_FindFirstFileExA
def kernel32_FindFirstFileExA(jitter)
Definition: win_api_x86_32.py:3137
miasm.os_dep.win_api_x86_32.kernel32_GetNativeSystemInfo
def kernel32_GetNativeSystemInfo(jitter)
Definition: win_api_x86_32.py:3176
miasm.os_dep.win_api_x86_32.kernel32_Process32Next
def kernel32_Process32Next(jitter)
Definition: win_api_x86_32.py:353
miasm.os_dep.linux.environment.FileDescriptorRegularFile.real_fd
real_fd
Definition: environment.py:153
miasm.os_dep.win_api_x86_32.win32_find_data
Definition: win_api_x86_32.py:3049
miasm.loader.pe_init.ContentManager.__get__
def __get__(self, owner, _)
Definition: pe_init.py:26
miasm.loader.elf_init.PHList.__repr__
def __repr__(self)
Definition: elf_init.py:634
miasm.loader.elf_init.SymTable.symtab
symtab
Definition: elf_init.py:424
miasm.os_dep.win_api_x86_32.ntoskrnl_IoAllocateMdl
def ntoskrnl_IoAllocateMdl(jitter)
Definition: win_api_x86_32.py:1407
miasm.os_dep.linux.environment.FileDescriptor.stat
def stat(self)
Definition: environment.py:77
miasm.os_dep.win_api_x86_32.kernel32_lstrcpy
def kernel32_lstrcpy(jitter)
Definition: win_api_x86_32.py:1558
miasm.os_dep.win_api_x86_32.advapi32_CryptGetHashParam
def advapi32_CryptGetHashParam(jitter)
Definition: win_api_x86_32.py:546
miasm.os_dep.common.encode_win_str_w
def encode_win_str_w(value)
Definition: common.py:40
win_api_x86_32.TestWinAPI.test_msvcrt_realloc
def test_msvcrt_realloc(self)
Definition: win_api_x86_32.py:73
miasm.os_dep.linux.environment.FileDescriptor.file_type
file_type
Definition: environment.py:48
miasm.os_dep.win_api_x86_32.kernel32_SetCurrentDirectory
def kernel32_SetCurrentDirectory(jitter, get_str)
Definition: win_api_x86_32.py:2369
miasm.os_dep.win_api_x86_32.kernel32_GetModuleHandleA
def kernel32_GetModuleHandleA(jitter)
Definition: win_api_x86_32.py:1086
miasm.os_dep.win_api_x86_32.msvcrt_fclose
def msvcrt_fclose(jitter)
Definition: win_api_x86_32.py:2989
miasm.os_dep.win_api_x86_32.startupinfo.lpReserved2
int lpReserved2
Definition: win_api_x86_32.py:2493
miasm.os_dep.linux_stdlib.xxx_strlen
def xxx_strlen(jitter)
Definition: linux_stdlib.py:185
miasm.os_dep.win_api_x86_32.kernel32_SetCurrentDirectoryW
def kernel32_SetCurrentDirectoryW(jitter)
Definition: win_api_x86_32.py:2376
miasm.os_dep.win_api_x86_32.kernel32_ReadFile
def kernel32_ReadFile(jitter)
Definition: win_api_x86_32.py:718
miasm.os_dep.linux.environment.Networking.__init__
def __init__(self, linux_env)
Definition: environment.py:372
miasm.loader.pe_init.PE.DirImport
DirImport
Definition: pe_init.py:213
miasm.os_dep.win_api_x86_32.win32_find_data.creationtime
int creationtime
Definition: win_api_x86_32.py:3051
miasm.loader.new_cstruct.Cstruct_Metaclass.unpack
def unpack(cls, s, off=0, parent_head=None, _sex=None, _wsize=None)
Definition: new_cstruct.py:165
miasm.loader.pe_init.ContectRva
Definition: pe_init.py:38
miasm.loader.elf_init.printable
def printable(string)
Definition: elf_init.py:22
miasm.os_dep.win_api_x86_32.shlwapi_StrCmpNIA
def shlwapi_StrCmpNIA(jitter)
Definition: win_api_x86_32.py:2253
miasm.loader.cstruct.CStruct._size
_size
Definition: cstruct.py:69
miasm.os_dep.win_api_x86_32.mdl
Definition: win_api_x86_32.py:261
miasm.os_dep.win_api_x86_32.hal_ExReleaseFastMutex
def hal_ExReleaseFastMutex(jitter)
Definition: win_api_x86_32.py:1460
miasm.loader.elf.Dynamic
Definition: elf.py:98
miasm.core.utils.int_to_byte
def int_to_byte(value)
Definition: utils.py:120
miasm.os_dep.common.windows_to_sbpath
def windows_to_sbpath(path)
Definition: common.py:120
miasm.os_dep.win_api_x86_32.c_winobjs.allocated_pages
allocated_pages
Definition: win_api_x86_32.py:191
miasm.os_dep.win_api_x86_32.ntdll_RtlMoveMemory
def ntdll_RtlMoveMemory(jitter)
Definition: win_api_x86_32.py:1870
miasm.loader.elf_init.ProgramHeader.__init__
def __init__(self, parent, sex, size, phstr)
Definition: elf_init.py:577
miasm.os_dep.win_api_x86_32.handle_generator.__getitem__
def __getitem__(self, item)
Definition: win_api_x86_32.py:126
miasm.os_dep.linux.environment.FileDescriptorSocket
Definition: environment.py:175
miasm.loader.elf_init.NoBitsSection
Definition: elf_init.py:276
win_api_x86_32.TestWinAPI.test_VirtualXXFunctions
def test_VirtualXXFunctions(self)
Definition: win_api_x86_32.py:231
miasm.loader.elf_init.SHList.append
def append(self, item)
Definition: elf_init.py:538
miasm.os_dep.win_api_x86_32.kernel32_WideCharToMultiByte
def kernel32_WideCharToMultiByte(jitter)
Definition: win_api_x86_32.py:1715
miasm.loader.pe_init.PE.reloc_to
def reloc_to(self, imgbase)
Definition: pe_init.py:613
miasm.loader.minidump.ThreadList
Definition: minidump.py:510
miasm.os_dep.win_api_x86_32.kernel32_CreateFileA
def kernel32_CreateFileA(jitter)
Definition: win_api_x86_32.py:710
miasm.os_dep.linux.environment.FileDescriptorRegularFile.flags
flags
Definition: environment.py:151
miasm.os_dep.linux.syscall.sys_x86_64_newuname
def sys_x86_64_newuname(jitter, linux_env)
Definition: syscall.py:123
miasm.os_dep.linux.syscall.sys_x86_64_writev
def sys_x86_64_writev(jitter, linux_env)
Definition: syscall.py:249
miasm.loader.pe_init.PE.content
content
Definition: pe_init.py:185
miasm.loader.elf_init.StructWrapper
Definition: elf_init.py:47
miasm.os_dep.win_api_x86_32.user32_IsCharLowerA
def user32_IsCharLowerA(jitter)
Definition: win_api_x86_32.py:2913
miasm.os_dep.linux.syscall.sys_x86_64_getxattr
def sys_x86_64_getxattr(jitter, linux_env)
Definition: syscall.py:650
miasm.loader.minidump.MemoryInfoList
Definition: minidump.py:249
miasm.loader.elf_init.Section.sh
sh
Definition: elf_init.py:252
miasm.loader.pe_init.PE.rva2virt
def rva2virt(self, rva)
Definition: pe_init.py:503
miasm.loader.new_cstruct.Cstruct_Metaclass
Definition: new_cstruct.py:70
miasm.os_dep.win_api_x86_32.shlwapi_PathGetDriveNumberW
def shlwapi_PathGetDriveNumberW(jitter)
Definition: win_api_x86_32.py:2137
miasm.os_dep.linux.environment.AuxVec.info
info
Definition: environment.py:760
miasm.os_dep.win_api_x86_32.c_winobjs.handle_toolhelpsnapshot
handle_toolhelpsnapshot
Definition: win_api_x86_32.py:139
miasm.os_dep.win_api_x86_32.handle_generator.all_handles
all_handles
Definition: win_api_x86_32.py:103
miasm.os_dep.win_api_x86_32.advapi32_CryptAcquireContextW
def advapi32_CryptAcquireContextW(jitter)
Definition: win_api_x86_32.py:497
miasm.loader.pe_init.ContentManager.__delete__
def __delete__(self, owner)
Definition: pe_init.py:34
miasm.os_dep.linux.environment.AuxVec.AT_ENTRY
int AT_ENTRY
Definition: environment.py:739
miasm.os_dep.win_api_x86_32.ntdll_LdrGetProcedureAddress
def ntdll_LdrGetProcedureAddress(jitter)
Definition: win_api_x86_32.py:1995
miasm.os_dep.linux.environment.LinuxEnvironment.fstat
def fstat(self, fd)
Definition: environment.py:473
miasm.os_dep.win_api_x86_32.kernel32_lstrcmpA
def kernel32_lstrcmpA(jitter)
Definition: win_api_x86_32.py:1522
miasm.loader.new_cstruct.CStruct.__bytes__
def __bytes__(self)
Definition: new_cstruct.py:250
miasm.os_dep.linux.environment.FileDescriptorDirectory.__init__
def __init__(self, number, flags, filesystem, real_path)
Definition: environment.py:130
win_api_x86_32.TestWinAPI.test_DebuggingFunctions
def test_DebuggingFunctions(self)
Definition: win_api_x86_32.py:24
miasm.os_dep.linux.environment.FileDescriptorSTDERR.write
def write(self, data)
Definition: environment.py:121
miasm.loader.elf_init.Section._content
_content
Definition: elf_init.py:253
miasm.os_dep.win_api_x86_32.msvcrt_memcpy
def msvcrt_memcpy(jitter)
Definition: win_api_x86_32.py:2037
miasm.loader.strpatchwork.StrPatchwork.__repr__
def __repr__(self)
Definition: strpatchwork.py:83
miasm.loader.minidump_init.MemorySegment.module
module
Definition: minidump_init.py:17
miasm.os_dep.win_api_x86_32.kernel32_lstrcpyA
def kernel32_lstrcpyA(jitter)
Definition: win_api_x86_32.py:1554
miasm.loader.elf_init.SymTable.__getitem__
def __getitem__(self, item)
Definition: elf_init.py:442
miasm.os_dep.win_api_x86_32.c_winobjs
Definition: win_api_x86_32.py:133
miasm.os_dep.win_api_x86_32.kernel32_GetVersion
def kernel32_GetVersion(jitter)
Definition: win_api_x86_32.py:374
miasm.os_dep.win_api_x86_32.startupinfo.pack
def pack(self)
Definition: win_api_x86_32.py:2498
miasm.os_dep.linux_stdlib.xxx_free
def xxx_free(jitter)
Definition: linux_stdlib.py:197
miasm.os_dep.win_api_x86_32.kernel32_GetThreadLocale
def kernel32_GetThreadLocale(jitter)
Definition: win_api_x86_32.py:2365
miasm.os_dep.win_api_x86_32.msvcrt_memset
def msvcrt_memset(jitter)
Definition: win_api_x86_32.py:2016
miasm.os_dep.win_api_x86_32.msvcrt_myfopen
def msvcrt_myfopen(jitter, get_str)
Definition: win_api_x86_32.py:3220
miasm.os_dep.linux.environment.FileSystem.path_to_inode
path_to_inode
Definition: environment.py:214
miasm.os_dep.win_api_x86_32.cryptdll_MD5Final
def cryptdll_MD5Final(jitter)
Definition: win_api_x86_32.py:1196
miasm.loader.new_cstruct.CStruct.__len__
def __len__(self)
Definition: new_cstruct.py:258
miasm.loader.elf_init.NullSection.get_name
def get_name(self, ofs)
Definition: elf_init.py:263
miasm.os_dep.win_api_x86_32.shlwapi_StrToInt64Ex
def shlwapi_StrToInt64Ex(jitter, funcname, get_str)
Definition: win_api_x86_32.py:2161
miasm.loader.minidump.Enumeration._enum_info
_enum_info
Definition: minidump.py:14
miasm.loader.cstruct.CStructStruct.__bytes__
def __bytes__(self)
Definition: cstruct.py:150
miasm.loader.cstruct.CStruct._names
_names
Definition: cstruct.py:71
miasm.os_dep.linux.environment.FileDescriptor.atime
int atime
Definition: environment.py:66
miasm.loader.minidump_init.MemorySegment.content
def content(self)
Definition: minidump_init.py:45
miasm.loader.elf_init.ELF.__getitem__
def __getitem__(self, item)
Definition: elf_init.py:838
miasm.arch.aarch64.sem.cmp
def cmp(ir, instr, arg1, arg2)
Definition: sem.py:1062
miasm.os_dep.win_api_x86_32.msvcrt_swprintf
def msvcrt_swprintf(jitter)
Definition: win_api_x86_32.py:2230
miasm.os_dep.common.set_win_str_w
def set_win_str_w(jitter, addr, value)
Definition: common.py:50
miasm.os_dep.win_api_x86_32.kernel32_GetSystemDirectoryW
def kernel32_GetSystemDirectoryW(jitter)
Definition: win_api_x86_32.py:1793
miasm.loader.minidump_init.MemorySegment.offset
offset
Definition: minidump_init.py:15
miasm.os_dep.win_api_x86_32.ntdll_RtlFindCharInUnicodeString
def ntdll_RtlFindCharInUnicodeString(jitter)
Definition: win_api_x86_32.py:1252
miasm.loader.pe.Coffhdr
Definition: pe.py:54
miasm.os_dep.win_api_x86_32.advapi32_CryptDeriveKey
def advapi32_CryptDeriveKey(jitter)
Definition: win_api_x86_32.py:575
miasm.os_dep.win_api_x86_32.kernel32_GetCurrentThreadId
def kernel32_GetCurrentThreadId(jitter)
Definition: win_api_x86_32.py:2545
miasm.loader.elf_init.HashSection
Definition: elf_init.py:272
miasm.loader.elf_init.WRel32
Definition: elf_init.py:89
miasm.os_dep.win_api_x86_32.msvcrt_fread
def msvcrt_fread(jitter)
Definition: win_api_x86_32.py:2967
miasm.os_dep.linux.syscall.sys_generic_setuid
def sys_generic_setuid(jitter, linux_env)
Definition: syscall.py:824
miasm.loader.pe.Doshdr
Definition: pe.py:27
miasm.loader.elf_init.Section.__repr__
def __repr__(self)
Definition: elf_init.py:255
miasm.loader.minidump.Context_AMD64.is_activated
def is_activated(flag)
Definition: minidump.py:368
miasm.os_dep.win_api_x86_32.mdl.l
l
Definition: win_api_x86_32.py:265
miasm.os_dep.win_api_x86_32.kernel32_GetACP
def kernel32_GetACP(jitter)
Definition: win_api_x86_32.py:3448
miasm.os_dep.linux.environment.FileSystem.passthrough
passthrough
Definition: environment.py:213
miasm.loader.minidump_init.MemorySegment.name
def name(self)
Definition: minidump_init.py:34
miasm.os_dep.win_32_structs.EXCEPTION_RECORD
Definition: win_32_structs.py:129
miasm.os_dep.linux.environment.LinuxEnvironment.brk
def brk(self, addr, vmmngr)
Definition: environment.py:642
miasm.os_dep.linux.environment.FileDescriptorDirectory.flags
flags
Definition: environment.py:135
miasm.loader.elf_init.WSym32.get_name
def get_name(self)
Definition: elf_init.py:78
miasm.os_dep.win_api_x86_32.startupinfo.dwYCountChars
int dwYCountChars
Definition: win_api_x86_32.py:2488
miasm.loader.elf_init.SHList.__str__
def __str__(self)
Definition: elf_init.py:558
miasm.os_dep.win_api_x86_32.msvcrt_rand
def msvcrt_rand(jitter)
Definition: win_api_x86_32.py:2796
miasm.os_dep.win_api_x86_32.kernel32_Sleep
def kernel32_Sleep(jitter)
Definition: win_api_x86_32.py:1345
miasm.loader.elf_init.ELF.resize
def resize(self, old, new)
Definition: elf_init.py:835
miasm.os_dep.common.heap.get_size
def get_size(self, vm, ptr)
Definition: common.py:98
miasm.os_dep.win_api_x86_32.win32_find_data.dwreserved0
int dwreserved0
Definition: win_api_x86_32.py:3056
miasm.loader.minidump_init.Minidump.get
def get(self, virt_start, virt_stop)
Definition: minidump_init.py:177
miasm.os_dep.win_api_x86_32.kernel32_GetCPInfo
def kernel32_GetCPInfo(jitter)
Definition: win_api_x86_32.py:3481
miasm.os_dep.win_api_x86_32.c_winobjs.runtime_dll
runtime_dll
Definition: win_api_x86_32.py:167
miasm.os_dep.win_api_x86_32.msvcrt_ftell
def msvcrt_ftell(jitter)
Definition: win_api_x86_32.py:2946
miasm.os_dep.linux.syscall.sys_x86_64_rt_sigprocmask
def sys_x86_64_rt_sigprocmask(jitter, linux_env)
Definition: syscall.py:427
miasm.loader.elf.Rela64
Definition: elf.py:93
miasm.loader.pe.DirExport
Definition: pe.py:640
miasm.loader.minidump.Thread.arch2context_cls
dictionary arch2context_cls
Definition: minidump.py:481
miasm.loader.elf_init.SymTable.symbols
symbols
Definition: elf_init.py:425
common.TestCommonAPI
Definition: common.py:19
miasm.os_dep.win_api_x86_32.c_winobjs.win_event_num
win_event_num
Definition: win_api_x86_32.py:182
miasm.os_dep.win_api_x86_32.my_strlen
def my_strlen(jitter, funcname, get_str, mylen)
Definition: win_api_x86_32.py:1582
miasm.os_dep.linux.environment.FileSystem.readlink
def readlink(self, path)
Definition: environment.py:303
miasm.loader.elf_init.GNULibLIst
Definition: elf_init.py:312
miasm.loader.elf_init.DynSymTable
Definition: elf_init.py:459
miasm.loader.minidump.Context_x86
Definition: minidump.py:287
miasm.loader.pe_init.PE._content
_content
Definition: pe_init.py:192
miasm.os_dep.win_api_x86_32.kernel32_TlsGetValue
def kernel32_TlsGetValue(jitter)
Definition: win_api_x86_32.py:2434
miasm.loader.elf_init.virt.__getitem__
def __getitem__(self, item)
Definition: elf_init.py:757
miasm.os_dep.win_api_x86_32.hobj
Definition: win_api_x86_32.py:257
miasm.os_dep.linux.environment.FileDescriptor.nlink
int nlink
Definition: environment.py:57
miasm.loader.pe_init.PE.getsectionbyname
def getsectionbyname(self, name)
Definition: pe_init.py:465
miasm.core.interval.interval
Definition: interval.py:35
miasm.loader.elf_init.SHList.shlist
shlist
Definition: elf_init.py:499
miasm.os_dep.win_api_x86_32.ntoskrnl_RtlQueryRegistryValues
def ntoskrnl_RtlQueryRegistryValues(jitter)
Definition: win_api_x86_32.py:1465
miasm.os_dep.win_api_x86_32.shlwapi_PathIsFileSpec
def shlwapi_PathIsFileSpec(jitter, funcname, get_str)
Definition: win_api_x86_32.py:2110
miasm.os_dep.win_api_x86_32.kernel32_RtlMoveMemory
def kernel32_RtlMoveMemory(jitter)
Definition: win_api_x86_32.py:1237
miasm.os_dep.win_api_x86_32.ntdll_RtlAnsiCharToUnicodeChar
def ntdll_RtlAnsiCharToUnicodeChar(jitter)
Definition: win_api_x86_32.py:1244
miasm.os_dep.win_api_x86_32.datetime_to_systemtime
def datetime_to_systemtime(curtime)
Definition: win_api_x86_32.py:2600
miasm.loader.elf_init.virt.is_addr_in
def is_addr_in(self, ad)
Definition: elf_init.py:786
miasm.os_dep.win_api_x86_32.kernel32_GetStringTypeW
def kernel32_GetStringTypeW(jitter)
Definition: win_api_x86_32.py:3497
miasm.loader.elf_init.GNUVerDef
Definition: elf_init.py:308
miasm.os_dep.win_api_x86_32.shlwapi_PathIsFileSpecA
def shlwapi_PathIsFileSpecA(jitter)
Definition: win_api_x86_32.py:2141
miasm.os_dep.win_api_x86_32.whandle.info
info
Definition: win_api_x86_32.py:93
miasm.os_dep.linux.environment.LinuxEnvironment.mmap
def mmap(self, addr, len_, prot, flags, fd, off, vmmngr)
Definition: environment.py:579
miasm.os_dep.common.heap.mask
tuple mask
Definition: common.py:62
miasm.os_dep.linux.environment.FileDescriptor.device_id
int device_id
Definition: environment.py:53
miasm.loader.elf_init.Dynamic.dyntab
dyntab
Definition: elf_init.py:344
miasm.os_dep.win_api_x86_32.msvcrt_fseek
def msvcrt_fseek(jitter)
Definition: win_api_x86_32.py:2935
miasm.loader.cstruct.Cstruct_Metaclass
Definition: cstruct.py:39
miasm.os_dep.win_api_x86_32.kernel32_lstrcmpW
def kernel32_lstrcmpW(jitter)
Definition: win_api_x86_32.py:1530
miasm.loader.pe_init.PE.virt2rva
def virt2rva(self, addr)
Definition: pe_init.py:492
miasm.loader.cstruct.CStruct._unpack
def _unpack(self, s)
Definition: cstruct.py:83
miasm.os_dep.linux.syscall.sys_x86_64_lgetxattr
def sys_x86_64_lgetxattr(jitter, linux_env)
Definition: syscall.py:635
miasm.os_dep.win_api_x86_32.kernel32_DecodePointer
def kernel32_DecodePointer(jitter)
Definition: win_api_x86_32.py:444
miasm.loader.elf_init.virt.get_rvaitem
def get_rvaitem(self, start, stop=None)
Definition: elf_init.py:668
miasm.os_dep.win_api_x86_32_seh.build_peb
def build_peb(jitter, peb_address)
Definition: win_api_x86_32_seh.py:124
miasm.os_dep.linux.syscall.sys_generic_getegid
def sys_generic_getegid(jitter, linux_env)
Definition: syscall.py:787
miasm.os_dep.win_api_x86_32.msvcrt_strrchr
def msvcrt_strrchr(jitter)
Definition: win_api_x86_32.py:2021
miasm.os_dep.win_api_x86_32.find_data_mngr
Definition: win_api_x86_32.py:3084
miasm.os_dep.win_api_x86_32.filetime_to_unixtime
def filetime_to_unixtime(filetime)
Definition: win_api_x86_32.py:2592
miasm.loader.elf_init.SHList._shstr
_shstr
Definition: elf_init.py:509
miasm.os_dep.win_api_x86_32.my_strcpy
def my_strcpy(jitter, funcname, get_str, set_str)
Definition: win_api_x86_32.py:1542
miasm.loader.minidump_init.MemorySegment.minidump
minidump
Definition: minidump_init.py:19
miasm.loader.strpatchwork.StrPatchwork.__iadd__
def __iadd__(self, other)
Definition: strpatchwork.py:92
miasm.os_dep.win_api_x86_32.shlwapi_PathGetDriveNumber
def shlwapi_PathGetDriveNumber(jitter, funcname, get_str)
Definition: win_api_x86_32.py:2121
miasm.loader.minidump.Enumeration.from_value
def from_value(self, value)
Definition: minidump.py:28
miasm.os_dep.win_api_x86_32.handle_generator
Definition: win_api_x86_32.py:99
miasm.os_dep.win_api_x86_32.ntdll_memset
def ntdll_memset(jitter)
Definition: win_api_x86_32.py:2010
miasm.os_dep.win_api_x86_32.c_winobjs.alloc_ad
alloc_ad
Definition: win_api_x86_32.py:136
miasm.os_dep.win_api_x86_32_seh.LoadedModules.__init__
def __init__(self)
Definition: win_api_x86_32_seh.py:220
miasm.os_dep.win_api_x86_32.get_fmt_args
def get_fmt_args(jitter, fmt, cur_arg, get_str)
Definition: win_api_x86_32.py:2215
common.TestCommonAPI.test_get_size
def test_get_size(self)
Definition: common.py:21
miasm.os_dep.win_api_x86_32.c_winobjs.tls_values
tls_values
Definition: win_api_x86_32.py:170
miasm.os_dep.win_api_x86_32.c_winobjs.cur_dir
cur_dir
Definition: win_api_x86_32.py:177
miasm.os_dep.win_api_x86_32.ntdll_RtlLargeIntegerSubtract
def ntdll_RtlLargeIntegerSubtract(jitter)
Definition: win_api_x86_32.py:1319
miasm.os_dep.linux.environment.FileDescriptor.size
int size
Definition: environment.py:62
miasm.os_dep.linux.environment.FileSystem.linux_env
linux_env
Definition: environment.py:212
miasm.os_dep.win_api_x86_32.win32_find_data.__init__
def __init__(self, **kargs)
Definition: win_api_x86_32.py:3061
miasm.loader.minidump.Rva
Definition: minidump.py:32
miasm.os_dep.win_api_x86_32.kernel32_VirtualAlloc
def kernel32_VirtualAlloc(jitter)
Definition: win_api_x86_32.py:853
miasm.os_dep.linux.environment.FileSystem.get_path_inode
def get_path_inode(self, real_path)
Definition: environment.py:295
miasm.os_dep.win_api_x86_32.win32_find_data.filesizelow
int filesizelow
Definition: win_api_x86_32.py:3055
miasm.loader.minidump.Enumeration.__getitem__
def __getitem__(self, key)
Definition: minidump.py:17
miasm.os_dep.win_api_x86_32.startupinfo.lpTitle
int lpTitle
Definition: win_api_x86_32.py:2482
miasm.os_dep.common.get_win_str_w
def get_win_str_w(jitter, ad_str, max_char=None)
Definition: common.py:25
miasm.os_dep.win_api_x86_32.kernel32_lstrlen
def kernel32_lstrlen(jitter)
Definition: win_api_x86_32.py:1598
miasm.os_dep.win_api_x86_32.kernel32_GetLastError
def kernel32_GetLastError(jitter)
Definition: win_api_x86_32.py:999
miasm.os_dep.linux.environment.FileDescriptor.cont_device_id
cont_device_id
Definition: environment.py:52
miasm.os_dep.win_api_x86_32.startupinfo.hStdOutput
int hStdOutput
Definition: win_api_x86_32.py:2495
miasm.loader.elf_init.RelTable.parse_content
def parse_content(self, sex, size)
Definition: elf_init.py:466
miasm.os_dep.win_api_x86_32.msvcrt__wcsnicmp
def msvcrt__wcsnicmp(jitter)
Definition: win_api_x86_32.py:1507
miasm.os_dep.win_api_x86_32.kernel32_GetLocalTime
def kernel32_GetLocalTime(jitter)
Definition: win_api_x86_32.py:2627
miasm.loader.minidump.MinidumpString
Definition: minidump.py:148
miasm.os_dep.win_api_x86_32.c_winobjs.nt_mdl_cur
nt_mdl_cur
Definition: win_api_x86_32.py:181
miasm.loader.pe_init.PE.rva
rva
Definition: pe_init.py:538
miasm.os_dep.win_api_x86_32.kernel32_lstrcmpiW
def kernel32_lstrcmpiW(jitter)
Definition: win_api_x86_32.py:1534
miasm.os_dep.win_api_x86_32.ntdll_RtlFreeUnicodeString
def ntdll_RtlFreeUnicodeString(jitter)
Definition: win_api_x86_32.py:1988
miasm.loader.elf_init.virt.max_addr
def max_addr(self)
Definition: elf_init.py:771
miasm.os_dep.win_api_x86_32_seh.build_ldr_data
def build_ldr_data(jitter, modules_info)
Definition: win_api_x86_32_seh.py:151
miasm.os_dep.linux.syscall.enable_syscall_handling
def enable_syscall_handling(jitter, linux_env, syscall_callbacks)
Definition: syscall.py:1062
miasm.os_dep.win_api_x86_32.kernel32_GetProcessAffinityMask
def kernel32_GetProcessAffinityMask(jitter)
Definition: win_api_x86_32.py:2787
miasm.os_dep.common.heap.addr
int addr
Definition: common.py:59
miasm.os_dep.win_api_x86_32.msvcrt_fwrite
def msvcrt_fwrite(jitter)
Definition: win_api_x86_32.py:2978
miasm.loader.elf_init.GNUVerNeed
Definition: elf_init.py:304
miasm.os_dep.linux.syscall.sys_x86_64_ioctl
def sys_x86_64_ioctl(jitter, linux_env)
Definition: syscall.py:478
miasm.os_dep.win_api_x86_32.kernel32_CreateEventA
def kernel32_CreateEventA(jitter)
Definition: win_api_x86_32.py:1825
miasm.os_dep.win_api_x86_32.c_winobjs.current_pe
current_pe
Definition: win_api_x86_32.py:168
miasm.os_dep.linux.environment.LinuxEnvironment.stat
def stat(self, path)
Definition: environment.py:480
miasm.os_dep.common.get_fmt_args
def get_fmt_args(fmt, cur_arg, get_str, get_arg_n)
Definition: common.py:137
miasm.core.interval
Definition: interval.py:1
miasm.os_dep.linux.environment.FileDescriptorSocket.__init__
def __init__(self, number, family, type_, protocol)
Definition: environment.py:180
miasm.os_dep.linux.syscall.sys_x86_64_connect
def sys_x86_64_connect(jitter, linux_env)
Definition: syscall.py:675
basic_op.a
a
Definition: basic_op.py:9
miasm.os_dep.win_api_x86_32.user32_FindWindowA
def user32_FindWindowA(jitter)
Definition: win_api_x86_32.py:462
miasm.os_dep.win_api_x86_32.kernel32_GetVolumeInformationW
def kernel32_GetVolumeInformationW(jitter)
Definition: win_api_x86_32.py:1668
miasm.loader.elf_init.WRela32.get_type
def get_type(self)
Definition: elf_init.py:125
miasm.os_dep.linux.syscall.syscall_x86_32_exception_handler
def syscall_x86_32_exception_handler(linux_env, syscall_callbacks, jitter)
Definition: syscall.py:1006
miasm.os_dep.linux.syscall.sys_x86_64_openat
def sys_x86_64_openat(jitter, linux_env)
Definition: syscall.py:204
miasm.os_dep.linux_stdlib.xxx_malloc
def xxx_malloc(jitter)
Definition: linux_stdlib.py:191
win_api_x86_32.TestWinAPI.test_ToolHelpFunctions
def test_ToolHelpFunctions(self)
Definition: win_api_x86_32.py:203
miasm.os_dep.win_api_x86_32.kernel32_GetDriveTypeW
def kernel32_GetDriveTypeW(jitter)
Definition: win_api_x86_32.py:2736
miasm.os_dep.win_api_x86_32.systeminfo.lpMinimumApplicationAddress
int lpMinimumApplicationAddress
Definition: win_api_x86_32.py:1102
miasm.loader.pe_init.PE.Opthdr
Opthdr
Definition: pe_init.py:204
miasm.os_dep.win_api_x86_32.find_data_mngr.handles
handles
Definition: win_api_x86_32.py:3090
miasm.os_dep.linux.environment.FileDescriptor.mtimensec
int mtimensec
Definition: environment.py:69
miasm.os_dep.linux.environment.LinuxEnvironment.user_uid
int user_uid
Definition: environment.py:390
miasm.os_dep.win_api_x86_32.ntoskrnl_MmProtectMdlSystemAddress
def ntoskrnl_MmProtectMdlSystemAddress(jitter)
Definition: win_api_x86_32.py:1436
miasm.os_dep.linux.environment.StatFSInfo
StatFSInfo
Definition: environment.py:23
miasm.loader.elf_init.ContentManager.__delete__
def __delete__(self, owner)
Definition: elf_init.py:180
miasm.loader.elf_init.WPhdr64
Definition: elf_init.py:161
miasm.loader.elf_init.ELF.__str__
def __str__(self)
Definition: elf_init.py:853
miasm.os_dep.win_api_x86_32.ntoskrnl_IoFreeMdl
def ntoskrnl_IoFreeMdl(jitter)
Definition: win_api_x86_32.py:1452
miasm.loader.elf_init.ELF.getsectionbyname
def getsectionbyname(self, name)
Definition: elf_init.py:868
miasm.loader.pe_init.PE.NTsig
NTsig
Definition: pe_init.py:196
miasm.os_dep.linux.environment.LinuxEnvironment.getdents
def getdents(self, fd, count, packing_callback)
Definition: environment.py:510
miasm.os_dep.win_api_x86_32.advapi32_RegOpenKeyExW
def advapi32_RegOpenKeyExW(jitter)
Definition: win_api_x86_32.py:2319
miasm.os_dep.win_api_x86_32.c_winobjs.cryptcontext_num
cryptcontext_num
Definition: win_api_x86_32.py:157
miasm.os_dep.win_api_x86_32.kernel32_SHGetPathFromIDList
def kernel32_SHGetPathFromIDList(jitter, funcname, set_str)
Definition: win_api_x86_32.py:980
miasm.os_dep.linux.environment.AuxVec.data_to_map
def data_to_map(self)
Definition: environment.py:779
miasm.os_dep.linux.syscall.sys_arml_getdents64
def sys_arml_getdents64(jitter, linux_env)
Definition: syscall.py:571
miasm.loader.pe.Optehdr
Definition: pe.py:64
miasm.os_dep.linux.syscall.sys_x86_64_fstat
def sys_x86_64_fstat(jitter, linux_env)
Definition: syscall.py:308
miasm.loader.elf_init.SHList.resize
def resize(self, sec, diff)
Definition: elf_init.py:563
miasm.os_dep.win_api_x86_32.msvcrt_new
def msvcrt_new(jitter)
Definition: win_api_x86_32.py:303
basic_op.b
b
Definition: basic_op.py:10
miasm.loader.strpatchwork.StrPatchwork
Definition: strpatchwork.py:25
miasm.loader.pe_init.ContentVirtual.set
def set(self, addr, data)
Definition: pe_init.py:118
miasm.os_dep.win_api_x86_32.startupinfo.wShowWindow
int wShowWindow
Definition: win_api_x86_32.py:2491
miasm.os_dep.win_api_x86_32.kernel32_LocalAlloc
def kernel32_LocalAlloc(jitter)
Definition: win_api_x86_32.py:298
miasm.os_dep.win_api_x86_32.kernel32_WriteFile
def kernel32_WriteFile(jitter)
Definition: win_api_x86_32.py:2879
miasm.os_dep.win_api_x86_32.handle_generator.offset
offset
Definition: win_api_x86_32.py:102
miasm.os_dep.common.get_win_str_a
def get_win_str_a(jitter, ad_str, max_char=None)
Definition: common.py:13
miasm.analysis.machine
Definition: machine.py:1
miasm.os_dep.win_api_x86_32.FLS.kernel32_FlsAlloc
def kernel32_FlsAlloc(self, jitter)
Definition: win_api_x86_32.py:3297
miasm.os_dep.linux.syscall.syscall_x86_64_exception_handler
def syscall_x86_64_exception_handler(linux_env, syscall_callbacks, jitter)
Definition: syscall.py:981
miasm.os_dep.linux.environment.LinuxEnvironment.open_
def open_(self, path, flags, follow_link=True)
Definition: environment.py:465
miasm.loader.strpatchwork.StrPatchwork.rfind
def rfind(self, pattern, start=0, end=None)
Definition: strpatchwork.py:103
miasm.os_dep.win_api_x86_32.c_winobjs.current_datetime
current_datetime
Definition: win_api_x86_32.py:192
miasm.loader.elf_init.virt
Definition: elf_init.py:663
miasm.os_dep.win_api_x86_32.kernel32_InitializeCriticalSection
def kernel32_InitializeCriticalSection(jitter)
Definition: win_api_x86_32.py:2550
miasm.os_dep.win_api_x86_32.startupinfo.lpDesktop
int lpDesktop
Definition: win_api_x86_32.py:2481
miasm.os_dep.linux.environment.AuxVec.AT_PLATFORM
int AT_PLATFORM
Definition: environment.py:744
miasm.os_dep.linux.environment.FileSystem.resolve_path
def resolve_path(self, path, follow_link=True)
Definition: environment.py:216
miasm.os_dep.win_api_x86_32.shlwapi_PathFindExtensionA
def shlwapi_PathFindExtensionA(jitter)
Definition: win_api_x86_32.py:2062
miasm.loader.minidump_init.Minidump.build_memory
def build_memory(self)
Definition: minidump_init.py:140
miasm.loader.new_cstruct.CStruct._packformat
string _packformat
Definition: new_cstruct.py:172
miasm.os_dep.linux.environment.AuxVec.AT_UID
int AT_UID
Definition: environment.py:740
miasm.os_dep.win_api_x86_32.c_winobjs.dw_pid_dummy1
dw_pid_dummy1
Definition: win_api_x86_32.py:144
miasm.loader.elf_init.StructWrapper.cstr
cstr
Definition: elf_init.py:52
miasm.os_dep.win_api_x86_32.c_winobjs.dw_pid_cur
dw_pid_cur
Definition: win_api_x86_32.py:147
miasm.loader.elf_init.StructWrapper.__getitem__
def __getitem__(self, item)
Definition: elf_init.py:55
miasm.os_dep.win_api_x86_32.user32_BlockInput
def user32_BlockInput(jitter)
Definition: win_api_x86_32.py:478
miasm.os_dep.win_api_x86_32.shlwapi_PathIsPrefixW
def shlwapi_PathIsPrefixW(jitter)
Definition: win_api_x86_32.py:2084
miasm.loader.pe_init.PE.off2rva
def off2rva(self, off)
Definition: pe_init.py:486
miasm.os_dep.linux.environment.prepare_loader_x86_64
def prepare_loader_x86_64(jitter, argv, envp, auxv, linux_env, hlt_address=0x13371acc)
Definition: environment.py:799
miasm.loader.pe.SHList
Definition: pe.py:156
miasm.loader.elf_init.WRel64.get_type
def get_type(self)
Definition: elf_init.py:113
miasm.os_dep.win_32_structs.PEB
Definition: win_32_structs.py:93
miasm.os_dep.win_api_x86_32.kernel32_CreateEventW
def kernel32_CreateEventW(jitter)
Definition: win_api_x86_32.py:1829
miasm.loader.cstruct.CStructStruct.__init__
def __init__(self, lst, shift=0)
Definition: cstruct.py:138
miasm.loader.elf_init.PHList.__str__
def __str__(self)
Definition: elf_init.py:648
miasm.os_dep.linux.environment.FileDescriptorSTDIN
Definition: environment.py:101
miasm.os_dep.linux_stdlib.xxx_strcmp
def xxx_strcmp(jitter)
Definition: linux_stdlib.py:202
miasm.os_dep.win_api_x86_32.my_FindFirstFile
def my_FindFirstFile(jitter, pfilepattern, pfindfiledata, get_win_str, encode_str)
Definition: win_api_x86_32.py:3115
miasm.loader.elf_init.SymTable.__setitem__
def __setitem__(self, item, value)
Definition: elf_init.py:449
miasm.os_dep.linux.environment.AuxVec.AT_SYSINFO_EHDR
int AT_SYSINFO_EHDR
Definition: environment.py:748
miasm.os_dep.win_api_x86_32.kernel32_GetProcAddress
def kernel32_GetProcAddress(jitter)
Definition: win_api_x86_32.py:1053
miasm.os_dep.win_api_x86_32.kernel32_GetModuleHandle
def kernel32_GetModuleHandle(jitter, funcname, get_str)
Definition: win_api_x86_32.py:1069
miasm.loader
Definition: __init__.py:1
miasm.loader.minidump_init.Minidump.parse_content
def parse_content(self)
Definition: minidump_init.py:94
miasm.os_dep.linux.environment.LinuxEnvironment.filesystem_base
string filesystem_base
Definition: environment.py:408
miasm.loader.minidump_init.MemorySegment.memory_info
memory_info
Definition: minidump_init.py:18
miasm.os_dep.win_api_x86_32.c_winobjs.module_filesize
module_filesize
Definition: win_api_x86_32.py:152
miasm.os_dep.win_api_x86_32.c_winobjs.ptr_encode_key
ptr_encode_key
Definition: win_api_x86_32.py:162
miasm.loader.pe_init.ContentVirtual.__call__
def __call__(self, ad_start, ad_stop=None, ad_step=None)
Definition: pe_init.py:102
miasm.core.types.set_str
def set_str(vm, addr, s, enc, end=u'\x00')
Definition: types.py:206
miasm.os_dep.win_api_x86_32.msvcrt_wcscat
def msvcrt_wcscat(jitter)
Definition: win_api_x86_32.py:2382
miasm.os_dep.linux.syscall.sys_x86_64_rt_sigaction
def sys_x86_64_rt_sigaction(jitter, linux_env)
Definition: syscall.py:71
miasm.os_dep.win_api_x86_32.msvcrt_delete
def msvcrt_delete(jitter)
Definition: win_api_x86_32.py:310
win_api_x86_32.TestWinAPI.test_msvcrt_swprintf
def test_msvcrt_swprintf(self)
Definition: win_api_x86_32.py:52
miasm.os_dep.win_api_x86_32.c_winobjs.module_file_nul
module_file_nul
Definition: win_api_x86_32.py:166
miasm.os_dep.win_api_x86_32.handle_generator.__repr__
def __repr__(self)
Definition: win_api_x86_32.py:113
miasm.loader.elf_init.ELF._content
_content
Definition: elf_init.py:816
miasm.os_dep.win_api_x86_32.kernel32_CreateFileMappingW
def kernel32_CreateFileMappingW(jitter)
Definition: win_api_x86_32.py:2665
miasm.os_dep.linux_stdlib.c_linobjs.__init__
def __init__(self)
Definition: linux_stdlib.py:22
miasm.loader.minidump.Context_x86.is_activated
def is_activated(flag)
Definition: minidump.py:295
miasm.os_dep.linux_stdlib.xxx_memset
def xxx_memset(jitter)
Definition: linux_stdlib.py:114
export.h
miasm.loader.elf_init.WDynamic
Definition: elf_init.py:148
miasm.os_dep.win_api_x86_32.unixtime_to_filetime
def unixtime_to_filetime(unixtime)
Definition: win_api_x86_32.py:2584
miasm.os_dep.win_api_x86_32_seh.return_from_seh
def return_from_seh(jitter)
Definition: win_api_x86_32_seh.py:657