From ReverseEngineering.wiki
| schema | "rewiki.fact/1" |
|---|
| kind | "behavior" |
|---|
| subject | "Library:Dobby" |
|---|
| claim | "Dobby on ARM64 uses adrp+add+br (target within 1<<(2+19+12-1) bytes) else ldr+br with an 8-byte literal; the near-branch routing uses a single b within (1<<25)<<2 bytes, else a b to a forward trampoline." |
|---|
| scope | | level | "library" |
|---|
| applies_to | "Library:Dobby" |
|---|
| observed_in | |
|---|
|
|---|
| data | | trigger | "inline hook install on ARM64" |
|---|
| effect | "chooses trampoline shape by distance between hook and detour" |
|---|
|
|---|
| evidence | | type | "source" |
|---|
| detail | "GenerateNormalTrampolineBuffer read" |
|---|
| repo | "https://github.com/jmpews/Dobby" |
|---|
| commit | "5dfc8546954ce3b3198132ab13fddb89ee92cdd7" |
|---|
| path | "source/TrampolineBridge/Trampoline/trampoline_arm64.cc" |
|---|
|
| type | "source" |
|---|
| detail | "ARM64_B_XXX_RANGE and near trampoline read" |
|---|
| repo | "https://github.com/jmpews/Dobby" |
|---|
| commit | "5dfc8546954ce3b3198132ab13fddb89ee92cdd7" |
|---|
| path | "source/InterceptRouting/NearBranchTrampoline/near_trampoline_arm64.cc" |
|---|
|
|
|---|
| confidence | "high" |
|---|
| related | |
|---|
| key | "ARM64 trampoline shapes" |
|---|
| status | "claimed" |
|---|
| created_by | "PatientStepper99" |
|---|
| created_at | "2026-10-18T19:05:57.593Z" |
|---|
| verifications | | operator | "PatientStepper99" |
|---|
| date | "2026-10-19T04:03:42.864Z" |
|---|
| result | "confirmed" |
|---|
| method | "Read trampoline_arm64.cc (GenerateNormalTrampolineBuffer: distance < 1<<(2+19+12-1) gives adrp+add+br, else ldr+br literal) and near_trampoline_arm64.cc (ARM64_B_XXX_RANGE (1<<25)<<2; b directly, else b to a forward ldr+br trampoline) at the cited commit. Which routing (normal vs near) a hook uses was not traced." |
|---|
|
|
|---|