mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2026-01-09 22:17:55 -05:00
Merge remote-tracking branch 'origin/GP-5856_RulePtrsubUndoInfiniteLoop'
into patch (Closes #7997)
This commit is contained in:
@@ -1726,6 +1726,9 @@ Datatype *TypeStruct::nearestArrayedComponentForward(int8 off,int8 *newoff,int8
|
||||
int8 suboff;
|
||||
Datatype *res = subtype->nearestArrayedComponentForward(remain, &suboff, elSize);
|
||||
if (res != (Datatype *)0) {
|
||||
int8 subdiff = diff + remain - suboff;
|
||||
if (subdiff > 128)
|
||||
break;
|
||||
*newoff = -diff;
|
||||
return subtype;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user