Skip to content

Macho: add MH_GPU* filetype#513

Merged
m4b merged 1 commit intom4b:masterfrom
ReturnRei:master
Jan 20, 2026
Merged

Macho: add MH_GPU* filetype#513
m4b merged 1 commit intom4b:masterfrom
ReturnRei:master

Conversation

@ReturnRei
Copy link
Contributor

Added two Mach-O filetype flags: MH_GPU_EXECUTE and MH_GPU_DYLIB.

These flags can't be seen in XNU's loader.h but can be found in MacOS sdk or here: https://github.com/apple-oss-distributions/cctools/blob/920a2b45080fb9badf31bf675f03b19973f0dd4f/include/mach-o/loader.h#L134

These flags can be found when parsing "common" binaries

Copy link
Owner

@m4b m4b left a comment

Choose a reason for hiding this comment

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

Awesome, thanks!

@m4b m4b merged commit 3328925 into m4b:master Jan 20, 2026
5 checks passed
@m4b
Copy link
Owner

m4b commented Feb 12, 2026

NB: backwards compat

NB: released in 0.10.5

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