miasm
Reverse engineering framework
asm_test.Asm_Test Class Reference
Inheritance diagram for asm_test.Asm_Test:
Collaboration diagram for asm_test.Asm_Test:

Public Member Functions

def __init__ (self, jitter)
 
def __call__ (self)
 
def asm (self)
 
def run (self)
 
def check (self)
 
def __init__ (self, jitter)
 
def __call__ (self)
 
def asm (self)
 
def run (self)
 
def check (self)
 
def __init__ (self, jitter_engine)
 
def test_init (self)
 
def prepare (self)
 
def __call__ (self)
 
def run (self)
 
def asm (self)
 
def check (self)
 

Public Attributes

 loc_db
 
 myjit
 
 assembly
 

Static Public Attributes

int run_addr = 0x0
 

Constructor & Destructor Documentation

◆ __init__() [1/3]

def asm_test.Asm_Test.__init__ (   self,
  jitter 
)

Reimplemented in asm_test.Asm_Test_16, and mn_int.Test_INT.

Here is the caller graph for this function:

◆ __init__() [2/3]

def asm_test.Asm_Test.__init__ (   self,
  jitter 
)

Reimplemented in asm_test.Asm_Test_16, and mn_int.Test_INT.

Here is the call graph for this function:

◆ __init__() [3/3]

def asm_test.Asm_Test.__init__ (   self,
  jitter_engine 
)

Reimplemented in asm_test.Asm_Test_16, and mn_int.Test_INT.

Here is the call graph for this function:

Member Function Documentation

◆ __call__() [1/3]

def asm_test.Asm_Test.__call__ (   self)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ __call__() [2/3]

def asm_test.Asm_Test.__call__ (   self)
Here is the call graph for this function:

◆ __call__() [3/3]

def asm_test.Asm_Test.__call__ (   self)

◆ asm() [1/3]

def asm_test.Asm_Test.asm (   self)
Here is the caller graph for this function:

◆ asm() [2/3]

def asm_test.Asm_Test.asm (   self)
Here is the call graph for this function:

◆ asm() [3/3]

def asm_test.Asm_Test.asm (   self)
Here is the call graph for this function:

◆ check() [1/3]

def asm_test.Asm_Test.check (   self)

Reimplemented in mn_strings.Test_MOVS, mn_strings.Test_SCAS, mn_stack.Test_PUSHPOP, mn_seh.Test_SEH_simple, mn_rotsh.Test_SHLD, mn_rotsh.Test_SHR_X8_64_32, mn_rotsh.Test_SHR_8_64_32, mn_rotsh.Test_SHR_0_64_32, mn_rotsh.Test_ROR_X8_64_32, mn_rotsh.Test_ROR_8_64_32, mn_rotsh.Test_ROR_0_64_32, mn_rotsh.Test_SHR_X8, mn_rotsh.Test_SHR_8, mn_rotsh.Test_SHR_0, mn_rotsh.Test_ROR_X8, mn_rotsh.Test_ROR_8, mn_rotsh.Test_ROR_0, mn_pushpop.Test_POP_mode16_32, mn_pushpop.Test_POP_mode16_16, mn_pushpop.Test_POP_mode32_16, mn_pushpop.Test_POP_mode32_32, mn_pushpop.Test_PUSH_mode16_32, mn_pushpop.Test_PUSH_mode16_16, mn_pushpop.Test_PUSH_mode32_16, mn_pushpop.Test_PUSH_mode32_32, mn_pushpop.Test_PUSHAD_16, mn_pushpop.Test_PUSHA_16, mn_pushpop.Test_PUSHA_32, mn_pushpop.Test_PUSHAD_32, mn_punpck.Test_PUNPCKLDQ, mn_punpck.Test_PUNPCKLWD, mn_punpck.Test_PUNPCKLBW, mn_punpck.Test_PUNPCKHDQ, mn_punpck.Test_PUNPCKHWD, mn_punpck.Test_PUNPCKHBW, mn_psrl_psll.Test_PSLL, mn_psrl_psll.Test_PSRL, mn_pshufb.Test_PSHUFB, mn_pmovmskb.Test_PMOVMSKB, mn_pminu.Test_PMINU, mn_pmaxu.Test_PMAXU, mn_pinsr.Test_PINSRB, mn_pextr.Test_PEXTRB, mn_pcmpeq.Test_PCMPEQQ, mn_pcmpeq.Test_PCMPEQD, mn_pcmpeq.Test_PCMPEQW, mn_pcmpeq.Test_PCMPEQB, mn_int.Test_INT, mn_getset128.Test_get_set_128, mn_float.Test_FADD, mn_div.Test_DIV, mn_das.Test_DAS, mn_daa.Test_DAA, mn_cpuid.Test_CPUID, mn_cmov.Test_CMOVZ_KO_64_32, mn_cmov.Test_CMOVZ_OK_64_32, mn_cmov.Test_CMOVZ_KO, mn_cmov.Test_CMOVZ_OK, mn_cdq.Test_CQO_64_signed, mn_cdq.Test_CQO_64, mn_cdq.Test_CWDE_64_signed, mn_cdq.Test_CWDE_64, mn_cdq.Test_CWDE_32_signed, mn_cdq.Test_CWDE_32, mn_cdq.Test_CWD_32, mn_cdq.Test_CWD_32_signed, mn_cdq.Test_CWD_32, mn_cdq.Test_CDQE_64_signed, mn_cdq.Test_CDQE_64, mn_cdq.Test_CDQ_64_signed, mn_cdq.Test_CDQ_64, mn_cdq.Test_CDQ_32_signed, mn_cdq.Test_CDQ_32, mn_cdq.Test_CBW_32_signed, mn_cdq.Test_CBW_32, mn_cdq.Test_CBW_16_signed, mn_cdq.Test_CBW_16, mn_bcc.Test_BCC, mn_ubfm.Test_UBFM2, and mn_ubfm.Test_UBFM1.

