◆ check()
def mn_seh.Test_SEH_simple.check |
( |
|
self | ) |
|
◆ TXT
string mn_seh.Test_SEH_simple.TXT |
|
static |
Initial value:= '''
main:
XOR EAX, EAX
XOR EDX, EDX
PUSH handler
PUSH DWORD PTR FS:[EDX]
MOV DWORD PTR FS:[EDX], ESP
STI
MOV EBX, DWORD PTR [ESP]
MOV DWORD PTR FS:[EDX], EBX
ADD ESP, 0x8
RET
handler:
MOV ECX, DWORD PTR [ESP+0xC]
INC DWORD PTR [ECX+0x%08x]
MOV DWORD PTR [ECX+0x%08x], 0xcafebabe
XOR EAX, EAX
RET
''' % (ContextException.get_offset("eip"),
ContextException.get_offset("eax"))
The documentation for this class was generated from the following file:
- /home/serpilliere/projet/test_doc_miasm/miasm/test/arch/x86/unit/mn_seh.py