miasm
Reverse engineering framework
mn_psrl_psll.Test_PSRL Class Reference
Inheritance diagram for mn_psrl_psll.Test_PSRL:
Collaboration diagram for mn_psrl_psll.Test_PSRL:

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

Reimplemented from asm_test.Asm_Test.

Member Data Documentation

◆ TXT

string mn_psrl_psll.Test_PSRL.TXT
static
Initial value:
= '''
main:
CALL next
.byte 0x88, 0x77, 0x66, 0x55, 0x44, 0x33, 0x22, 0x11
.byte 0x4, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0
next:
POP EBP
MOVQ MM0, QWORD PTR [EBP]
MOVQ MM1, MM0
MOVQ MM2, MM0
MOVQ MM3, MM0
PSRLW MM1, QWORD PTR [EBP+0x8]
PSRLD MM2, QWORD PTR [EBP+0x8]
PSRLQ MM3, QWORD PTR [EBP+0x8]
RET
'''

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