about summary refs log tree commit diff stats
path: root/example/extract_pe_ressources.py
diff options
context:
space:
mode:
authorserpilliere <devnull@localhost>2011-09-14 08:39:39 +0200
committerserpilliere <devnull@localhost>2011-09-14 08:39:39 +0200
commit89ac1031a83b96f9f7d6976e2bda3c7a311c1993 (patch)
tree58bbe7226ca1ac2bc79b321d35afba963dc8c85a /example/extract_pe_ressources.py
parent12dee192c2dd95f1aa81fd29a633f9b24cbc262d (diff)
parentef6c88fd81249f14ec53e197a50fa8cb4a564419 (diff)
downloadmiasm-89ac1031a83b96f9f7d6976e2bda3c7a311c1993.tar.gz
miasm-89ac1031a83b96f9f7d6976e2bda3c7a311c1993.zip
merge disasm java & eflags added
Diffstat (limited to 'example/extract_pe_ressources.py')
-rw-r--r--example/extract_pe_ressources.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/example/extract_pe_ressources.py b/example/extract_pe_ressources.py
index c21f999c..71d8e226 100644
--- a/example/extract_pe_ressources.py
+++ b/example/extract_pe_ressources.py
@@ -15,7 +15,7 @@ def extract_res(res, name_o = "", num = 0, lvl=-1):
         num += 1
 
         if x.name_s:
-            name = name_o[:]+repr(x.name_s)
+            name = name_o[:]+repr(x.name_s.value[::2])
         else:
             name = name_o[:]