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 2017-06-20 22:19:51 -04:00
parent bd48c3a083
commit da4f2c5ea0
1 changed files with 2 additions and 2 deletions

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)