japaric / cargo-call-stack

Whole program static stack analysis
Apache License 2.0
579 stars 52 forks source link

Decode `str` with post-indexed operand #39

Closed jonas-schievink closed 3 years ago

jonas-schievink commented 3 years ago

str r11, [sp, #-4]! will store sp - 4 in sp; this PR accounts for that (but many other instructions can also use this addressing mode, so the decoder is still fairly incomplete)