Class BindingTable
java.lang.Object
ghidra.app.util.bin.format.macho.commands.dyld.BindingTable
A Mach-O binding table
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionCreates an emptyBindingTable
BindingTable
(BinaryReader reader, MachHeader header, int tableSize, boolean lazy) Creates and parses a newBindingTable
-
Method Summary
Modifier and TypeMethodDescriptionReturns the bindings.Returns opcode offsets from the start of the bind data.Returns SLEB128 offsets from the start of the bind data.Returns string offsets from the start of the bind data.Returns the threaded bindings, or null if threaded bindings are not being used.Returns ULEB128 offsets from the start of the bind data.
-
Constructor Details
-
BindingTable
public BindingTable()Creates an emptyBindingTable
-
BindingTable
public BindingTable(BinaryReader reader, MachHeader header, int tableSize, boolean lazy) throws IOException Creates and parses a newBindingTable
- Parameters:
reader
- Areader
positioned at the start of the binding tableheader
- The headertableSize
- The size of the table, in byteslazy
- True if this is a lazy binding table; otherwise, false- Throws:
IOException
- if an IO-related error occurs while parsing
-
-
Method Details
-
getBindings
Returns the bindings.- Returns:
- the bindings
-
getThreadedBindings
Returns the threaded bindings, or null if threaded bindings are not being used.- Returns:
- the threaded bindings, or null if threaded bindings are not being used
-
getOpcodeOffsets
Returns opcode offsets from the start of the bind data.- Returns:
- opcode offsets from the start of the bind data
-
getUlebOffsets
Returns ULEB128 offsets from the start of the bind data.- Returns:
- ULEB128 offsets from the start of the bind data
-
getSlebOffsets
Returns SLEB128 offsets from the start of the bind data.- Returns:
- SLEB128 offsets from the start of the bind data
-
getStringOffsets
Returns string offsets from the start of the bind data.- Returns:
- string offsets from the start of the bind data
-