about summary refs log tree commit diff stats
path: root/miasm/expression/expression_helper.py
diff options
context:
space:
mode:
authorserpilliere <devnull@localhost>2012-09-07 09:29:01 +0200
committerserpilliere <devnull@localhost>2012-09-07 09:29:01 +0200
commitce151eb418d3372497286cb23518eb43e38b59da (patch)
treeeca13a7b49cd47ff77e95a391153880b2c76f119 /miasm/expression/expression_helper.py
parentbd9a5ab16ef35ad89a4a1b4335f66dc6dea0e081 (diff)
downloadfocaccia-miasm-ce151eb418d3372497286cb23518eb43e38b59da.tar.gz
focaccia-miasm-ce151eb418d3372497286cb23518eb43e38b59da.zip
seh_helper: add ordermodulelist/inloadorderlist
Diffstat (limited to 'miasm/expression/expression_helper.py')
-rw-r--r--miasm/expression/expression_helper.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/miasm/expression/expression_helper.py b/miasm/expression/expression_helper.py
index c0b2ba46..e9a19db3 100644
--- a/miasm/expression/expression_helper.py
+++ b/miasm/expression/expression_helper.py
@@ -293,7 +293,8 @@ def _expr_simp(e):
                 return ExprInt(tab_size_int[total_bit]((uint64((e.arg.arg)>>e.start)) & mask))
             else:
                 # XXX TODO fix correct size
-                fds
+                #fds
+                return e
                 return ExprInt(type(e.arg.arg)((uint64((e.arg.arg)>>e.start)) & mask))
         # Slice(Slice(A, x), y) => Slice(A, z)
         elif isinstance(e.arg, ExprSlice):