mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-05 19:42:36 +02:00
Merge remote-tracking branch 'origin/GP-5576_ghizard_set_vxtable_alignment_and_packing'
This commit is contained in:
commit
8ee341cd65
2 changed files with 4 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue