mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2026-05-24 03:09:36 +08:00
AArch32: fixed ldrexd
* fixed addr src register aliased as first dest register of a double word load causing second word load at the value of first load
This commit is contained in:
committed by
ghidorahrex
parent
8aa6ebe243
commit
c9be1860c1
@@ -2868,9 +2868,10 @@ ArmPCRelImmed12: reloff is U23=0 & immed & rotate
|
||||
|
||||
:ldrexd^COND Rd,Rd2,[Rn] is $(AMODE) & ARMcond=1 & COND & c2027=0x1b & Rn & Rd & Rd2 & c0011=0xf9f
|
||||
{
|
||||
build COND;
|
||||
Rd = *(Rn);
|
||||
Rd2 = *(Rn + 4);
|
||||
build COND;
|
||||
local addr:4 = Rn;
|
||||
Rd = *(addr);
|
||||
Rd2 = *(addr + 4);
|
||||
}
|
||||
|
||||
:ldrexh^COND Rd,[Rn] is $(AMODE) & ARMcond=1 & COND & c2027=0x1f & Rn & Rd & c0011=0xf9f
|
||||
|
||||
Reference in New Issue
Block a user