![]() |
miasm
Reverse engineering framework
|
Classes | |
| class | ArchUnitTest |
| ArchUnit regression tests. More... | |
| class | Example |
| class | ExampleAssembler |
| Assembler. More... | |
| class | ExampleDisasmFull |
| class | ExampleDisassembler |
| class | ExampleExpression |
| Expression. More... | |
| class | ExampleJitter |
| Jitter. More... | |
| class | ExampleJitterNoPython |
| class | ExampleLoader |
| Loader. More... | |
| class | ExampleShellcode |
| class | ExampleSymbolExec |
| Symbolic Execution. More... | |
| class | QEMUTest |
| QEMU regression tests. More... | |
| class | QEMUTestx86_64 |
| class | RegressionTest |
| class | SemanticTestAsm |
| Semantic. More... | |
| class | SemanticTestExec |
| class | TestDepgraph |
| Degraph. More... | |
Variables | |
| string | is_win = "Windows" |
| string | is_64bit = "64bit" |
| testset = TestSet("../") | |
| dictionary | TAGS |
| base_dir | |
| Architecture. More... | |
| products | |
| dictionary | blacklist |
| list | tags = [TAGS[jitter]] if jitter in TAGS else [] |
| script | |
| jitter | |
| list | QEMU_TESTS |
| test_name | |
| list | QEMU_TESTS_x86_64 |
| test_x86_64_mul_div = SemanticTestAsm("x86_64", "PE", ["mul_div"]) | |
| test_x86_32_bsr_bsf = SemanticTestAsm("x86_32", "PE", ["bsr_bsf"]) | |
| depends | |
| string | input_name = "cst_propag/x86_32_sc_%d" % i |
| string | bin_name = "samples/x86_32/%s.bin" % input_name |
| test_x86_32_cst = SemanticTestAsm("x86_32", None, [input_name]) | |
| list | test_args |
| test_dg = SemanticTestAsm("x86_32", "PE", ["dg_test_%.2d" % i]) | |
| dictionary | test_box = {} |
| list | test_box_names = ["mod", "mod_self", "repmod", "simple", "enc", "pop_esp", "automod"] |
| string | sample_base = "x86_32_" + source |
| list | args = ["x86_32", sample_base + ".S", sample_base + ".bin", "--PE"] |
| test_armb = ExampleShellcode(["armb", "arm_simple.S", "demo_arm_b.bin"]) | |
| test_arml = ExampleShellcode(["arml", "arm_simple.S", "demo_arm_l.bin"]) | |
| test_aarch64b = ExampleShellcode(["aarch64b", "aarch64_simple.S", "demo_aarch64_b.bin"]) | |
| test_aarch64l = ExampleShellcode(["aarch64l", "aarch64_simple.S", "demo_aarch64_l.bin"]) | |
| test_armb_sc = ExampleShellcode(["armb", "arm_sc.S", "demo_arm2_b.bin"]) | |
| test_arml_sc = ExampleShellcode(["arml", "arm_sc.S", "demo_arm2_l.bin"]) | |
| test_armtb = ExampleShellcode(["armtb", "armt.S", "demo_armt_b.bin"]) | |
| test_armtl = ExampleShellcode(["armtl", "armt.S", "demo_armt_l.bin"]) | |
| test_msp430 = ExampleShellcode(["msp430", "msp430.S", "msp430_sc.bin"]) | |
| test_mips32b = ExampleShellcode(["mips32b", "mips32.S", "mips32_sc_b.bin"]) | |
| test_mips32l = ExampleShellcode(["mips32l", "mips32.S", "mips32_sc_l.bin"]) | |
| test_x86_64 | |
| test_x86_32_if_reg = ExampleShellcode(['x86_32', 'x86_32_if_reg.S', "x86_32_if_reg.bin"]) | |
| test_x86_32_seh | |
| test_x86_32_dead = ExampleShellcode(['x86_32', 'x86_32_dead.S', "x86_32_dead.bin"]) | |
| test_x86_32_automod_2 | |
| test_x86_32_dis | |
| test_human = ExampleShellcode(["x86_64", "human.S", "human.bin"]) | |
| prods | |
| dse_crackme_out = Example.get_sample("dse_crackme") | |
| parser = argparse.ArgumentParser(description="Miasm2 testing tool") | |
| help | |
| action | |
| default | |
| bool | multiproc = True |
| Parse multiproc argument. More... | |
| list | exclude_tags = [] |
| Parse omit-tags and only-tags argument. More... | |
| list | include_tags = [] |
| coveragerc = None | |
| string | suffix = "_" + str(int(time.time())) |
| cov_dir = tempfile.mkdtemp(suffix, "m2_coverage_") | |
| coverage = os.path.join(cov_dir, ".coverage") | |
| config = ConfigParser() | |
| dictionary | d |
| bool | llvm = True |
| list | test_ko = [] |
| list | test_ok = [] |
| task_done | |
| task_new | |
| clean | |
| string | command_line = " ".join(test.command_line) |
| test_all.action |
| test_all.args = ["x86_32", sample_base + ".S", sample_base + ".bin", "--PE"] |
| test_all.base_dir |
Architecture.
Toshiba MeP.
Jitter.
Analysis.
OS_DEP.
IR.
ObjC/CHandler.
Expression.
Core.
| string test_all.bin_name = "samples/x86_32/%s.bin" % input_name |
| dictionary test_all.blacklist |
| test_all.clean |
| string test_all.command_line = " ".join(test.command_line) |
| test_all.config = ConfigParser() |
| test_all.cov_dir = tempfile.mkdtemp(suffix, "m2_coverage_") |
| test_all.coverage = os.path.join(cov_dir, ".coverage") |
| test_all.coveragerc = None |
| dictionary test_all.d |
| test_all.default |
| test_all.depends |
| test_all.dse_crackme_out = Example.get_sample("dse_crackme") |
| test_all.exclude_tags = [] |
Parse omit-tags and only-tags argument.
| test_all.help |
| test_all.include_tags = [] |
| string test_all.input_name = "cst_propag/x86_32_sc_%d" % i |
| string test_all.is_64bit = "64bit" |
| string test_all.is_win = "Windows" |
| test_all.jitter |
| bool test_all.llvm = True |
| bool test_all.multiproc = True |
Parse multiproc argument.
| test_all.parser = argparse.ArgumentParser(description="Miasm2 testing tool") |
| test_all.prods |
| test_all.products |
| list test_all.QEMU_TESTS |
| list test_all.QEMU_TESTS_x86_64 |
| string test_all.sample_base = "x86_32_" + source |
| test_all.script |
| string test_all.suffix = "_" + str(int(time.time())) |
| dictionary test_all.TAGS |
| test_all.task_done |
| test_all.task_new |
| test_all.test_aarch64b = ExampleShellcode(["aarch64b", "aarch64_simple.S", "demo_aarch64_b.bin"]) |
| test_all.test_aarch64l = ExampleShellcode(["aarch64l", "aarch64_simple.S", "demo_aarch64_l.bin"]) |
| test_all.test_args |
| test_all.test_armb = ExampleShellcode(["armb", "arm_simple.S", "demo_arm_b.bin"]) |
| test_all.test_armb_sc = ExampleShellcode(["armb", "arm_sc.S", "demo_arm2_b.bin"]) |
| test_all.test_arml = ExampleShellcode(["arml", "arm_simple.S", "demo_arm_l.bin"]) |
| test_all.test_arml_sc = ExampleShellcode(["arml", "arm_sc.S", "demo_arm2_l.bin"]) |
| test_all.test_armtb = ExampleShellcode(["armtb", "armt.S", "demo_armt_b.bin"]) |
| test_all.test_armtl = ExampleShellcode(["armtl", "armt.S", "demo_armt_l.bin"]) |
| dictionary test_all.test_box = {} |
| list test_all.test_box_names = ["mod", "mod_self", "repmod", "simple", "enc", "pop_esp", "automod"] |
| test_all.test_dg = SemanticTestAsm("x86_32", "PE", ["dg_test_%.2d" % i]) |
| test_all.test_human = ExampleShellcode(["x86_64", "human.S", "human.bin"]) |
| list test_all.test_ko = [] |
| test_all.test_mips32b = ExampleShellcode(["mips32b", "mips32.S", "mips32_sc_b.bin"]) |
| test_all.test_mips32l = ExampleShellcode(["mips32l", "mips32.S", "mips32_sc_l.bin"]) |
| test_all.test_msp430 = ExampleShellcode(["msp430", "msp430.S", "msp430_sc.bin"]) |
| test_all.test_name |
| list test_all.test_ok = [] |
| test_all.test_x86_32_automod_2 |
| test_all.test_x86_32_bsr_bsf = SemanticTestAsm("x86_32", "PE", ["bsr_bsf"]) |
| test_all.test_x86_32_cst = SemanticTestAsm("x86_32", None, [input_name]) |
| test_all.test_x86_32_dead = ExampleShellcode(['x86_32', 'x86_32_dead.S', "x86_32_dead.bin"]) |
| test_all.test_x86_32_dis |
| test_all.test_x86_32_if_reg = ExampleShellcode(['x86_32', 'x86_32_if_reg.S', "x86_32_if_reg.bin"]) |
| test_all.test_x86_32_seh |
| test_all.test_x86_64 |
| test_all.test_x86_64_mul_div = SemanticTestAsm("x86_64", "PE", ["mul_div"]) |
| test_all.testset = TestSet("../") |