GP-1101 Added missing isPDBLoaded flag assignment to the RTTIWindowsClassRecoverer which was inadvertently left out during refactoring.

This commit is contained in:
ghidra007 2021-07-06 14:35:02 -04:00
parent 9a1e83d9ce
commit b8e8c094a1
2 changed files with 4 additions and 10 deletions

View file

@ -275,12 +275,8 @@ public class RecoverClassesFromRTTIScript extends GhidraScript {
private boolean isPDBLoadedInProgram() {
Options options = currentProgram.getOptions("Program Information");
isPDBLoaded = false;
Object isPDBLoadedObject = options.getObject("PDB Loaded", null);
if (isPDBLoadedObject != null) {
isPDBLoaded = (boolean) isPDBLoadedObject;
}
return isPDBLoaded;
return options.getBoolean("PDB Loaded", false);
}
public String validate() {