Skip to content

What Your Class Looks Like in Assembly: this, Constructors, and the vtable ​

A class is a source-level abstraction; at the assembly level there is nothing but bytes in memory and a few call instructions. This topic follows the this pointer to its register, finds where constructor and destructor calls get inserted, and takes the table of function pointers behind virtual functions apart.

pdf-latest-41-gc317b3f · c317b3f · 2026-10-24