Package ghidra.app.util.bin.format.pdb
Interface PdbInfo
-
- All Known Implementing Classes:
PdbInfoCodeView
,PdbInfoDotNet
public interface PdbInfo
Bag of information about a Pdb symbol file, usually extracted from information present in a PE binary.
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
isValid()
Returns true if this instance is valid.static PdbInfo
read(BinaryReader reader, long offset)
Read either aPdbInfoCodeView
object or aPdbInfoDotNet
object from the BinaryReader of a PE binary.void
serializeToOptions(Options options)
Writes the various PDB info fields to a program's options.
-
-
-
Method Detail
-
read
static PdbInfo read(BinaryReader reader, long offset) throws java.io.IOException
Read either aPdbInfoCodeView
object or aPdbInfoDotNet
object from the BinaryReader of a PE binary.- Parameters:
reader
- BinaryReaderoffset
- position of the debug info- Returns:
- new PdbInfoCodeView or PdbInfoDotNet object
- Throws:
java.io.IOException
- if error
-
isValid
boolean isValid()
Returns true if this instance is valid.- Returns:
- boolean true if valid (magic signature matches and fields have valid data)
-
serializeToOptions
void serializeToOptions(Options options)
Writes the various PDB info fields to a program's options.- Parameters:
options
- Options of a Program to write to
-
-