about summary refs log tree commit diff stats
path: root/example/jitter
diff options
context:
space:
mode:
authorserpilliere <serpilliere@users.noreply.github.com>2015-12-13 23:21:03 +0100
committerserpilliere <serpilliere@users.noreply.github.com>2015-12-13 23:21:03 +0100
commit50bd2c19a44cf511264f4d56f833a3e416441fef (patch)
treecf9993960896e31517690118d6ee2ce098dedec6 /example/jitter
parentb32eb145fce7dd09bef025a9f82b2507bd4e02ee (diff)
parent8afddf15d33f6aa593e640e36c17b1afbe3ec175 (diff)
downloadmiasm-50bd2c19a44cf511264f4d56f833a3e416441fef.tar.gz
miasm-50bd2c19a44cf511264f4d56f833a3e416441fef.zip
Merge pull request #292 from p-l-/fix-sandbox-options
Fix sandbox options
Diffstat (limited to 'example/jitter')
-rw-r--r--example/jitter/unpack_upx.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/example/jitter/unpack_upx.py b/example/jitter/unpack_upx.py
index c329244e..58507506 100644
--- a/example/jitter/unpack_upx.py
+++ b/example/jitter/unpack_upx.py
@@ -43,7 +43,9 @@ parser.add_argument("--graph",
                     help="Export the CFG graph in graph.dot",
                     action="store_true")
 options = parser.parse_args()
-sb = Sandbox_Win_x86_32(options.filename, options, globals(), parse_reloc=False)
+options.load_hdr = True
+sb = Sandbox_Win_x86_32(options.filename, options, globals(),
+                        parse_reloc=False)
 
 
 if options.verbose is True: