Class BindingTable.Binding
java.lang.Object
ghidra.app.util.bin.format.macho.commands.dyld.BindingTable.Binding
- Enclosing class:
BindingTable
A piece of binding information from a
BindingTable
-
Constructor Summary
ConstructorDescriptionBinding()
Creates a newBindingTable.Binding
Binding
(BindingTable.Binding binding) Creates a copy of the givenBindingTable.Binding
-
Method Summary
Modifier and TypeMethodDescriptionlong
Returns The addend.int
Returns The library ordinal.int
Returns The segment index.long
Returns The segment offset.Returns The symbol name.int
getType()
Returns The type.Returns null if the opcode is known; otherwise, returns the unknown opcode's value.boolean
isWeak()
Returns True if the binding is "weak"; otherwise false.
-
Constructor Details
-
Binding
public Binding()Creates a newBindingTable.Binding
-
Binding
Creates a copy of the givenBindingTable.Binding
- Parameters:
binding
- TheBindingTable.Binding
to copy
-
-
Method Details
-
getSymbolName
Returns The symbol name.- Returns:
- The symbol name
-
getType
public int getType()Returns The type.- Returns:
- The type
-
getLibraryOrdinal
public int getLibraryOrdinal()Returns The library ordinal.- Returns:
- The library ordinal
-
getSegmentOffset
public long getSegmentOffset()Returns The segment offset.- Returns:
- The segment offset
-
getSegmentIndex
public int getSegmentIndex()Returns The segment index.- Returns:
- The segment index
-
getAddend
public long getAddend()Returns The addend.- Returns:
- The addend
-
isWeak
public boolean isWeak()Returns True if the binding is "weak"; otherwise false.- Returns:
- True if the binding is "weak"; otherwise false
-
getUnknownOpcode
Returns null if the opcode is known; otherwise, returns the unknown opcode's value.- Returns:
- null if the opcode is known; otherwise, returns the unknown opcode's value
-