Class CliTableModule
java.lang.Object
ghidra.app.util.bin.format.pe.cli.tables.CliAbstractTable
ghidra.app.util.bin.format.pe.cli.tables.CliTableModule
- All Implemented Interfaces:
PeMarkupable,StructConverter
Describes the Module Table, which contains information about the current assembly.
-
Nested Class Summary
Nested Classes -
Field Summary
Fields inherited from class ghidra.app.util.bin.format.pe.cli.tables.CliAbstractTable
blobs, metadataStream, numRows, PATH, readerOffset, rows, strings, tableType, userStrings -
Constructor Summary
ConstructorsConstructorDescriptionCliTableModule(BinaryReader reader, CliStreamMetadata stream, CliTypeTable tableId) -
Method Summary
Modifier and TypeMethodDescriptionintGets the number of rows in this table.Gets the data type of a row in this table.Returns a structure datatype representing the contents of the implementor of this interface.Methods inherited from class ghidra.app.util.bin.format.pe.cli.tables.CliAbstractTable
getRow, getRowRepresentationSafe, getRowShortRepSafe, getRowSize, getTableSize, getTableType, markup, readBlobIndex, readGuidIndex, readStringIndex, readTableIndex, toString
-
Constructor Details
-
CliTableModule
public CliTableModule(BinaryReader reader, CliStreamMetadata stream, CliTypeTable tableId) throws IOException - Throws:
IOException
-
-
Method Details
-
getRowDataType
Description copied from class:CliAbstractTableGets the data type of a row in this table.- Specified by:
getRowDataTypein classCliAbstractTable- Returns:
- The data type of a row in this table.
-
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.
- Specified by:
toDataTypein interfaceStructConverter- Overrides:
toDataTypein classCliAbstractTable- Returns:
- returns a structure datatype representing the implementor of this interface
- See Also:
-
getNumRows
public int getNumRows()Description copied from class:CliAbstractTableGets the number of rows in this table. return The number of rows in this table.- Overrides:
getNumRowsin classCliAbstractTable
-