diff options
| -rw-r--r-- | example/disasm/file.py | 3 | ||||
| -rw-r--r-- | test/test_all.py | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/example/disasm/file.py b/example/disasm/file.py index 5bae0e89..3555ab18 100644 --- a/example/disasm/file.py +++ b/example/disasm/file.py @@ -2,10 +2,11 @@ import sys from miasm2.arch.x86.disasm import dis_x86_32 from miasm2.core.asmbloc import bloc2graph from miasm2.analysis.binary import Container +from pdb import pm if len(sys.argv) != 3: print 'Example:' - print "%s samples/box_upx.exe 0x410f90" % sys.argv[0] + print "%s samples/box_upx.exe 0x407570" % sys.argv[0] sys.exit(0) addr = int(sys.argv[2], 16) diff --git a/test/test_all.py b/test/test_all.py index 4e530669..895dbdac 100644 --- a/test/test_all.py +++ b/test/test_all.py @@ -243,7 +243,7 @@ class ExampleDisassembler(Example): for script, prods in [(["single_instr.py"], []), (["function.py"], ["graph.txt"]), (["file.py", Example.get_sample("box_upx.exe"), - "0x410f90"], ["graph.txt"]), + "0x407570"], ["graph.txt"]), (["full.py", Example.get_sample("box_upx.exe")], ["graph_execflow.txt", "lines.txt"]), ]: |