diff options
| author | Ajax <commial@gmail.com> | 2015-04-21 17:25:58 +0200 |
|---|---|---|
| committer | Ajax <commial@gmail.com> | 2015-04-24 08:11:37 +0200 |
| commit | 8ed048f3bd64e51b4a508d90255e4fe4fe530b87 (patch) | |
| tree | 0ea01c51edbd6fe18035e1c81f995ce174b79e53 /test/test_all.py | |
| parent | 974f8fa071d4ccf160911d9340e65183f90db440 (diff) | |
| download | miasm-8ed048f3bd64e51b4a508d90255e4fe4fe530b87.tar.gz miasm-8ed048f3bd64e51b4a508d90255e4fe4fe530b87.zip | |
Depgraph: Add a new example `depgraph` calling DepGraph with options
Diffstat (limited to 'test/test_all.py')
| -rw-r--r-- | test/test_all.py | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/test/test_all.py b/test/test_all.py index 7e70cb4c..07e1c509 100644 --- a/test/test_all.py +++ b/test/test_all.py @@ -321,6 +321,15 @@ class ExampleSymbolExec(Example): testset += ExampleSymbolExec(["single_instr.py"]) +for options, nb_sol in [([], 8), + (["-i"], 12)]: + testset += ExampleSymbolExec(["depgraph.py", + Example.get_sample("simple_test.bin"), + "-m", "x86_32", "0x0", "0x8b", + "eax"] + options, + products=["sol_%d.dot" % nb + for nb in xrange(nb_sol)]) + ## Jitter class ExampleJitter(Example): |