upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/runtime/src/pe_loader.cpp
diff options
context:
space:
mode:
authorCLHelper <359823989+CLHelper@users.noreply.github.com>2026-11-22 15:39:25 +0000
committerCLHelper <359823989+CLHelper@users.noreply.github.com>2026-11-22 15:39:25 +0000
commit00a0f7f9935a1b7f37eaf281314e188714687cb4 (patch)
treeb3e8d346d0445cacf8f0ed9d1a01d3de0f571142 /runtime/src/pe_loader.cpp
parent7015ba98f884cc5eb57693cdccd45e0e6de76df8 (diff)
docs: how the console list's inline root-argument header word is built
The header word is the root parameter's entry at +0x344 + 4*root. For several 32-bit constants the builder adds (count - 1) << 16 (0x120000 for 19, 0x70000 for 8, 0x30000 for 4); for one constant at a non-zero offset it adds 4 * destOffset (0xc at 0x19fca, 0x14 at 0x1a346, matching their slot-37 fallbacks (2, value, 3) and (2, value, 5)). Descriptor tables and root CBV/SRV/UAV write the entry unchanged, then 4 bytes or the full 8-byte address. Every reader tests the entry against 0xC0000000 (98 sites in the builder, 7 in the FSR DLL) and sets +0x140 only when both bits are clear.
Diffstat (limited to 'runtime/src/pe_loader.cpp')
0 files changed, 0 insertions, 0 deletions