summaryrefslogtreecommitdiff
path: root/python/architecture.py
diff options
context:
space:
mode:
authorRusty Wagner <rusty@vector35.com>2017-11-27 17:15:03 -0500
committerPeter LaFosse <peter@vector35.com>2018-03-23 17:10:05 -0400
commitf2e43b0fdcf5e24399917ffb25ff174c6921a484 (patch)
tree8334f457621e16ab77513c30aaa2c3a5113e0129 /python/architecture.py
parent092faaff9b3868c8f8eeab13f4506968be6546d1 (diff)
Register stack adjustments in calling conventions
Diffstat (limited to 'python/architecture.py')
-rw-r--r--python/architecture.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/architecture.py b/python/architecture.py
index ac4b1d6e..08049d46 100644
--- a/python/architecture.py
+++ b/python/architecture.py
@@ -233,7 +233,7 @@ class Architecture(object):
for j in xrange(0, info.topRelativeCount):
top_rel.append(core.BNGetArchitectureRegisterName(self.handle, info.firstTopRelativeReg + j))
top = core.BNGetArchitectureRegisterName(self.handle, info.stackTopReg)
- self.reg_stacks[name] = function.RegisterStackInfo(storage, top_rel, top)
+ self.reg_stacks[name] = function.RegisterStackInfo(storage, top_rel, top, regs[i])
core.BNFreeRegisterList(regs)
else:
startup._init_plugins()