checkstack: Updates for newer binutils
Newer versions of binutils report the variable name on memory accesses. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
parent
d67f962a38
commit
d4f09bc20d
|
@ -172,6 +172,9 @@ def main():
|
|||
if '+' in ref:
|
||||
# Inter-function jump.
|
||||
pass
|
||||
elif insn.startswith('ld') or insn.startswith('st'):
|
||||
# memory access
|
||||
pass
|
||||
elif insn in ('rjmp', 'jmp', 'brne', 'brcs'):
|
||||
# Tail call
|
||||
cur.noteCall(insnaddr, calladdr, 0)
|
||||
|
|
Loading…
Reference in New Issue