mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2026-09-28 17:11:11 -09:00
GP-3175 fix DWARF importer to handle Apple specific DWARF records
Also fix filename lookup to look in the same compUnit as the fileNum attribute. Also fix NPE in DataTypeUtilities.isSameKindBuiltInDataType()
This commit is contained in:
@@ -285,7 +285,7 @@ public class DataTypeUtilities {
|
||||
DataType dataType2) {
|
||||
if (dataType1 instanceof BuiltIn) {
|
||||
// Same kind if both types share a common BuiltIn implementation
|
||||
Class<?> baseClass = dataType1.getClass().getSuperclass();
|
||||
Class<?> baseClass = dataType1.getClass();
|
||||
Class<?> superClass;
|
||||
while ((superClass = baseClass.getSuperclass()) != BuiltIn.class) {
|
||||
baseClass = superClass;
|
||||
|
||||
Reference in New Issue
Block a user