Skip to content

Rule: Virtual table layout changed

Canonical rule slug: cpp-vtable. ← back to all rules

A polymorphic class's vtable changes shape, so existing binaries dispatch through the wrong slot.

Canonical demonstration