checkstack: Continue to accumulate stack usage on misc instructions

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
Kevin O'Connor committed 2017-06-22 10:51:49 -04:00
1 parent bd48c3a083
commit da4f2c5ea0
1 file changed
+2 -2
+2 -2
View File
@@ -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)