about summary refs log tree commit diff stats
path: root/test/test_all.py
diff options
context:
space:
mode:
authorAjax <commial@gmail.com>2017-04-10 14:39:19 +0200
committerAjax <commial@gmail.com>2017-04-18 16:09:05 +0200
commit823df1c29dc034626dff5529d20114e290050d3a (patch)
tree5500f8326f4a5242acf4ef67c2a001cffa3ad19b /test/test_all.py
parent3c7c463563ca11033e25a01c62aa616ec1b4cdee (diff)
downloadmiasm-823df1c29dc034626dff5529d20114e290050d3a.tar.gz
miasm-823df1c29dc034626dff5529d20114e290050d3a.zip
Add an example illustrating DSE
Diffstat (limited to 'test/test_all.py')
-rwxr-xr-xtest/test_all.py11
1 files changed, 11 insertions, 0 deletions
diff --git a/test/test_all.py b/test/test_all.py
index 9b3f2dc1..633798f0 100755
--- a/test/test_all.py
+++ b/test/test_all.py
@@ -585,6 +585,17 @@ for options, nb_sol, tag in [([], 4, []),
                                  depends=[test_x86_32_if_reg],
                                  tags=tag)
 
+dse_crackme_out = Example.get_sample("dse_crackme.c")[:-2]
+dse_crackme = ExampleSymbolExec([Example.get_sample("dse_crackme.c"),
+                                 "-o", dse_crackme_out],
+                                products=[dse_crackme_out],
+                                executable="cc")
+testset += dse_crackme
+testset += ExampleSymbolExec(["dse_crackme.py", dse_crackme_out],
+                             depends=[dse_crackme],
+                             products=["test.txt"],
+                             tags=[TAGS["z3"]])
+
 ## Jitter
 class ExampleJitter(Example):
     """Jitter examples specificities: