Expand description
Mach-O arm64 parsing via goblin (thin + fat).
Fat containers are always reduced to the arm64 thin slice before header /
segment / nlist interpretation. MachOSummary::file_slice_offset records
where that slice sits in the on-disk container so map fileoff values can be
adjusted when reading from the original path.
Structs§
- Arm64
Slice - Location of the arm64 thin Mach-O inside a file buffer (thin or fat).
Functions§
- locate_
arm64_ slice - Locates the arm64 thin Mach-O inside
bytes(identity for thin arm64). - parse_
bytes - Parses Mach-O bytes.
path_labelis stored in the summary for display. - parse_
path - Reads and parses a Mach-O file, selecting the arm64 slice from fat images.
- parse_
path_ with_ bytes - Like
parse_path, but returns the full on-disk container as acrate::FileImage(prefermmap, demand-paged). - read_
thin_ arm64 - Reads a path and returns only the arm64 thin Mach-O bytes.
- thin_
arm64_ bytes - Returns a view of the arm64 thin Mach-O inside
bytes.