Repository navigation
feat(macho): report per-slice encryption status in inspect_macho #5359
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
gensokyo-dev
merged 31 commits into
morluto:main
from
chordpli:feat/macho-encryption-info
Oct 29, 2026
+2,776
−221
Merged
Changes from 1 commit
Commits
Show all changes
31 commits
Select commit
Hold shift + click to select a range
cd38a59
refactor(macho): extract non-throwing container and slice load-comman…
chordpli 2b41ca6
feat(macho): report per-slice encryption status in inspect_macho
chordpli f210a4f
fix(macho): keep slice facts and failures under large tables and clos…
chordpli ee6f565
Merge remote-tracking branch 'origin/main' into feat/macho-encryption…
chordpli c128c72
Merge remote-tracking branch 'origin/main' into feat/macho-encryption…
chordpli c6c8c75
Merge remote-tracking branch 'origin/main' into feat/macho-encryption…
chordpli 15db4e6
Merge remote-tracking branch 'origin/main' into feat/macho-encryption…
chordpli c54ff26
Merge remote-tracking branch 'origin/main' into feat/macho-encryption…
chordpli 0d506e2
fix(macho): map encrypted ranges only within segment VM extents
chordpli 3bd1541
Merge remote-tracking branch 'origin/main' into HEAD
611ae1e
fix(macho): read encryption through the admitted descriptor facts
chordpli 7e6d57f
fix(macho): retain a finished report when the target close fails
chordpli 9c74d8d
Merge remote-tracking branch 'origin/main' into tmp5359
chordpli d95f4e3
Merge remote-tracking branch 'origin/main' into tmp5359
chordpli 5a22d73
Merge remote-tracking branch 'origin/main' into tmp5359
chordpli 811c47d
Merge remote-tracking branch 'origin/main' into tmp5359
chordpli 08ed647
Merge remote-tracking branch 'origin/main' into tmp5359
chordpli 29f37e6
Merge remote-tracking branch 'origin/main' into tmp5359
chordpli d3f63a8
test(native): supply readEncryption in merged dyld refusal cases
chordpli 014a868
test(views): bind the Mach-O encryption page to its facet
chordpli c2c2e93
Merge remote-tracking branch 'origin/main' into tmp5359
chordpli 7fb4355
Merge remote-tracking branch 'origin/main' into tmp5359
chordpli 3476a90
Merge remote-tracking branch 'origin/main' into feat/macho-encryption…
chordpli 13904db
fix(macho): bound encryption commands and range mapping across slices
chordpli 1bc25f6
Merge remote-tracking branch 'origin/main' into feat/macho-encryption…
chordpli 27edcc0
style(macho): format encryption reader and binding test
chordpli c806969
fix(macho): stop retaining segments past the mapping budget
chordpli 26280c7
feat(macho): preserve per-slice encryption facts and mapping budgets
gensokyo-dev 90ee1c6
chore(macho): align encryption reporting with current main
gensokyo-dev 0eba2e7
docs(macho): clarify retained mapping allowance
gensokyo-dev 5ffb40d
fix(ci): own the Mach-O encryption test in Apple scope
gensokyo-dev File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
feat(macho): report per-slice encryption status in inspect_macho
inspect_macho now reports the LC_ENCRYPTION_INFO(_64) state of every slice in a new `encryption` collection, read in process from load commands without reading code bytes. - Each slice is encrypted, not-encrypted, absent, malformed or unknown. Absent requires a completed load-command walk; malformed and unknown carry a reason and keep commands read before the failure. - The named range is end-exclusive in slice and input-file coordinates and maps to file-backed segment fragments, VM addresses and the overlapping nonempty sections. - A ciphertext range adds a limitation naming its input-file bytes. - The in-process read and the native tools are bracketed by one regular file descriptor and stat identity checks; a change reports artifact_changed. A missing or inaccessible target keeps the tool facts and reports encryption as non-exhaustive, never absent. - Retained Evidence recorded before this field is parsed by the owning schema and reports encryption as unknown in the macho view and in managed/native verification. Fixes #4306
- Loading branch information
commit 2b41ca6a429bebc7d15aa5bff1873ea4d626b8e3
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.