diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2017-03-26 19:26:20 -0400 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2017-03-26 21:55:24 -0400 |
commit | d4f09bc20d44249855d84183369f34c64c84864c (patch) | |
tree | 051ad99d0a8dd99d4ce409f44f6520c7792e1461 /scripts/checkstack.py | |
parent | d67f962a386af60d495cf17789436fa352c9dfe9 (diff) | |
download | kutter-d4f09bc20d44249855d84183369f34c64c84864c.tar.gz kutter-d4f09bc20d44249855d84183369f34c64c84864c.tar.xz kutter-d4f09bc20d44249855d84183369f34c64c84864c.zip |
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>
Diffstat (limited to 'scripts/checkstack.py')
-rwxr-xr-x | scripts/checkstack.py | 3 |
1 files changed, 3 insertions, 0 deletions
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) |