mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2026-06-01 13:44:50 +08:00
GT-2963: Fixing typo.
This commit is contained in:
+3
-3
@@ -438,15 +438,15 @@ public class DWARFFunctionImporter {
|
||||
dvar.dni = dvar.dni.replaceType(null /*nothing matches static global var*/);
|
||||
if (res != 0) {
|
||||
// If the expression evaluated to a static address other than '0'
|
||||
Address staticVariableAddresss = toAddr(res + prog.getProgramBaseAddressFixup());
|
||||
if (variablesProcesesed.contains(staticVariableAddresss)) {
|
||||
Address staticVariableAddress = toAddr(res + prog.getProgramBaseAddressFixup());
|
||||
if (variablesProcesesed.contains(staticVariableAddress)) {
|
||||
return null;
|
||||
}
|
||||
|
||||
boolean external = diea.getBool(DWARFAttribute.DW_AT_external, false);
|
||||
DataType storageType = dwarfDTM.getStorageDataType(diea.getTypeRef(), dvar.type);
|
||||
|
||||
outputGlobal(staticVariableAddresss, dvar.type, storageType, external,
|
||||
outputGlobal(staticVariableAddress, dvar.type, storageType, external,
|
||||
DWARFSourceInfo.create(diea), dvar.dni);
|
||||
}
|
||||
else {
|
||||
|
||||
Reference in New Issue
Block a user