aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/checkstack.py
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2017-06-20 22:19:51 -0400
committerKevin O'Connor <kevin@koconnor.net>2017-06-22 10:51:49 -0400
commitda4f2c5ea0a3b7f23e5f8fc097586f1b12bc1f9d (patch)
treeb0295c25b8f2dcce688e8f378acfae857e0ceddb /scripts/checkstack.py
parentbd48c3a083485b87e3b06c4f72b7a07d41f08d78 (diff)
downloadkutter-da4f2c5ea0a3b7f23e5f8fc097586f1b12bc1f9d.tar.gz
kutter-da4f2c5ea0a3b7f23e5f8fc097586f1b12bc1f9d.tar.xz
kutter-da4f2c5ea0a3b7f23e5f8fc097586f1b12bc1f9d.zip
checkstack: Continue to accumulate stack usage on misc instructions
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'scripts/checkstack.py')
-rwxr-xr-xscripts/checkstack.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/checkstack.py b/scripts/checkstack.py
index e4cf45cc..060535bd 100755
--- a/scripts/checkstack.py
+++ b/scripts/checkstack.py
@@ -170,10 +170,10 @@ def main():
ref = m.group('ref')
if '+' in ref:
# Inter-function jump.
- pass
+ continue
elif insn.startswith('ld') or insn.startswith('st'):
# memory access
- pass
+ continue
elif insn in ('rjmp', 'jmp', 'brne', 'brcs'):
# Tail call
cur.noteCall(insnaddr, calladdr, 0)