mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-06 03:50:02 +02:00
Merge remote-tracking branch
'origin/GT-3209_ghizard_fix_PDB_validation_logic' into Ghidra_9.1 Fixes #198 Fixes #1024
This commit is contained in:
commit
ddc78b4b70
1 changed files with 4 additions and 4 deletions
|
@ -177,6 +177,9 @@ public class PdbParser {
|
|||
}
|
||||
}
|
||||
}
|
||||
else { // only for .pdb.xml files.
|
||||
verifyPdbSignature();
|
||||
}
|
||||
parsed = true;
|
||||
}
|
||||
|
||||
|
@ -550,18 +553,15 @@ public class PdbParser {
|
|||
catch (SAXException e) {
|
||||
throw new IOException(e.getMessage());
|
||||
}
|
||||
|
||||
verifyPdbSignature(in);
|
||||
}
|
||||
|
||||
/**
|
||||
* Check to see if GUID and age in XML file matches GUID/Signature and age of binary
|
||||
*
|
||||
* @param in InputStream for XML file
|
||||
* @throws IOException If an I/O error occurs
|
||||
* @throws PdbException If error parsing the PDB.XML data
|
||||
*/
|
||||
private void verifyPdbSignature(InputStream in) throws IOException, PdbException {
|
||||
private void verifyPdbSignature() throws IOException, PdbException {
|
||||
|
||||
XmlElement xmlelem;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue