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

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_MOVS.check (   self)

Reimplemented from asm_test.Asm_Test.

Here is the call graph for this function:

Member Data Documentation

◆ MYSTRING

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

◆ TXT

string mn_strings.Test_MOVS.TXT
static
Initial value:
= '''
main:
LEA ESI, DWORD PTR [mystr]
LEA EDI, DWORD PTR [buffer]
MOV ECX, %d
REPE MOVSB
RET
mystr:
.string "%s"
buffer:
.string "%s"
''' % (len(MYSTRING), MYSTRING, " "*len(MYSTRING))

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