Class CodeSignatureSuperBlob
java.lang.Object
ghidra.app.util.bin.format.macho.commands.codesignature.CodeSignatureGenericBlob
ghidra.app.util.bin.format.macho.commands.codesignature.CodeSignatureSuperBlob
- All Implemented Interfaces:
StructConverter
Represents a CS_SuperBlob structure
- See Also:
-
Field Summary
Fields inherited from class ghidra.app.util.bin.format.macho.commands.codesignature.CodeSignatureGenericBlob
base, length, magic
-
Constructor Summary
ConstructorDescriptionCodeSignatureSuperBlob
(BinaryReader reader) Creates a newCodeSignatureSuperBlob
-
Method Summary
Modifier and TypeMethodDescriptionint
getCount()
Returns the number of index entries.Returns the index blobs.Returns the index entries.void
markup
(Program program, Address addr, MachHeader header, TaskMonitor monitor, MessageLog log) Marks up thisCodeSignatureGenericBlob
data with data structures and commentsReturns a structure datatype representing the contents of the implementor of this interface.Methods inherited from class ghidra.app.util.bin.format.macho.commands.codesignature.CodeSignatureGenericBlob
getLength, getMagic
-
Constructor Details
-
CodeSignatureSuperBlob
Creates a newCodeSignatureSuperBlob
- Parameters:
reader
- ABinaryReader
positioned at the start of the structure- Throws:
IOException
- if there was an IO-related problem creating the structure
-
-
Method Details
-
getCount
public int getCount()Returns the number of index entries.- Returns:
- the number of index entries
-
getIndexEntries
Returns the index entries.- Returns:
- the index entries
-
getIndexBlobs
Returns the index blobs.- Returns:
- the index blobs
-
markup
public void markup(Program program, Address addr, MachHeader header, TaskMonitor monitor, MessageLog log) throws CancelledException Description copied from class:CodeSignatureGenericBlob
Marks up thisCodeSignatureGenericBlob
data with data structures and comments- Overrides:
markup
in classCodeSignatureGenericBlob
- Parameters:
program
- TheProgram
to mark upaddr
- TheAddress
of the blobheader
- The Mach-O headermonitor
- A cancellable task monitorlog
- The log- Throws:
CancelledException
- if the user cancelled the operation
-
toDataType
Description copied from interface:StructConverter
Returns 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.
- Specified by:
toDataType
in interfaceStructConverter
- Overrides:
toDataType
in classCodeSignatureGenericBlob
- 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:
-