MachoFile

Represents a Mach-O file and provides access to its contents.

This class encapsulates the functionality for opening, parsing, and closing Mach-O files. It provides methods to read and interpret the Mach-O header and other structures within the file.

Types

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
inner class Section(val name: String, val header: MachoSection) : ReadableSection

Properties

Link copied to clipboard

The Mach-O header of the file

Link copied to clipboard

The root headers of the file.

Link copied to clipboard
open override val sections: List<MachoFile.Section>

Get all sections of the container

Functions

Link copied to clipboard
open override fun close()
Link copied to clipboard
open override fun virtualMemory(): DataAccessor