summaryrefslogtreecommitdiff
path: root/python/types.py
diff options
context:
space:
mode:
authorRusty Wagner <rusty@vector35.com>2018-08-30 22:11:22 -0400
committerRusty Wagner <rusty@vector35.com>2018-08-30 22:11:22 -0400
commitacf28440dc4e8d805a057b6271a73e0d4e8c9e4f (patch)
treeba61688a1dddbce6d66735c538e4204621fc0498 /python/types.py
parent20e06506a3d96c7327ca5d729ab01e8c2a7cff3c (diff)
Allow negative stack offsets for functions like alloca_probe
Diffstat (limited to 'python/types.py')
-rw-r--r--python/types.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/types.py b/python/types.py
index 12e7733f..b0db5f33 100644
--- a/python/types.py
+++ b/python/types.py
@@ -630,7 +630,7 @@ class Type(object):
elif not isinstance(stack_adjust, SizeWithConfidence):
stack_adjust = SizeWithConfidence(stack_adjust)
- stack_adjust_conf = core.BNSizeWithConfidence()
+ stack_adjust_conf = core.BNOffsetWithConfidence()
stack_adjust_conf.value = stack_adjust.value
stack_adjust_conf.confidence = stack_adjust.confidence