Skip to content

C++

C++

Objects

Memory layout of Classes

Vtables

https://nimrod.blog/posts/what-does-cpp-object-layout-look-like/
https://stackoverflow.com/questions/5712808/what-is-the-first-int-0-vtable-entry-in-the-output-of-g-fdump-class

Vtable Swapping

Replace the Vtable Pointers with a hooked version that can modify the input or return.