binaryninja-api icon indicating copy to clipboard operation
binaryninja-api copied to clipboard

Armv7: POP(PC) lifted as LDR without writeback

Open MartijnB opened this issue 4 years ago • 1 comments

df14: e49df004 pop {pc} ; (ldr pc, [sp], Vector35/binaryninja-api#4)

Is disassembled as:

fff9cf14 04f09de4 ldr pc, [sp], #0x4 {var_4}

And lifted to:

79 @ fff9cf14 jump([sp {var_4}].d)

This misses the required update of SP.

MartijnB avatar Jul 24 '20 16:07 MartijnB

This will be resolved when this PR is merged after release: https://github.com/Vector35/arch-armv7/pull/81

lwerdna avatar Feb 21 '24 18:02 lwerdna