miasm
Reverse engineering framework
miasm.loader.minidump Namespace Reference

Classes

class  Context_AMD64
 
class  Context_x86
 
class  Enumeration
 
class  FixedFileInfo
 
class  FloatingSaveArea
 
class  LocationDescriptor
 
class  M128A
 
class  Memory64List
 
class  MemoryDescriptor
 
class  MemoryDescriptor64
 
class  MemoryInfo
 
class  MemoryInfoList
 
class  MemoryList
 
class  MinidumpHDR
 
class  MinidumpString
 
class  Module
 
class  ModuleList
 
class  Rva
 
class  StreamDirectory
 
class  SystemInfo
 
class  Thread
 
class  ThreadList
 

Variables

 minidumpType
 
 streamType
 
 memProtect
 
 contextFlags_x86
 
 contextFlags_AMD64
 
 processorArchitecture
 

Detailed Description

Constants and structures associated to Minidump format
Based on: http://amnesia.gtisc.gatech.edu/~moyix/minidump.py

Variable Documentation

◆ contextFlags_AMD64

miasm.loader.minidump.contextFlags_AMD64
Initial value:
1 = Enumeration({
2  "CONTEXT_AMD64" : 0x00100000,
3  "CONTEXT_CONTROL" : 0x00100001,
4  "CONTEXT_INTEGER" : 0x00100002,
5  "CONTEXT_SEGMENTS" : 0x00100004,
6  "CONTEXT_FLOATING_POINT" : 0x00100008,
7  "CONTEXT_DEBUG_REGISTERS" : 0x00100010,
8  "CONTEXT_XSTATE" : 0x00100020,
9  "CONTEXT_EXCEPTION_ACTIVE" : 0x08000000,
10  "CONTEXT_SERVICE_ACTIVE" : 0x10000000,
11  "CONTEXT_EXCEPTION_REQUEST" : 0x40000000,
12  "CONTEXT_EXCEPTION_REPORTING" : 0x80000000,
13 })

◆ contextFlags_x86

miasm.loader.minidump.contextFlags_x86
Initial value:
1 = Enumeration({
2  "CONTEXT_i386" : 0x00010000,
3  "CONTEXT_CONTROL" : 0x00010001,
4  "CONTEXT_INTEGER" : 0x00010002,
5  "CONTEXT_SEGMENTS" : 0x00010004,
6  "CONTEXT_FLOATING_POINT" : 0x00010008,
7  "CONTEXT_DEBUG_REGISTERS" : 0x00010010,
8  "CONTEXT_EXTENDED_REGISTERS" : 0x00010020,
9 })

◆ memProtect

miasm.loader.minidump.memProtect
Initial value:
1 = Enumeration({
2  # MEM PROTECT
3  # https://msdn.microsoft.com/en-us/library/aa366786(v=vs.85).aspx
4  "PAGE_NOACCESS" : 0x0001,
5  "PAGE_READONLY" : 0x0002,
6  "PAGE_READWRITE" : 0x0004,
7  "PAGE_WRITECOPY" : 0x0008,
8  "PAGE_EXECUTE" : 0x0010,
9  "PAGE_EXECUTE_READ" : 0x0020,
10  "PAGE_EXECUTE_READWRITE" : 0x0040,
11  "PAGE_EXECUTE_WRITECOPY" : 0x0080,
12  "PAGE_GUARD" : 0x0100,
13  "PAGE_NOCACHE" : 0x0200,
14  "PAGE_WRITECOMBINE" : 0x0400,
15 })

◆ minidumpType

miasm.loader.minidump.minidumpType
Initial value:
1 = Enumeration({
2  # MINIDUMP_TYPE
3  # https://msdn.microsoft.com/en-us/library/ms680519(v=vs.85).aspx
4  "MiniDumpNormal" : 0x00000000,
5  "MiniDumpWithDataSegs" : 0x00000001,
6  "MiniDumpWithFullMemory" : 0x00000002,
7  "MiniDumpWithHandleData" : 0x00000004,
8  "MiniDumpFilterMemory" : 0x00000008,
9  "MiniDumpScanMemory" : 0x00000010,
10  "MiniDumpWithUnloadedModules" : 0x00000020,
11  "MiniDumpWithIndirectlyReferencedMemory" : 0x00000040,
12  "MiniDumpFilterModulePaths" : 0x00000080,
13  "MiniDumpWithProcessThreadData" : 0x00000100,
14  "MiniDumpWithPrivateReadWriteMemory" : 0x00000200,
15  "MiniDumpWithoutOptionalData" : 0x00000400,
16  "MiniDumpWithFullMemoryInfo" : 0x00000800,
17  "MiniDumpWithThreadInfo" : 0x00001000,
18  "MiniDumpWithCodeSegs" : 0x00002000,
19  "MiniDumpWithoutAuxiliaryState" : 0x00004000,
20  "MiniDumpWithFullAuxiliaryState" : 0x00008000,
21  "MiniDumpWithPrivateWriteCopyMemory" : 0x00010000,
22  "MiniDumpIgnoreInaccessibleMemory" : 0x00020000,
23  "MiniDumpWithTokenInformation" : 0x00040000,
24  "MiniDumpWithModuleHeaders" : 0x00080000,
25  "MiniDumpFilterTriage" : 0x00100000,
26  "MiniDumpValidTypeFlags" : 0x001fffff,
27 })

◆ processorArchitecture

miasm.loader.minidump.processorArchitecture
Initial value:
1 = Enumeration({
2  "PROCESSOR_ARCHITECTURE_X86" : 0,
3  "PROCESSOR_ARCHITECTURE_MIPS" : 1,
4  "PROCESSOR_ARCHITECTURE_ALPHA" : 2,
5  "PROCESSOR_ARCHITECTURE_PPC" : 3,
6  "PROCESSOR_ARCHITECTURE_SHX" : 4,
7  "PROCESSOR_ARCHITECTURE_ARM" : 5,
8  "PROCESSOR_ARCHITECTURE_IA64" : 6,
9  "PROCESSOR_ARCHITECTURE_ALPHA64" : 7,
10  "PROCESSOR_ARCHITECTURE_MSIL" : 8,
11  "PROCESSOR_ARCHITECTURE_AMD64" : 9,
12  "PROCESSOR_ARCHITECTURE_X86_WIN64" : 10,
13  "PROCESSOR_ARCHITECTURE_UNKNOWN" : 0xffff,
14 })

◆ streamType

miasm.loader.minidump.streamType
Initial value:
1 = Enumeration({
2  # MINIDUMP_STREAM_TYPE
3  # https://msdn.microsoft.com/en-us/library/ms680394(v=vs.85).aspx
4  "UnusedStream" : 0,
5  "ReservedStream0" : 1,
6  "ReservedStream1" : 2,
7  "ThreadListStream" : 3,
8  "ModuleListStream" : 4,
9  "MemoryListStream" : 5,
10  "ExceptionStream" : 6,
11  "SystemInfoStream" : 7,
12  "ThreadExListStream" : 8,
13  "Memory64ListStream" : 9,
14  "CommentStreamA" : 10,
15  "CommentStreamW" : 11,
16  "HandleDataStream" : 12,
17  "FunctionTableStream" : 13,
18  "UnloadedModuleListStream" : 14,
19  "MiscInfoStream" : 15,
20  "MemoryInfoListStream" : 16,
21  "ThreadInfoListStream" : 17,
22  "HandleOperationListStream" : 18,
23  "LastReservedStream" : 0xffff,
24 })