Package ghidra.app.util.opinion
Class MachoProgramUtils
java.lang.Object
ghidra.app.util.opinion.MachoProgramUtils
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Address
addExternalBlock
(Program program, long size, MessageLog log) Adds theEXERNAL block
to memory, or adds to an existing onestatic Address
getNextAvailableAddress
(Program program)
-
Constructor Details
-
MachoProgramUtils
public MachoProgramUtils()
-
-
Method Details
-
getNextAvailableAddress
-
addExternalBlock
Adds theEXERNAL block
to memory, or adds to an existing one- Parameters:
program
- TheProgram
size
- The desired size of the new EXTERNAL blocklog
- TheMessageLog
- Returns:
- The
Address
of the new (or new piece) of EXTERNAL block - Throws:
Exception
- if there was an issue creating or adding to the EXTERNAL block
-