Recovering a C++ Vtable From ARM64/x64 Disassembly

Two-class toy hierarchy, virtual dtor plus two methods. objdump/readelf of the compiler vtable, ctor writing the vptr, virtual call through [x0,#16], gdb print of the slot.

March 11, 2021 · 9 min · 1866 words · Jose Adalberto Gutierrez Ochoa