mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-05 02:39:44 +02: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:
parent
3aa071d787
commit
a813e1da2e
8 changed files with 57 additions and 5 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue