mirror of https://github.com/Desuuuu/klipper.git
checkstack: Continue to accumulate stack usage on misc instructions
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
parent
bd48c3a083
commit
da4f2c5ea0
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue