Merge remote-tracking branch 'origin/GP-0_ghizard_fix_test_MicrosoftDemangler_from_GP-3671_processing_logic'

This commit is contained in:
Ryan Kurtz 2023-08-07 06:56:39 -04:00
commit 74156281c6

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());
}