aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xscripts/checkstack.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/checkstack.py b/scripts/checkstack.py
index e86a649..b49b6c8 100755
--- a/scripts/checkstack.py
+++ b/scripts/checkstack.py
@@ -181,6 +181,8 @@ def calc():
noteCall(cur, subfuncs, insnaddr, calladdr, 0)
elif insn.startswith('calll'):
noteCall(cur, subfuncs, insnaddr, calladdr, stackusage + 4)
+ elif insn.startswith('callw'):
+ noteCall(cur, subfuncs, insnaddr, calladdr, stackusage + 2)
else:
print("unknown call", ref)
noteCall(cur, subfuncs, insnaddr, calladdr, stackusage)