v-p-b / ghidra-vftable

Generate Ghidra class structures
12 stars 2 forks source link

Removed regex, use existing symbol namespace. #2

Closed astrelsky closed 4 years ago

astrelsky commented 4 years ago

This should make it work for any virtual class' vftable regardless of compiler. Well, except for gcc v2 versions which had some io classes with a vptr at an offset other than 0 for some reason.

Just a side note though, you should be careful about setting the function namespace of the functions in the vftable. Functions in a vftable may actually belong to an inherited class if they are not being overridden.