mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-05 10:49:34 +02:00
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:
parent
40abafd9c8
commit
76337295d4
11 changed files with 209 additions and 891 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue