Class AbstractClassicProcessor
java.lang.Object
ghidra.app.util.bin.format.macho.commands.dyld.AbstractClassicProcessor
- Direct Known Subclasses:
ClassicBindProcessor
,ClassicLazyBindProcessor
-
Field Summary
-
Constructor Summary
ModifierConstructorDescriptionprotected
AbstractClassicProcessor
(MachHeader header, Program program) -
Method Summary
Modifier and TypeMethodDescriptionprotected String
getClassicOrdinalName
(int libraryOrdinal) protected long
Returns the relocation base.protected Section
getSectionName
(long address) protected Symbol
Return the Symbol for the specified NList.final void
perform
(String segmentName, String sectionName, long addressValue, String fromDylib, NList nList, boolean isWeak, TaskMonitor monitor)
-
Field Details
-
header
-
program
-
-
Constructor Details
-
AbstractClassicProcessor
-
-
Method Details
-
perform
public final void perform(String segmentName, String sectionName, long addressValue, String fromDylib, NList nList, boolean isWeak, TaskMonitor monitor) throws Exception - Throws:
Exception
-
getSymbol
Return the Symbol for the specified NList. Looks in the global namespace first. -
getSectionName
-
getClassicOrdinalName
-
getRelocationBase
protected long getRelocationBase()Returns the relocation base. If the program is 64-bit (x86 or PowerPC), then return the VM address of the first segment with W bit. Otherwise, just return first segment VM address.
-