miasm
Reverse engineering framework
|
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 |
def asm_test.Asm_Test.__init__ | ( | self, | |
jitter | |||
) |
Reimplemented in asm_test.Asm_Test_16, and mn_int.Test_INT.
def asm_test.Asm_Test.__init__ | ( | self, | |
jitter | |||
) |
Reimplemented in asm_test.Asm_Test_16, and mn_int.Test_INT.
def asm_test.Asm_Test.__init__ | ( | self, | |
jitter_engine | |||
) |
Reimplemented in asm_test.Asm_Test_16, and mn_int.Test_INT.
def asm_test.Asm_Test.__call__ | ( | self | ) |
def asm_test.Asm_Test.__call__ | ( | self | ) |
def asm_test.Asm_Test.__call__ | ( | self | ) |
def asm_test.Asm_Test.asm | ( | self | ) |
def asm_test.Asm_Test.asm | ( | self | ) |
def asm_test.Asm_Test.asm | ( | self | ) |
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.
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.
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.
def asm_test.Asm_Test.prepare | ( | self | ) |
Reimplemented in 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_pcmpeq.Test_PCMPEQQ, mn_getset128.Test_get_set_128, 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, and mn_cdq.Test_CBW_16.
def asm_test.Asm_Test.run | ( | self | ) |
def asm_test.Asm_Test.run | ( | self | ) |
def asm_test.Asm_Test.run | ( | self | ) |
def asm_test.Asm_Test.test_init | ( | self | ) |
Reimplemented in 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_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, and mn_cdq.Test_CBW_16.
asm_test.Asm_Test.assembly |
asm_test.Asm_Test.loc_db |
asm_test.Asm_Test.myjit |
|
static |