mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2026-09-19 16:40:38 -09:00
Merge remote-tracking branch 'origin/GP-5576_ghizard_set_vxtable_alignment_and_packing'
This commit is contained in:
@@ -262,6 +262,8 @@ public abstract class VirtualBaseTable implements VBTable {
|
||||
dt.add(defaultEntry, "", "");
|
||||
masterOrdinal++;
|
||||
}
|
||||
dt.align(defaultEntry.getAlignedLength());
|
||||
dt.setToDefaultPacking();
|
||||
tableStructure = (Structure) dtm.resolve(dt, null);
|
||||
//System.out.println(tableStructure.toString());
|
||||
isBuilt = true;
|
||||
|
||||
@@ -224,6 +224,8 @@ public abstract class VirtualFunctionTable implements VFTable {
|
||||
dt.add(tableEntry.getFunctionPointer(), tableEntry.getOverridePath().toString(), "");
|
||||
masterOffset += entrySize;
|
||||
}
|
||||
dt.align(defaultEntry.getAlignedLength());
|
||||
dt.setToDefaultPacking();
|
||||
tableStructure = (Structure) dtm.resolve(dt, null);
|
||||
//System.out.println(tableStructure.toString());
|
||||
isBuilt = true;
|
||||
|
||||
Reference in New Issue
Block a user