Here is the caller graph for this function:

◆ check() [2/3]

def asm_test.Asm_Test.check (   self)

Reimplemented in mn_strings.Test_MOVS, mn_strings.Test_SCAS, mn_stack.Test_PUSHPOP, mn_seh.Test_SEH_simple, mn_rotsh.Test_SHLD, mn_rotsh.Test_SHR_X8_64_32, mn_rotsh.Test_SHR_8_64_32, mn_rotsh.Test_SHR_0_64_32, mn_rotsh.Test_ROR_X8_64_32, mn_rotsh.Test_ROR_8_64_32, mn_rotsh.Test_ROR_0_64_32, mn_rotsh.Test_SHR_X8, mn_rotsh.Test_SHR_8, mn_rotsh.Test_SHR_0, mn_rotsh.Test_ROR_X8, mn_rotsh.Test_ROR_8, mn_rotsh.Test_ROR_0, mn_pushpop.Test_POP_mode16_32, mn_pushpop.Test_POP_mode16_16, mn_pushpop.Test_POP_mode32_16, mn_pushpop.Test_POP_mode32_32, mn_pushpop.Test_PUSH_mode16_32, mn_pushpop.Test_PUSH_mode16_16, mn_pushpop.Test_PUSH_mode32_16, mn_pushpop.Test_PUSH_mode32_32, mn_pushpop.Test_PUSHAD_16, mn_pushpop.Test_PUSHA_16, mn_pushpop.Test_PUSHA_32, mn_pushpop.Test_PUSHAD_32, mn_punpck.Test_PUNPCKLDQ, mn_punpck.Test_PUNPCKLWD, mn_punpck.Test_PUNPCKLBW, mn_punpck.Test_PUNPCKHDQ, mn_punpck.Test_PUNPCKHWD, mn_punpck.Test_PUNPCKHBW, mn_psrl_psll.Test_PSLL, mn_psrl_psll.Test_PSRL, mn_pshufb.Test_PSHUFB, mn_pmovmskb.Test_PMOVMSKB, mn_pminu.Test_PMINU, mn_pmaxu.Test_PMAXU, mn_pinsr.Test_PINSRB, mn_pextr.Test_PEXTRB, mn_pcmpeq.Test_PCMPEQQ, mn_pcmpeq.Test_PCMPEQD, mn_pcmpeq.Test_PCMPEQW, mn_pcmpeq.Test_PCMPEQB, mn_int.Test_INT, mn_getset128.Test_get_set_128, mn_float.Test_FADD, mn_div.Test_DIV, mn_das.Test_DAS, mn_daa.Test_DAA, mn_cpuid.Test_CPUID, mn_cmov.Test_CMOVZ_KO_64_32, mn_cmov.Test_CMOVZ_OK_64_32, mn_cmov.Test_CMOVZ_KO, mn_cmov.Test_CMOVZ_OK, mn_cdq.Test_CQO_64_signed, mn_cdq.Test_CQO_64, mn_cdq.Test_CWDE_64_signed, mn_cdq.Test_CWDE_64, mn_cdq.Test_CWDE_32_signed, mn_cdq.Test_CWDE_32, mn_cdq.Test_CWD_32, mn_cdq.Test_CWD_32_signed, mn_cdq.Test_CWD_32, mn_cdq.Test_CDQE_64_signed, mn_cdq.Test_CDQE_64, mn_cdq.Test_CDQ_64_signed, mn_cdq.Test_CDQ_64, mn_cdq.Test_CDQ_32_signed, mn_cdq.Test_CDQ_32, mn_cdq.Test_CBW_32_signed, mn_cdq.Test_CBW_32, mn_cdq.Test_CBW_16_signed, mn_cdq.Test_CBW_16, mn_bcc.Test_BCC, mn_ubfm.Test_UBFM2, and mn_ubfm.Test_UBFM1.

