about summary refs log tree commit diff stats
path: root/miasm2/analysis/depgraph.py
diff options
context:
space:
mode:
authorCamille Mougey <commial@gmail.com>2018-07-05 16:14:23 +0200
committerGitHub <noreply@github.com>2018-07-05 16:14:23 +0200
commitf5fd096d35a9b3811097c40f553c90d3036cc035 (patch)
tree8bce7b5aaf34fac81611243688c5a6040536ec81 /miasm2/analysis/depgraph.py
parentc0afde4d7c8ff51eaa31e4a074b9e06f080b3169 (diff)
parent1d8dc96d6cd82d40e81e8436ed2827916179cd2e (diff)
downloadmiasm-f5fd096d35a9b3811097c40f553c90d3036cc035.tar.gz
miasm-f5fd096d35a9b3811097c40f553c90d3036cc035.zip
Merge pull request #788 from serpilliere/ir_remove_default_regs_init
Ir remove default regs init
Diffstat (limited to '')
-rw-r--r--miasm2/analysis/depgraph.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/miasm2/analysis/depgraph.py b/miasm2/analysis/depgraph.py
index f5a2b043..11476f79 100644
--- a/miasm2/analysis/depgraph.py
+++ b/miasm2/analysis/depgraph.py
@@ -281,7 +281,7 @@ class DependencyResult(DependencyState):
         variant.
         """
         # Init
-        ctx_init = self._ira.arch.regs.regs_init
+        ctx_init = {}
         if ctx is not None:
             ctx_init.update(ctx)
         assignblks = []
@@ -352,7 +352,7 @@ class DependencyResultImplicit(DependencyResult):
 
     def emul(self, ctx=None, step=False):
         # Init
-        ctx_init = self._ira.arch.regs.regs_init
+        ctx_init = {}
         if ctx is not None:
             ctx_init.update(ctx)
         solver = z3.Solver()