diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2017-06-20 22:19:51 -0400 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2017-06-22 10:51:49 -0400 |
commit | da4f2c5ea0a3b7f23e5f8fc097586f1b12bc1f9d (patch) | |
tree | b0295c25b8f2dcce688e8f378acfae857e0ceddb | |
parent | bd48c3a083485b87e3b06c4f72b7a07d41f08d78 (diff) | |
download | kutter-da4f2c5ea0a3b7f23e5f8fc097586f1b12bc1f9d.tar.gz kutter-da4f2c5ea0a3b7f23e5f8fc097586f1b12bc1f9d.tar.xz kutter-da4f2c5ea0a3b7f23e5f8fc097586f1b12bc1f9d.zip |
checkstack: Continue to accumulate stack usage on misc instructions
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
-rwxr-xr-x | scripts/checkstack.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/checkstack.py b/scripts/checkstack.py index e4cf45cc..060535bd 100755 --- a/scripts/checkstack.py +++ b/scripts/checkstack.py @@ -170,10 +170,10 @@ def main(): ref = m.group('ref') if '+' in ref: # Inter-function jump. - pass + continue elif insn.startswith('ld') or insn.startswith('st'): # memory access - pass + continue elif insn in ('rjmp', 'jmp', 'brne', 'brcs'): # Tail call cur.noteCall(insnaddr, calladdr, 0) |