GP-0 fix MicrosoftDemangler processing from GP-3671... failing test

This commit is contained in:
ghizard 2023-08-05 11:11:44 -04:00
parent 3b9bec2ce2
commit 3e6b1ccfb8

View File

@ -22,6 +22,7 @@ import ghidra.program.model.lang.CompilerSpec;
import mdemangler.datatype.MDDataType;
import mdemangler.datatype.MDVarArgsType;
import mdemangler.datatype.complex.*;
import mdemangler.datatype.extended.MDArrayReferencedType;
import mdemangler.datatype.modifier.*;
import mdemangler.functiontype.*;
import mdemangler.naming.*;
@ -817,6 +818,9 @@ public class MDMangGhidra extends MDMang {
else if (datatype instanceof MDVarArgsType) {
resultDataType.setVarArgs();
}
else if (datatype instanceof MDArrayReferencedType arrRefType) {
return processDataType(resultDataType, arrRefType.getReferencedType());
}
else if (datatype instanceof MDStdNullPtrType) {
resultDataType.setName(datatype.toString());
}