mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2026-05-30 05:25:34 +08:00
GP-943 Corrected RecoverClassesFromRTTIScriptTest4 test failure
This commit is contained in:
@@ -488,7 +488,8 @@ public class RecoveredClass {
|
|||||||
|
|
||||||
int offset = newComponent.getOffset();
|
int offset = newComponent.getOffset();
|
||||||
|
|
||||||
DataTypeComponent currentComponent = computedClassStructure.getComponentAt(offset);
|
DataTypeComponent currentComponent =
|
||||||
|
computedClassStructure.getComponentContaining(offset);
|
||||||
DataType currentComponentDataType = currentComponent.getDataType();
|
DataType currentComponentDataType = currentComponent.getDataType();
|
||||||
|
|
||||||
if (currentComponentDataType.equals(newComponentDataType)) {
|
if (currentComponentDataType.equals(newComponentDataType)) {
|
||||||
|
|||||||
Reference in New Issue
Block a user