Class CliAbstractSig
java.lang.Object
ghidra.app.util.bin.format.pe.cli.blobs.CliBlob
ghidra.app.util.bin.format.pe.cli.blobs.CliAbstractSig
- All Implemented Interfaces:
CliRepresentable
,StructConverter
- Direct Known Subclasses:
CliSigAssembly
,CliSigAssemblyRef
,CliSigConstant
,CliSigField
,CliSigLocalVar
,CliSigMethodDef
,CliSigMethodRef
,CliSigMethodSpec
,CliSigProperty
,CliSigStandAloneMethod
,CliSigTypeSpec
-
Nested Class Summary
Modifier and TypeClassDescriptionclass
static class
static class
static class
static enum
class
class
class
class
class
class
static class
class
class
class
class
class
class
class
-
Field Summary
Fields inherited from class ghidra.app.util.bin.format.pe.cli.blobs.CliBlob
blobOffset, contentsOffset, contentsSize
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic DataType
abstract String
Gets the comment associated with this blob's contents.abstract DataType
Gets the data type associated with this blob's contents.abstract String
Gets the name associated with this blob's contents.final String
Gets the string representation of this blob.final String
getRepresentation
(CliStreamMetadata stream) protected abstract String
getRepresentationCommon
(CliStreamMetadata stream, boolean isShort) This is the method that subclasses should override.protected String
getRepresentationOf
(CliRepresentable obj, CliStreamMetadata stream, boolean isShort) final String
final String
readCliType
(BinaryReader reader) Methods inherited from class ghidra.app.util.bin.format.pe.cli.blobs.CliBlob
decodeCompressedSigned, decodeCompressedSigned, decodeCompressedSigned, decodeCompressedSignedInt, decodeCompressedUnsigned, decodeCompressedUnsigned, decodeCompressedUnsigned, decodeCompressedUnsignedInt, getContents, getContentsReader, getContentsSize, getDataTypeForBytes, getName, getSize, getSizeDataType, getStreamIndex, isLittleEndian, testSizeDecoding, toDataType, toDataType
-
Field Details
-
PATH
- See Also:
-
-
Constructor Details
-
CliAbstractSig
-
-
Method Details
-
getContentsDataType
Description copied from class:CliBlob
Gets the data type associated with this blob's contents.- Overrides:
getContentsDataType
in classCliBlob
- Returns:
- The data type associated with this blob's contents.
-
getContentsName
Description copied from class:CliBlob
Gets the name associated with this blob's contents.- Overrides:
getContentsName
in classCliBlob
- Returns:
- The name associated with this blob's contents.
-
getContentsComment
Description copied from class:CliBlob
Gets the comment associated with this blob's contents.- Overrides:
getContentsComment
in classCliBlob
- Returns:
- The comment associated with this blob's contents.
-
getRepresentationCommon
This is the method that subclasses should override. If stream is null, the method must not cause a NullPointerException, i.e. it must handle this as if there was no stream to begin with. -
getRepresentation
Description copied from class:CliBlob
Gets the string representation of this blob.- Specified by:
getRepresentation
in interfaceCliRepresentable
- Overrides:
getRepresentation
in classCliBlob
- Returns:
- The string representation of this blob.
-
getShortRepresentation
- Specified by:
getShortRepresentation
in interfaceCliRepresentable
-
getRepresentation
- Specified by:
getRepresentation
in interfaceCliRepresentable
-
getShortRepresentation
- Specified by:
getShortRepresentation
in interfaceCliRepresentable
-
getRepresentationOf
protected String getRepresentationOf(CliRepresentable obj, CliStreamMetadata stream, boolean isShort) -
convertTypeCodeToDataType
-
readCliType
public CliAbstractSig.CliSigType readCliType(BinaryReader reader) throws IOException, InvalidInputException - Throws:
IOException
InvalidInputException
-