public class MachoDyldInfoCommandReader extends Object
Constructor and Description |
---|
MachoDyldInfoCommandReader() |
Modifier and Type | Method and Description |
---|---|
static Optional<MachoDyldInfoCommand> |
read(MappedByteBuffer machoFileBuffer)
Reads the LC_DYLD_INFO[_ONLY] commands from a Mach-O file.
|
public static Optional<MachoDyldInfoCommand> read(MappedByteBuffer machoFileBuffer)
machoFileBuffer
- The byte buffer representing the file. The method rewinds the position.MachoDyldInfoCommand
, otherwise an empty optional on
failure.