mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-03 17:59:46 +02:00
GP-5697 - PDB Provide post-analysis pop-up when PDB file not found
This commit is contained in:
parent
657215ddbe
commit
2f51ec305c
2 changed files with 8 additions and 4 deletions
|
@ -87,7 +87,9 @@ public class PdbAnalyzer extends AbstractAnalyzer {
|
||||||
|
|
||||||
File pdbFile = PdbAnalyzerCommon.findPdb(this, program, searchUntrustedLocations, monitor);
|
File pdbFile = PdbAnalyzerCommon.findPdb(this, program, searchUntrustedLocations, monitor);
|
||||||
if (pdbFile == null) {
|
if (pdbFile == null) {
|
||||||
// warnings have already been logged
|
// Warnings have already been logged, but nice to have a post-analysis pop-up that
|
||||||
|
// PDB analysis was not done
|
||||||
|
log.appendMsg(NAME, "Aborted: Could not find an appropriate PDB file; see log");
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -167,7 +167,9 @@ public class PdbUniversalAnalyzer extends AbstractAnalyzer {
|
||||||
pdbFile = PdbAnalyzerCommon.findPdb(this, program, searchUntrustedLocations, monitor);
|
pdbFile = PdbAnalyzerCommon.findPdb(this, program, searchUntrustedLocations, monitor);
|
||||||
}
|
}
|
||||||
if (pdbFile == null) {
|
if (pdbFile == null) {
|
||||||
// warnings have already been logged
|
// Warnings have already been logged, but nice to have a post-analysis pop-up that
|
||||||
|
// PDB analysis was not done
|
||||||
|
log.appendMsg(NAME, "Aborted: Could not find an appropriate PDB file; see log");
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue