Class DebugCodeViewSymbolTable
- java.lang.Object
-
- ghidra.app.util.bin.format.pe.debug.DebugCodeViewSymbolTable
-
- All Implemented Interfaces:
StructConverter
public class DebugCodeViewSymbolTable extends java.lang.Object implements StructConverter
A class to represent the Object Module Format (OMF) code view symbol table.
-
-
Field Summary
Fields Modifier and Type Field Description static int
MAGIC_N1_12
static int
MAGIC_N1_13
static int
MAGIC_NB_09
static int
MAGIC_NB_11
-
Constructor Summary
Constructors Constructor Description DebugCodeViewSymbolTable()
DO NOT USE THIS CONSTRUCTOR, USE create*(GenericFactory ...) FACTORY METHODS INSTEAD.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description byte[]
getMagic()
java.util.List<OMFAlignSym>
getOMFAlignSym()
Returns the OMF Align Symbols.java.util.List<ghidra.app.util.bin.format.pe.debug.OMFDirEntry>
getOMFDirectoryEntries()
Returns the OMF directory entries.java.util.List<OMFFileIndex>
getOMFFiles()
Returns the OMF Source Files.java.util.List<OMFGlobal>
getOMFGlobals()
Returns the OMF globals.OMFLibrary
getOMFLibrary()
java.util.List<OMFModule>
getOMFModules()
Returns the OMF modules.java.util.List<OMFSegMap>
getOMFSegMaps()
Returns the OMF segment maps.java.util.List<OMFSrcModule>
getOMFSrcModules()
Returns the OMF Source Modules.static boolean
isMatch(FactoryBundledWithBinaryReader reader, int ptr)
DataType
toDataType()
Returns a structure datatype representing the contents of the implementor of this interface.
-
-
-
Field Detail
-
MAGIC_NB_09
public static final int MAGIC_NB_09
- See Also:
- Constant Field Values
-
MAGIC_NB_11
public static final int MAGIC_NB_11
- See Also:
- Constant Field Values
-
MAGIC_N1_12
public static final int MAGIC_N1_12
- See Also:
- Constant Field Values
-
MAGIC_N1_13
public static final int MAGIC_N1_13
- See Also:
- Constant Field Values
-
-
Method Detail
-
isMatch
public static boolean isMatch(FactoryBundledWithBinaryReader reader, int ptr) throws java.io.IOException
- Throws:
java.io.IOException
-
getMagic
public byte[] getMagic()
-
getOMFLibrary
public OMFLibrary getOMFLibrary()
-
getOMFDirectoryEntries
public java.util.List<ghidra.app.util.bin.format.pe.debug.OMFDirEntry> getOMFDirectoryEntries()
Returns the OMF directory entries.- Returns:
- the OMF directory entries
-
getOMFModules
public java.util.List<OMFModule> getOMFModules()
Returns the OMF modules.- Returns:
- the OMF modules
-
getOMFSegMaps
public java.util.List<OMFSegMap> getOMFSegMaps()
Returns the OMF segment maps.- Returns:
- the OMF segment maps
-
getOMFGlobals
public java.util.List<OMFGlobal> getOMFGlobals()
Returns the OMF globals.- Returns:
- the OMF globals
-
getOMFSrcModules
public java.util.List<OMFSrcModule> getOMFSrcModules()
Returns the OMF Source Modules.- Returns:
- the OMF Source Modules
-
getOMFFiles
public java.util.List<OMFFileIndex> getOMFFiles()
Returns the OMF Source Files.- Returns:
- the OMF Source Files
-
getOMFAlignSym
public java.util.List<OMFAlignSym> getOMFAlignSym()
Returns the OMF Align Symbols.- Returns:
- the OMF Align Symbols
-
toDataType
public DataType toDataType() throws DuplicateNameException
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
- Returns:
- returns a structure datatype representing the implementor of this interface
- Throws:
DuplicateNameException
- when a datatype of the same name already exists- See Also:
StructConverter.toDataType()
-
-