Skip to content
Snippets Groups Projects
Commit c5e73fda authored by Andreas Ziegler's avatar Andreas Ziegler
Browse files

library: register additional offset for vtable objects

As C++ vtables generated by g++ start with a qword 0 (on x86_64)
and a qword for the RTTI for the object, the compiler knows that
it can also access <vtable_offset>+16 as the base address for
virtual function pointers. In order to detect such references
from the disassembly, note these offsets as local objects as
well and have them point at the surrounding vtable symbol table
object through Library.object_to_objects.
parent b06110b1
No related branches found
No related tags found
No related merge requests found
Pipeline #78696 passed