summaryrefslogtreecommitdiff
path: root/python/architecture.py
diff options
context:
space:
mode:
authorRusty Wagner <rusty@vector35.com>2017-11-27 17:15:03 -0500
committerRusty Wagner <rusty@vector35.com>2017-11-27 17:15:03 -0500
commitc24b1bd108ee2885d7164cecd15f75aa1715a8df (patch)
tree29dd59ac7c2ad4d7d77d36c89dd5f26ab270ea6e /python/architecture.py
parentd5db0ddb807265b295bb6b4ff07613776945c92b (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 04179e7f..c4179b00 100644
--- a/python/architecture.py
+++ b/python/architecture.py
@@ -231,7 +231,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()