mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-05 02:39:44 +02:00
GP-2649 - PDB Universal clean-up + fix for CreateFunctionCmd
This commit is contained in:
parent
e34324ba4e
commit
b35f123cae
10 changed files with 26 additions and 37 deletions
|
@ -158,6 +158,8 @@ class LoadPdbTask extends Task {
|
|||
return false;
|
||||
}
|
||||
|
||||
// We need to kick off any byte analyzers (like getting import symbols), as they typically
|
||||
// won't get kicked off by our loading of the PDB.
|
||||
private void scheduleAdditionalAnalysis() {
|
||||
|
||||
AddressSetView addrs = program.getMemory();
|
||||
|
@ -169,15 +171,13 @@ class LoadPdbTask extends Task {
|
|||
scheduleDemangler(manager, analysisProperties, addrs);
|
||||
}
|
||||
|
||||
// DemanglerAnalyzer is a byte analyzer (like getting import symbols), so it won't get
|
||||
// kicked off by our laying down symbols.
|
||||
private void scheduleDemangler(AutoAnalysisManager manager, Options analysisProperties,
|
||||
AddressSetView addrs) {
|
||||
MicrosoftDemanglerAnalyzer demanglerAnalyzer = new MicrosoftDemanglerAnalyzer();
|
||||
String analyzerName = demanglerAnalyzer.getName();
|
||||
String valueAsString = analysisProperties.getValueAsString(analyzerName);
|
||||
|
||||
// Do not demangle if the demangler analyzer is turned off
|
||||
// Only schedule analyzer if enabled
|
||||
if (!Boolean.parseBoolean(valueAsString)) {
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue