Class CliTableAssemblyRef
- java.lang.Object
-
- ghidra.app.util.bin.format.pe.cli.tables.CliAbstractTable
-
- ghidra.app.util.bin.format.pe.cli.tables.CliTableAssemblyRef
-
- All Implemented Interfaces:
PeMarkupable,StructConverter
public class CliTableAssemblyRef extends CliAbstractTable
Describes the AssemblyRef table. Each row is a reference to an external assembly.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description classCliTableAssemblyRef.CliAssemblyRefRow
-
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
Constructors Constructor Description CliTableAssemblyRef(BinaryReader reader, CliStreamMetadata stream, CliTypeTable tableId)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StructureDataTypegetRowDataType()Gets the data type of a row in this table.voidmarkup(Program program, boolean isBinary, TaskMonitor monitor, MessageLog log, NTHeader ntHeader)Marks up a PE structure.DataTypetoDataType()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
getNumRows, getRow, getRowRepresentationSafe, getRowShortRepSafe, getRowSize, getTableSize, getTableType, readBlobIndex, readGuidIndex, readStringIndex, readTableIndex, toString
-
-
-
-
Constructor Detail
-
CliTableAssemblyRef
public CliTableAssemblyRef(BinaryReader reader, CliStreamMetadata stream, CliTypeTable tableId) throws java.io.IOException
- Throws:
java.io.IOException
-
-
Method Detail
-
getRowDataType
public StructureDataType 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
public DataType 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:
StructureDataType
-
markup
public void markup(Program program, boolean isBinary, TaskMonitor monitor, MessageLog log, NTHeader ntHeader) throws DuplicateNameException, CodeUnitInsertionException, java.io.IOException
Description copied from interface:PeMarkupableMarks up a PE structure.- Specified by:
markupin interfacePeMarkupable- Overrides:
markupin classCliAbstractTable- Parameters:
program- The program to markup.isBinary- True if the program is binary; otherwise, false.monitor- The monitor.log- The log.ntHeader- The PE's NT Header structure.- Throws:
DuplicateNameExceptionCodeUnitInsertionExceptionjava.io.IOException
-
-