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:
Kevin O'Connor committed 2017-03-26 21:55:24 -04:00
1 parent d67f962a38
commit d4f09bc20d
1 file changed
+3
+3
View File
@@ -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)