Companion

Functions

Link copied to clipboard

Returns true if this is an ELF file.

Link copied to clipboard

Returns true if this is a Mach-O file.

Link copied to clipboard

Returns true if this is a PE file.

Link copied to clipboard
expect open fun open(bytes: ByteArray): MachoFile

Opens and parses a file from the given bytes.

expect open fun open(path: String): MachoFile

Opens and parses a file from the given path.

open override fun open(accessor: DataAccessor): MachoFile

Opens and parses a file from the given data accessor.

Link copied to clipboard
open override fun toString(): String