Class DebugCOFFLineNumber
- java.lang.Object
-
- ghidra.app.util.bin.format.pe.debug.DebugCOFFLineNumber
-
public class DebugCOFFLineNumber extends java.lang.ObjectA class to represent the COFF Line number data structure.
typedef struct _IMAGE_LINENUMBER { union { DWORD SymbolTableIndex; // Symbol table index of function name if Linenumber is 0. DWORD VirtualAddress; // Virtual address of line number. } Type; WORD Linenumber; // Line number. } IMAGE_LINENUMBER;
-
-
Field Summary
Fields Modifier and Type Field Description static intIMAGE_SIZEOF_LINENUMBERThe size of theIMAGE_LINENUMBERstructure.
-
Constructor Summary
Constructors Constructor Description DebugCOFFLineNumber()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 static DebugCOFFLineNumbercreateDebugCOFFLineNumber(FactoryBundledWithBinaryReader reader, int index)intgetLineNumber()Returns the line number.intgetSymbolTableIndex()Returns the symbol table index of function name, if linenumber is 0.intgetVirtualAddress()Returns the virtual address of the line number.
-
-
-
Field Detail
-
IMAGE_SIZEOF_LINENUMBER
public static final int IMAGE_SIZEOF_LINENUMBER
The size of theIMAGE_LINENUMBERstructure.- See Also:
- Constant Field Values
-
-
Method Detail
-
createDebugCOFFLineNumber
public static DebugCOFFLineNumber createDebugCOFFLineNumber(FactoryBundledWithBinaryReader reader, int index) throws java.io.IOException
- Throws:
java.io.IOException
-
getSymbolTableIndex
public int getSymbolTableIndex()
Returns the symbol table index of function name, if linenumber is 0.- Returns:
- the symbol table index of function name, if linenumber is 0
-
getVirtualAddress
public int getVirtualAddress()
Returns the virtual address of the line number.- Returns:
- the virtual address of the line number
-
getLineNumber
public int getLineNumber()
Returns the line number.- Returns:
- the line number
-
-