mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-03 17:59:46 +02:00
GP-1101 Added missing isPDBLoaded flag assignment to the RTTIWindowsClassRecoverer which was inadvertently left out during refactoring.
This commit is contained in:
parent
9a1e83d9ce
commit
b8e8c094a1
2 changed files with 4 additions and 10 deletions
|
@ -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() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue