diff options
| author | Fabrice Desclaux <fabrice.desclaux@cea.fr> | 2015-08-04 09:12:50 +0200 |
|---|---|---|
| committer | Fabrice Desclaux <fabrice.desclaux@cea.fr> | 2015-08-09 00:38:39 +0200 |
| commit | 1b06efb495f1115f704c1d2a3122cf06e1b0a857 (patch) | |
| tree | 1b1cf8a728114208ac09e713957a9e9b70d0de40 /test/test_all.py | |
| parent | 3e168dc130dbf8183eaa023441d57dd2f09b80d1 (diff) | |
| download | miasm-1b06efb495f1115f704c1d2a3122cf06e1b0a857.tar.gz miasm-1b06efb495f1115f704c1d2a3122cf06e1b0a857.zip | |
Test/aarch64: add unit test
Diffstat (limited to 'test/test_all.py')
| -rw-r--r-- | test/test_all.py | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/test/test_all.py b/test/test_all.py index 5f8f6ea7..7270af3d 100644 --- a/test/test_all.py +++ b/test/test_all.py @@ -40,6 +40,7 @@ for script in ["x86/sem.py", "x86/unit/mn_das.py", "arm/arch.py", "arm/sem.py", + "aarch64/unit/mn_ubfm.py", "msp430/arch.py", "msp430/sem.py", "sh4/arch.py", @@ -214,6 +215,8 @@ for source in test_box_names: 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"]) @@ -226,6 +229,8 @@ test_x86_64 = ExampleShellcode(["x86_64", "x86_64.S", "demo_x86_64.bin", testset += test_armb testset += test_arml +testset += test_aarch64b +testset += test_aarch64l testset += test_armb_sc testset += test_arml_sc testset += test_armtb @@ -277,6 +282,10 @@ testset += ExampleDisasmFull(["armtl", Example.get_sample("demo_armt_l.bin"), "0"], depends=[test_armtl]) testset += ExampleDisasmFull(["armtb", Example.get_sample("demo_armt_b.bin"), "0"], depends=[test_armtb]) +testset += ExampleDisasmFull(["aarch64l", Example.get_sample("demo_aarch64_l.bin"), + "0"], depends=[test_aarch64l]) +testset += ExampleDisasmFull(["aarch64b", Example.get_sample("demo_aarch64_b.bin"), + "0"], depends=[test_aarch64b]) testset += ExampleDisasmFull(["x86_32", Example.get_sample("x86_32_simple.bin"), "0x401000"], depends=[test_box["simple"]]) testset += ExampleDisasmFull(["msp430", Example.get_sample("msp430_sc.bin"), @@ -287,6 +296,8 @@ testset += ExampleDisasmFull(["mips32b", Example.get_sample("mips32_sc_b.bin"), "0"], depends=[test_mips32b]) testset += ExampleDisasmFull(["x86_64", Example.get_sample("demo_x86_64.bin"), "0x401000"], depends=[test_x86_64]) +testset += ExampleDisasmFull(["aarch64l", Example.get_sample("md5_aarch64l"), + "0x400A00"], depends=[test_aarch64l]) ## Expression |