Skip to content

Commit 627d0c0

Browse files
committed
GP-2355 Added aarch64 thunk pattern
1 parent 6614ea5 commit 627d0c0

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

Ghidra/Processors/AARCH64/data/aarch64-pltThunks.xml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,12 @@
1212
0x20 0x02 0x1f 0xd6 # br x17
1313
</data>
1414
</pattern>
15+
<pattern>
16+
<data> <!-- AARCH64 ELF32 PLT -->
17+
...10000 0x.. 0x.. 1..10000 # adrp x16, PLTGOT + n * 4
18+
0x11 ......10 01...... 0xb9 # ldr x17, [x16, PLTGOT + n * 4]
19+
0x10 ......10 00...... 0x11 # add x16, x16, :lo12:PLTGOT + n * 4
20+
0x20 0x02 0x1f 0xd6 # br x17
21+
</data>
22+
</pattern>
1523
</patternlist>

0 commit comments

Comments
 (0)