diff options
| author | Fabrice Desclaux <fabrice.desclaux@cea.fr> | 2015-02-20 14:05:49 +0100 |
|---|---|---|
| committer | Fabrice Desclaux <fabrice.desclaux@cea.fr> | 2015-02-20 14:05:49 +0100 |
| commit | c166f6cf0eb5d8dd697f03cb89c2703db1554b2b (patch) | |
| tree | 878c5e56046c920e58548fd522140fa73b3bed0e /test/test_all.py | |
| parent | 82d3e73cd19f3638265d35f765cdab1dc13d1ddb (diff) | |
| download | miasm-c166f6cf0eb5d8dd697f03cb89c2703db1554b2b.tar.gz miasm-c166f6cf0eb5d8dd697f03cb89c2703db1554b2b.zip | |
X86: add regression tests for bsf/bsr
Diffstat (limited to 'test/test_all.py')
| -rw-r--r-- | test/test_all.py | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/test/test_all.py b/test/test_all.py index a2fd6df3..1e5de442 100644 --- a/test/test_all.py +++ b/test/test_all.py @@ -68,7 +68,9 @@ class SemanticTestAsm(RegressionTest): class SemanticTestExec(RegressionTest): """Execute a binary file""" - launcher_dct = {("PE", "x86_64"): "sandbox_pe_x86_64.py"} + launcher_dct = {("PE", "x86_64"): "sandbox_pe_x86_64.py", + ("PE", "x86_32"): "sandbox_pe_x86_32.py", + } launcher_base = os.path.join("..", "example", "jitter") def __init__(self, arch, container, address, *args, **kwargs): @@ -86,9 +88,13 @@ class SemanticTestExec(RegressionTest): test_x86_64_mul_div = SemanticTestAsm("x86_64", "PE", ["mul_div"]) +test_x86_32_bsr_bsf = SemanticTestAsm("x86_32", "PE", ["bsr_bsf"]) testset += test_x86_64_mul_div +testset += test_x86_32_bsr_bsf testset += SemanticTestExec("x86_64", "PE", 0x401000, ["mul_div"], depends=[test_x86_64_mul_div]) +testset += SemanticTestExec("x86_32", "PE", 0x401000, ["bsr_bsf"], + depends=[test_x86_32_bsr_bsf]) ## Core for script in ["interval.py", |