ghidra: fix vtables not being pointers

develop
Ben Lubar 2020-03-16 14:32:25 -05:00
parent 19d62d9a2b
commit 71c17a14ff
No known key found for this signature in database
GPG Key ID: 92939677AB59EDA4
1 changed files with 1 additions and 1 deletions

@ -1125,7 +1125,7 @@ public class import_df_structures extends GhidraScript
if (t.originalName != null)
dtc.addDataType(new TypedefDataType(t.typeName, st), DataTypeConflictHandler.REPLACE_HANDLER);
st.setToDefaultAlignment();
st.add(createVTableDataType(t), "_vtable", null);
st.add(dtm.getPointer(createVTableDataType(t), currentProgram.getDefaultPointerSize()), "_vtable", null);
addStructFields(st, t);