Skip to content

Conversation

@swananan
Copy link
Owner

  • derive a single ASLR bias per module and store that in proc_module_offsets so DW_OP_addr globals (especially .bss) map to the right runtime addresses
  • expand logging to show both module bias and reconstructed section addresses for easier verification
  • add Rust and C end-to-end tests that read .bss globals directly without pointer aliases to guard against regressions

@swananan swananan force-pushed the fix/bss-offset-rebase branch 5 times, most recently from 14597dd to 434383b Compare November 11, 2025 16:15
- derive a single ASLR bias per module and store that in proc_module_offsets
so DW_OP_addr globals (especially .bss) map to the right runtime addresses
- expand logging to show both module bias and reconstructed section addresses
for easier verification
- add Rust and C end-to-end tests that read .bss globals directly without
pointer aliases to guard against regressions
@swananan swananan force-pushed the fix/bss-offset-rebase branch from 434383b to f00033b Compare November 11, 2025 16:23
@swananan swananan merged commit c508f53 into main Nov 11, 2025
4 checks passed
@swananan swananan deleted the fix/bss-offset-rebase branch November 11, 2025 16:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants