Skip to content

[MachO] Display type information for more load command types #6719

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

Open
wants to merge 5 commits into
base: dev
Choose a base branch
from

Conversation

bdash
Copy link
Contributor

@bdash bdash commented Apr 24, 2025

This series of commits does the following:

  1. Extracts the code that creates and applies types related to load commands into a shared location. It was previously duplicated across the Mach-O, shared cache, and kernel cache views.
  2. Adds helpers for creating enums and structs. This reduces the amount of boilerplate that has to be skimmed when reading the type creation code for the various load commands and their related types.
  3. Adds types for a number of load commands that were previously unhandled.
  4. Improves the types on a number of existing load commands.

bdash added 5 commits April 23, 2025 23:03
dylib_use_command is an extended version of dylib_command that is support from iOS 18 / macOS 15. It is indicated by the presence of a special marker value in the timestamp field of the dylib_command.
@emesare emesare self-assigned this Apr 25, 2025
@emesare emesare added this to the H milestone Apr 25, 2025
@0cyn 0cyn assigned 0cyn and unassigned emesare Apr 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants