Class FixedVirtualMemoryFileCommand
java.lang.Object
ghidra.app.util.bin.format.macho.commands.LoadCommand
ghidra.app.util.bin.format.macho.commands.FixedVirtualMemoryFileCommand
- All Implemented Interfaces:
 StructConverter
Represents a fvmfile_command structure
- 
Field Summary
 - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionGets the name of this load commandlongReturns the file's virtual address.Returns the file's pathname.voidmarkupRawBinary(MachHeader header, FlatProgramAPI api, Address baseAddress, ProgramModule parentModule, TaskMonitor monitor, MessageLog log) Marks-up thisLoadCommandwith data structures and comments.Returns a structure datatype representing the contents of the implementor of this interface.Methods inherited from class ghidra.app.util.bin.format.macho.commands.LoadCommand
checkCount, createFragment, createPlateComment, fileOffsetToAddress, getCommandSize, getCommandType, getContextualName, getLinkerDataOffset, getLinkerDataSize, getStartIndex, markup, markupPlateComment, updateMonitor 
- 
Constructor Details
- 
FixedVirtualMemoryFileCommand
- Throws:
 IOException
 
 - 
 - 
Method Details
- 
getPathname
Returns the file's pathname.- Returns:
 - the file's pathname
 
 - 
getHeaderAddress
public long getHeaderAddress()Returns the file's virtual address.- Returns:
 - the file's virtual address
 
 - 
toDataType
Description copied from interface:StructConverterReturns a structure datatype representing the contents of the implementor of this interface.For example, given:
class A { int foo; double bar; }The return value should be a structure data type with two data type components; an INT and a DOUBLE. The structure should contain field names and, if possible, field comments.
- Returns:
 - returns a structure datatype representing the implementor of this interface
 - Throws:
 DuplicateNameException- when a datatype of the same name already existsIOException- if an IO-related error occurs- See Also:
 
 - 
getCommandName
Description copied from class:LoadCommandGets the name of this load command- Specified by:
 getCommandNamein classLoadCommand- Returns:
 - The name of this load command
 
 - 
markupRawBinary
public void markupRawBinary(MachHeader header, FlatProgramAPI api, Address baseAddress, ProgramModule parentModule, TaskMonitor monitor, MessageLog log) Description copied from class:LoadCommandMarks-up thisLoadCommandwith data structures and comments. Assumes the program was imported as a Raw Binary.- Overrides:
 markupRawBinaryin classLoadCommand- Parameters:
 header- The Mach-O headerapi- AFlatProgramAPIbaseAddress- The base address of the programparentModule- The parentmoduleto create fragmentsmonitor- A cancellable task monitorlog- The log- See Also:
 
 
 -