Class DataInCodeCommand
java.lang.Object
ghidra.app.util.bin.format.macho.commands.LoadCommand
ghidra.app.util.bin.format.macho.commands.LinkEditDataCommand
ghidra.app.util.bin.format.macho.commands.DataInCodeCommand
- All Implemented Interfaces:
StructConverter
Represents a LC_DATA_IN_CODE command.
-
Field Summary
Fields inherited from class ghidra.app.util.bin.format.macho.commands.LinkEditDataCommand
dataoff, dataReader, datasize
-
Method Summary
Modifier and TypeMethodDescriptionGets theList
ofDataInCodeEntry
svoid
markup
(Program program, MachHeader header, String source, TaskMonitor monitor, MessageLog log) Marks up thisLoadCommand
data with data structures and comments.Methods inherited from class ghidra.app.util.bin.format.macho.commands.LinkEditDataCommand
getCommandName, getLinkerDataOffset, getLinkerDataSize, markupRawBinary, toDataType
Methods inherited from class ghidra.app.util.bin.format.macho.commands.LoadCommand
createFragment, createPlateComment, fileOffsetToAddress, getCommandSize, getCommandType, getContextualName, getStartIndex, markupPlateComment, setEndian, updateMonitor
-
Method Details
-
getEntries
Gets theList
ofDataInCodeEntry
s- Returns:
- The
List
ofDataInCodeEntry
s
-
markup
public void markup(Program program, MachHeader header, String source, TaskMonitor monitor, MessageLog log) throws CancelledException Description copied from class:LoadCommand
Marks up thisLoadCommand
data with data structures and comments. Assumes the program was imported as a Mach-O.- Overrides:
markup
in classLinkEditDataCommand
- Parameters:
program
- TheProgram
to mark upheader
- The Mach-O headersource
- A name that represents where the header came from (could be null)monitor
- A cancellable task monitorlog
- The log- Throws:
CancelledException
- if the user cancelled the operation
-