Skip to content

Parse more load_command in MachO files #5690

Open
@seekbytes

Description

@seekbytes

A mach-o binary is composed by an array of load commands that are parsed successfully by bninja. However there're some unique load command for which you don't implement any custom structure for.

This issue would propose:

  • create a custom structure 'dynamic' where you can include:
struct load_command __macho_load_command_[N] {
  enum load_command_type_t cmd = LC_SAMPLE;
  uint32_t cmdsize = 0x20  
  bytes buffer[cmdsize]
}

OR dedicate two/three days (or less, don't know how much time it would take) to document the most used load commands and write all the custom structs for it.

Current load commands not supported (bninja applies the default load_command structure):

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions