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
ConstructorsConstructorDescriptionBinding()Creates a newBindingTable.BindingBinding(BindingTable.Binding binding) Creates a copy of the givenBindingTable.Binding -
Method Summary
Modifier and TypeMethodDescriptionlongReturns The addend.intReturns The library ordinal.intReturns The segment index.longReturns The segment offset.Returns The symbol name.intgetType()Returns The type.Returns null if the opcode is known; otherwise, returns the unknown opcode's value.booleanisWeak()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.Bindingto 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
-