miasm
Reverse engineering framework
test_all.py File Reference

Classes

class  test_all.RegressionTest
 
class  test_all.ArchUnitTest
 ArchUnit regression tests. More...
 
class  test_all.QEMUTest
 QEMU regression tests. More...
 
class  test_all.QEMUTestx86_64
 
class  test_all.SemanticTestAsm
 Semantic. More...
 
class  test_all.SemanticTestExec
 
class  test_all.TestDepgraph
 Degraph. More...
 
class  test_all.Example
 
class  test_all.ExampleAssembler
 Assembler. More...
 
class  test_all.ExampleShellcode
 
class  test_all.ExampleDisassembler
 
class  test_all.ExampleDisasmFull
 
class  test_all.ExampleExpression
 Expression. More...
 
class  test_all.ExampleLoader
 Loader. More...
 
class  test_all.ExampleSymbolExec
 Symbolic Execution. More...
 
class  test_all.ExampleJitter
 Jitter. More...
 
class  test_all.ExampleJitterNoPython
 

Namespaces

 test_all
 

Variables

string test_all.is_win = "Windows"
 
string test_all.is_64bit = "64bit"
 
 test_all.testset = TestSet("../")
 
dictionary test_all.TAGS
 
 test_all.base_dir
 Architecture. More...
 
 test_all.products
 
dictionary test_all.blacklist
 
list test_all.tags = [TAGS[jitter]] if jitter in TAGS else []
 
 test_all.script
 
 test_all.jitter
 
list test_all.QEMU_TESTS
 
 test_all.test_name
 
list test_all.QEMU_TESTS_x86_64
 
 test_all.test_x86_64_mul_div = SemanticTestAsm("x86_64", "PE", ["mul_div"])
 
 test_all.test_x86_32_bsr_bsf = SemanticTestAsm("x86_32", "PE", ["bsr_bsf"])
 
 test_all.depends
 
string test_all.input_name = "cst_propag/x86_32_sc_%d" % i
 
string test_all.bin_name = "samples/x86_32/%s.bin" % input_name
 
 test_all.test_x86_32_cst = SemanticTestAsm("x86_32", None, [input_name])
 
list test_all.test_args
 
 test_all.test_dg = SemanticTestAsm("x86_32", "PE", ["dg_test_%.2d" % i])
 
dictionary test_all.test_box = {}
 
list test_all.test_box_names = ["mod", "mod_self", "repmod", "simple", "enc", "pop_esp", "automod"]
 
string test_all.sample_base = "x86_32_" + source
 
list test_all.args = ["x86_32", sample_base + ".S", sample_base + ".bin", "--PE"]
 
 test_all.test_armb = ExampleShellcode(["armb", "arm_simple.S", "demo_arm_b.bin"])
 
 test_all.test_arml = ExampleShellcode(["arml", "arm_simple.S", "demo_arm_l.bin"])
 
 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_armb_sc = ExampleShellcode(["armb", "arm_sc.S", "demo_arm2_b.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"])
 
 test_all.test_msp430 = ExampleShellcode(["msp430", "msp430.S", "msp430_sc.bin"])
 
 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_x86_64
 
 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_32_dead = ExampleShellcode(['x86_32', 'x86_32_dead.S', "x86_32_dead.bin"])
 
 test_all.test_x86_32_automod_2
 
 test_all.test_x86_32_dis
 
 test_all.test_human = ExampleShellcode(["x86_64", "human.S", "human.bin"])
 
 test_all.prods
 
 test_all.dse_crackme_out = Example.get_sample("dse_crackme")
 
 test_all.parser = argparse.ArgumentParser(description="Miasm2 testing tool")
 
 test_all.help
 
 test_all.action
 
 test_all.default
 
bool test_all.multiproc = True
 Parse multiproc argument. More...
 
list test_all.exclude_tags = []
 Parse omit-tags and only-tags argument. More...
 
list test_all.include_tags = []
 
 test_all.coveragerc = None
 
string test_all.suffix = "_" + str(int(time.time()))
 
 test_all.cov_dir = tempfile.mkdtemp(suffix, "m2_coverage_")
 
 test_all.coverage = os.path.join(cov_dir, ".coverage")
 
 test_all.config = ConfigParser()
 
dictionary test_all.d
 
bool test_all.llvm = True
 
list test_all.test_ko = []
 
list test_all.test_ok = []
 
 test_all.task_done
 
 test_all.task_new
 
 test_all.clean
 
string test_all.command_line = " ".join(test.command_line)