GP-862 Refactor of Composite interface and internals. Changes made to

packing and alignment methods (see WhatsNew.html for API changes).
This commit is contained in:
ghidra1
2021-02-02 20:43:39 -05:00
parent 3b867b3444
commit da800b6e41
166 changed files with 6316 additions and 5486 deletions

View File

@@ -75,7 +75,7 @@ public class Pic24DInitAnalyzer extends AbstractAnalyzer {
long available = dinitBlock.getSize();
Structure dataRecordType = new StructureDataType("data_record", 0, program.getDataTypeManager());
dataRecordType.setInternallyAligned(true);
dataRecordType.setPackingEnabled(true);
dataRecordType.add(PointerDataType.dataType, "dst", null);
// NOTE: long is used instead of int to ensure that 4-bytes within ROM are consumed
dataRecordType.add(LongDataType.dataType, "len", null);