Skip to content

linux: dso_debug: add a MainExecutable struct - #229

Merged
schopin-mozilla merged 1 commit into
mainfrom
dso-main-exec
Sep 17, 2026
Merged

schopin-mozilla merged 1 commit into
mainfrom
dso-main-exec

Conversation

@schopin-mozilla

Copy link
Copy Markdown
Collaborator

This allows us to split out the code in smaller bits, which will come in
handy later on.

There's a drive-by fix, where we stop relying on page boundaries and
instead compute the actual load bias of the executable. This fixes
support for non-4kB page sizes.


Stack created with GitHub Stacks CLI • Give Feedback 💬

Base automatically changed from module-reader-api to main September 8, 2026 10:53

@gabrielesvelto gabrielesvelto left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, just one small nit

Comment thread src/linux/dso_debug.rs Outdated
Comment thread src/linux/dso_debug.rs
@schopin-mozilla
schopin-mozilla force-pushed the dso-main-exec branch 2 times, most recently from 1005fa2 to 357f504 Compare September 11, 2026 14:56
This allows us to split out the code in smaller bits, which will come in
handy later on.

There's a drive-by fix, where we stop relying on page boundaries and
instead compute the actual load bias of the executable. This fixes
support for non-4kB page sizes.
@schopin-mozilla
schopin-mozilla removed this pull request from stack #236 September 14, 2026 16:22
@schopin-mozilla
schopin-mozilla added this pull request to stack #242 September 14, 2026 16:31
@schopin-mozilla
schopin-mozilla merged commit d07513e into main Sep 17, 2026
16 checks passed
@schopin-mozilla
schopin-mozilla deleted the dso-main-exec branch September 17, 2026 11:38
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