mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-03 17:59:46 +02:00
GP-4824 - PDB MSDIA - deal with NoType types
This commit is contained in:
parent
351374286b
commit
6b8cc1a5b5
1 changed files with 6 additions and 1 deletions
|
@ -17,6 +17,8 @@ package ghidra.app.util.bin.format.pdb;
|
||||||
|
|
||||||
import java.util.*;
|
import java.util.*;
|
||||||
|
|
||||||
|
import org.apache.commons.lang3.StringUtils;
|
||||||
|
|
||||||
import ghidra.app.services.DataTypeManagerService;
|
import ghidra.app.services.DataTypeManagerService;
|
||||||
import ghidra.program.database.data.DataTypeUtilities;
|
import ghidra.program.database.data.DataTypeUtilities;
|
||||||
import ghidra.program.model.data.*;
|
import ghidra.program.model.data.*;
|
||||||
|
@ -195,6 +197,9 @@ class PdbDataTypeParser {
|
||||||
dataTypeName = "undefined" + dataTypeName;
|
dataTypeName = "undefined" + dataTypeName;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Deal with other unrecognized types
|
||||||
|
dataTypeName = StringUtils.replace(dataTypeName, "<NoType>", "undefined");
|
||||||
|
|
||||||
// Example type representations:
|
// Example type representations:
|
||||||
// char *[2][3] pointer(array(array(char,3),2))
|
// char *[2][3] pointer(array(array(char,3),2))
|
||||||
// char *[2][3] * pointer(array(array(pointer(char),3),2))
|
// char *[2][3] * pointer(array(array(pointer(char),3),2))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue