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:
|
if '+' in ref:
|
||||||
# Inter-function jump.
|
# Inter-function jump.
|
||||||
pass
|
pass
|
||||||
|
elif insn.startswith('ld') or insn.startswith('st'):
|
||||||
|
# memory access
|
||||||
|
pass
|
||||||
elif insn in ('rjmp', 'jmp', 'brne', 'brcs'):
|
elif insn in ('rjmp', 'jmp', 'brne', 'brcs'):
|
||||||
# Tail call
|
# Tail call
|
||||||
cur.noteCall(insnaddr, calladdr, 0)
|
cur.noteCall(insnaddr, calladdr, 0)
|
||||||
|
|
Loading…
Reference in New Issue