From d4f09bc20d44249855d84183369f34c64c84864c Mon Sep 17 00:00:00 2001 From: Kevin O'Connor Date: Sun, 26 Mar 2017 19:26:20 -0400 Subject: [PATCH] checkstack: Updates for newer binutils Newer versions of binutils report the variable name on memory accesses. Signed-off-by: Kevin O'Connor --- scripts/checkstack.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/scripts/checkstack.py b/scripts/checkstack.py index d4f58cf3..cbeb415d 100755 --- a/scripts/checkstack.py +++ b/scripts/checkstack.py @@ -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)