GP-1180 fix LoadPdbDialog handling of missing pdb info, fixes github issue #3289

LoadPdbDialog wasn't handling things well if Pdb information was missing or incomplete or malformed, allowing fake values (such as '<missing>') through to be used during a search, which could cause problems.
This commit is contained in:
dev747368 2021-09-16 18:45:38 -04:00
parent 40abafd9c8
commit 76337295d4
11 changed files with 209 additions and 891 deletions

View file

@ -191,7 +191,7 @@ public class PdbPlugin extends Plugin {
public static File findPdb(Program program, Set<FindOption> findOptions, TaskMonitor monitor) {
try {
SymbolFileInfo symbolFileInfo = SymbolFileInfo.fromMetadata(program.getMetadata());
SymbolFileInfo symbolFileInfo = SymbolFileInfo.fromProgramInfo(program);
if (symbolFileInfo == null) {
return null;
}