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:
@@ -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)
|
||||
|
Reference in New Issue
Block a user