Here is the call graph for this function:

◆ check() [3/3]

def asm_test.Asm_Test.check (   self)

Reimplemented in mn_strings.Test_MOVS, mn_strings.Test_SCAS, mn_stack.Test_PUSHPOP, mn_seh.Test_SEH_simple, mn_rotsh.Test_SHLD, mn_rotsh.Test_SHR_X8_64_32, mn_rotsh.Test_SHR_8_64_32, mn_rotsh.Test_SHR_0_64_32, mn_rotsh.Test_ROR_X8_64_32, mn_rotsh.Test_ROR_8_64_32, mn_rotsh.Test_ROR_0_64_32, mn_rotsh.Test_SHR_X8, mn_rotsh.Test_SHR_8, mn_rotsh.Test_SHR_0, mn_rotsh.Test_ROR_X8, mn_rotsh.Test_ROR_8, mn_rotsh.Test_ROR_0, mn_pushpop.Test_POP_mode16_32, mn_pushpop.Test_POP_mode16_16, mn_pushpop.Test_POP_mode32_16, mn_pushpop.Test_POP_mode32_32, mn_pushpop.Test_PUSH_mode16_32, mn_pushpop.Test_PUSH_mode16_16, mn_pushpop.Test_PUSH_mode32_16, mn_pushpop.Test_PUSH_mode32_32, mn_pushpop.Test_PUSHAD_16, mn_pushpop.Test_PUSHA_16, mn_pushpop.Test_PUSHA_32, mn_pushpop.Test_PUSHAD_32, mn_punpck.Test_PUNPCKLDQ, mn_punpck.Test_PUNPCKLWD, mn_punpck.Test_PUNPCKLBW, mn_punpck.Test_PUNPCKHDQ, mn_punpck.Test_PUNPCKHWD, mn_punpck.Test_PUNPCKHBW, mn_psrl_psll.Test_PSLL, mn_psrl_psll.Test_PSRL, mn_pshufb.Test_PSHUFB, mn_pmovmskb.Test_PMOVMSKB, mn_pminu.Test_PMINU, mn_pmaxu.Test_PMAXU, mn_pinsr.Test_PINSRB, mn_pextr.Test_PEXTRB, mn_pcmpeq.Test_PCMPEQQ, mn_pcmpeq.Test_PCMPEQD, mn_pcmpeq.Test_PCMPEQW, mn_pcmpeq.Test_PCMPEQB, mn_int.Test_INT, mn_getset128.Test_get_set_128, mn_float.Test_FADD, mn_div.Test_DIV, mn_das.Test_DAS, mn_daa.Test_DAA, mn_cpuid.Test_CPUID, mn_cmov.Test_CMOVZ_KO_64_32, mn_cmov.Test_CMOVZ_OK_64_32, mn_cmov.Test_CMOVZ_KO, mn_cmov.Test_CMOVZ_OK, mn_cdq.Test_CQO_64_signed, mn_cdq.Test_CQO_64, mn_cdq.Test_CWDE_64_signed, mn_cdq.Test_CWDE_64, mn_cdq.Test_CWDE_32_signed, mn_cdq.Test_CWDE_32, mn_cdq.Test_CWD_32, mn_cdq.Test_CWD_32_signed, mn_cdq.Test_CWD_32, mn_cdq.Test_CDQE_64_signed, mn_cdq.Test_CDQE_64, mn_cdq.Test_CDQ_64_signed, mn_cdq.Test_CDQ_64, mn_cdq.Test_CDQ_32_signed, mn_cdq.Test_CDQ_32, mn_cdq.Test_CBW_32_signed, mn_cdq.Test_CBW_32, mn_cdq.Test_CBW_16_signed, mn_cdq.Test_CBW_16, mn_bcc.Test_BCC, mn_ubfm.Test_UBFM2, and mn_ubfm.Test_UBFM1.

Here is the call graph for this function:

◆ prepare()

◆ run() [1/3]

def asm_test.Asm_Test.run (   self)
Here is the caller graph for this function:

◆ run() [2/3]

def asm_test.Asm_Test.run (   self)
Here is the call graph for this function:

◆ run() [3/3]

def asm_test.Asm_Test.run (   self)
Here is the call graph for this function:

◆ test_init()

Member Data Documentation

◆ assembly

asm_test.Asm_Test.assembly

◆ loc_db

asm_test.Asm_Test.loc_db

◆ myjit

asm_test.Asm_Test.myjit

◆ run_addr

int asm_test.Asm_Test.run_addr = 0x0
static

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