mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2026-05-31 04:09:11 +08:00
Merge remote-tracking branch 'origin/GP-1123_PlaceholderStructCollision'
(Closes #3196)
This commit is contained in:
+3
@@ -516,6 +516,9 @@ public class FillOutStructureCmd extends BackgroundCommand {
|
||||
return null;
|
||||
}
|
||||
Structure structDT = VariableUtilities.findOrCreateClassStruct(f);
|
||||
if (structDT == null) {
|
||||
return null;
|
||||
}
|
||||
// FIXME: How should an existing packed structure be handled? Growing and offset-based placement does not apply
|
||||
int len = structDT.isZeroLength() ? 0 : structDT.getLength();
|
||||
if (len < size) {
|
||||
|
||||
Reference in New Issue
Block a user