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-11 20:03:52 +0200
committerserpilliere <devnull@localhost>2011-09-11 20:03:52 +0200
commitef6c88fd81249f14ec53e197a50fa8cb4a564419 (patch)
treead3a1a7890a89537f1a3106e9665670fd5c3448c /example/extract_pe_ressources.py
parent0dfb28f5681298c7daebeb8743567cf6e3d46018 (diff)
downloadmiasm-ef6c88fd81249f14ec53e197a50fa8cb4a564419.tar.gz
miasm-ef6c88fd81249f14ec53e197a50fa8cb4a564419.zip
add eflags accessors to python interface
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[:]