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 theListofDataInCodeEntrysvoidmarkup(Program program, MachHeader header, String source, TaskMonitor monitor, MessageLog log) Marks up thisLoadCommanddata with data structures and comments.Methods inherited from class ghidra.app.util.bin.format.macho.commands.LinkEditDataCommand
getCommandName, getLinkerDataOffset, getLinkerDataSize, markupRawBinary, toDataTypeMethods inherited from class ghidra.app.util.bin.format.macho.commands.LoadCommand
checkCount, createFragment, createPlateComment, fileOffsetToAddress, getCommandSize, getCommandType, getContextualName, getStartIndex, markupPlateComment, updateMonitor
-
Method Details
-
getEntries
Gets theListofDataInCodeEntrys- Returns:
- The
ListofDataInCodeEntrys
-
markup
public void markup(Program program, MachHeader header, String source, TaskMonitor monitor, MessageLog log) throws CancelledException Description copied from class:LoadCommandMarks up thisLoadCommanddata with data structures and comments. Assumes the program was imported as a Mach-O.- Overrides:
markupin classLinkEditDataCommand- Parameters:
program- TheProgramto 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
-