mirror of
https://github.com/NationalSecurityAgency/ghidra
synced 2024-08-28 21:40:28 +00:00
GP-2648 Improve demangler analysis after LoadPdbTask.
This commit is contained in:
parent
4ed60c8790
commit
e34324ba4e
|
@ -175,10 +175,10 @@ class LoadPdbTask extends Task {
|
||||||
AddressSetView addrs) {
|
AddressSetView addrs) {
|
||||||
MicrosoftDemanglerAnalyzer demanglerAnalyzer = new MicrosoftDemanglerAnalyzer();
|
MicrosoftDemanglerAnalyzer demanglerAnalyzer = new MicrosoftDemanglerAnalyzer();
|
||||||
String analyzerName = demanglerAnalyzer.getName();
|
String analyzerName = demanglerAnalyzer.getName();
|
||||||
String defaultValueAsString = analysisProperties.getValueAsString(analyzerName);
|
String valueAsString = analysisProperties.getValueAsString(analyzerName);
|
||||||
|
|
||||||
// Do not demangle if the demangler analyzer is turned off
|
// Do not demangle if the demangler analyzer is turned off
|
||||||
if (!Boolean.parseBoolean(defaultValueAsString)) {
|
if (!Boolean.parseBoolean(valueAsString)) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
manager.scheduleOneTimeAnalysis(demanglerAnalyzer, addrs);
|
manager.scheduleOneTimeAnalysis(demanglerAnalyzer, addrs);
|
||||||
|
|
Loading…
Reference in a new issue