miasm
Reverse engineering framework
mn_strings.Test_SCAS Class Reference
Inheritance diagram for mn_strings.Test_SCAS:
Collaboration diagram for mn_strings.Test_SCAS:

Public Member Functions

def check (self)
 
- Public Member Functions inherited from asm_test.Asm_Test_32
def init_machine (self)
 
- Public Member Functions inherited from asm_test.Asm_Test
def __init__ (self, jitter)
 
def __call__ (self)
 
def asm (self)
 
def run (self)
 
def __init__ (self, jitter)
 
def __call__ (self)
 
def asm (self)
 
def run (self)
 
def __init__ (self, jitter_engine)
 
def test_init (self)
 
def prepare (self)
 
def __call__ (self)
 
def run (self)
 
def asm (self)
 

Static Public Attributes

string MYSTRING = "test string"
 
string TXT
 
- Static Public Attributes inherited from asm_test.Asm_Test_32
string arch_name = "x86_32"
 
int arch_attrib = 32
 
int ret_addr = 0x1337beef
 
- Static Public Attributes inherited from asm_test.Asm_Test
int run_addr = 0x0
 

Additional Inherited Members

- Public Attributes inherited from asm_test.Asm_Test
 loc_db
 
 myjit
 
 assembly
 

Member Function Documentation

◆ check()

def mn_strings.Test_SCAS.check (   self)

Reimplemented from asm_test.Asm_Test.

Member Data Documentation

◆ MYSTRING

string mn_strings.Test_SCAS.MYSTRING = "test string"
static

◆ TXT

string mn_strings.Test_SCAS.TXT
static
Initial value:
= '''
main:
LEA EDI, DWORD PTR [mystr]
XOR ECX, ECX
DEC ECX
REPNE SCASB
NOT ECX
DEC ECX
RET
mystr:
.string "%s"
''' % MYSTRING

The documentation for this class was generated from the following file: