Class BuildVersionCommand
java.lang.Object
ghidra.app.util.bin.format.macho.commands.LoadCommand
ghidra.app.util.bin.format.macho.commands.BuildVersionCommand
- All Implemented Interfaces:
StructConverter
Represents a build_version_command structure
-
Nested Class Summary
Nested Classes -
Field Summary
-
Method Summary
Methods inherited from class LoadCommand
checkCount, createFragment, createPlateComment, fileOffsetToAddress, getCommandSize, getCommandType, getContextualName, getLinkerDataOffset, getLinkerDataSize, getStartIndex, markup, markupPlateComment, markupRawBinary, updateMonitor
-
Method Details
-
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
-
getPlatform
public int getPlatform()Returns the platform.- Returns:
- the platform
-
getMinOS
public int getMinOS()Returns the minimum OS.- Returns:
- the minimum OS
-
getSdk
public int getSdk()Returns the SDK.- Returns:
- the SDK
-
getNumTools
public long getNumTools()Returns the number of tools.- Returns:
- the number of tools
-