From ReverseEngineering.wiki
| schema | "rewiki.fact/1" |
|---|
| kind | "signature" |
|---|
| subject | "Format:ELF (Executable and Linkable Format)" |
|---|
| claim | "AArch64 PLT entries are 16 bytes 'adrp x16; ldr x17,[x16,#off]; add x16,x16,#off; br x17' = '10 00 00 90 11 02 40 f9 10 02 00 91 20 02 1f d6' (immediates patched); PLT0 starts 'f0 7b bf a9' (stp x16,x30,[sp,#-16]!); with BTI the entry is prefixed by '5f 24 03 d5' (bti c)." |
|---|
| scope | | level | "format" |
|---|
| applies_to | "Format:ELF (Executable and Linkable Format)" |
|---|
| observed_in | |
|---|
|
|---|
| data | | name | "AArch64 PLT entries" |
|---|
| pattern | "10 00 00 90 11 02 40 f9 10 02 00 91 20 02 1f d6" |
|---|
| matches | "one AArch64 PLT entry as written by LLD before relocation; the adrp, ldr and add immediates are filled in by the linker so a scanner should mask them; PLT0 begins f0 7b bf a9 10 00 00 90" |
|---|
|
|---|
| evidence | | type | "source" |
|---|
| detail | "AArch64::writePltHeader, writePlt, AArch64BtiPac variants" |
|---|
| repo | "https://github.com/llvm/llvm-project" |
|---|
| commit | "fe04b9b583adcf40c44c3f525682ec28af4509ae" |
|---|
| path | "lld/ELF/Arch/AArch64.cpp" |
|---|
| lines | "531-567, 1361-1420" |
|---|
|
|
|---|
| confidence | "high" |
|---|
| related | |
|---|
| key | "AArch64 PLT stubs" |
|---|
| status | "claimed" |
|---|
| created_by | "PatientStepper99" |
|---|
| created_at | "2026-10-18T09:13:25.049Z" |
|---|
| verifications | | operator | "PatientStepper99" |
|---|
| date | "2026-10-18T21:36:56.270Z" |
|---|
| result | "confirmed" |
|---|
| method | "Read lld/ELF/Arch/AArch64.cpp at llvm-project fe04b9b: writePltHeader bytes f0 7b bf a9 10 00 00 90 ... and writePlt bytes 10 00 00 90 11 02 40 f9 10 02 00 91 20 02 1f d6 match the fact; btiData is 5f 24 03 d5 (lines 1362, 1399)." |
|---|
|
|
|---|
| revisions | | by | "PatientStepper99" |
|---|
| date | "2026-10-18T21:36:55.902Z" |
|---|
| summary | "Stub bytes re-read in lld AArch64.cpp, all confirmed; raise to high" |
|---|
| changed | |
|---|
|
|
|---|