about summary refs log tree commit diff stats
path: root/example/jitter/unpack_upx.py
diff options
context:
space:
mode:
authorAjax <commial@gmail.com>2015-11-06 17:22:08 +0100
committerAjax <commial@gmail.com>2015-11-06 17:31:44 +0100
commitf1783d86be0593de00782b75c10c54ef3ce35a79 (patch)
treeaeab6f582c2a6ef91cdbc0c62791d2a58b336bf0 /example/jitter/unpack_upx.py
parentc8f6c2ce5a7cdc553cc752c18aa17c009467b619 (diff)
downloadmiasm-f1783d86be0593de00782b75c10c54ef3ce35a79.tar.gz
miasm-f1783d86be0593de00782b75c10c54ef3ce35a79.zip
Example/UnpackUPX: hint on an alternative solution for PE rebuilding
Diffstat (limited to 'example/jitter/unpack_upx.py')
-rw-r--r--example/jitter/unpack_upx.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/example/jitter/unpack_upx.py b/example/jitter/unpack_upx.py
index 244be3c5..808dd134 100644
--- a/example/jitter/unpack_upx.py
+++ b/example/jitter/unpack_upx.py
@@ -89,6 +89,8 @@ sb.jitter.add_breakpoint(end_label, update_binary)
 sb.run()
 
 # Rebuild PE
+# Alternative solution: miasm2.jitter.loader.pe.vm2pe(sb.jitter, out_fname,
+# libs=sb.libs, e_orig=sb.pe)
 new_dll = []
 
 sb.pe.SHList.align_sections(0x1000, 0x1000)