Skip to content

Commit

Permalink
GP-4459 put back parentList check
Browse files Browse the repository at this point in the history
  • Loading branch information
ghidra007 committed Apr 3, 2024
1 parent f0f2ffc commit cd780a7
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2543,6 +2543,11 @@ private Map<RecoveredClass, Integer> getBaseClassOffsetMap(RecoveredClass recove
baseClassDescriptorAddress.toString());
continue;
}

// Continue if the class has mult inh but base class is not on the parent list
if (!recoveredClass.getParentList().contains(baseClass)) {
continue;
}

int mdisp = api.getInt(baseClassDescriptorAddress.add(8));
int pdisp = api.getInt(baseClassDescriptorAddress.add(12));
Expand Down

0 comments on commit cd780a7

Please sign in to comment.