Deep C++ : Understanding C++ Object Layout

April 27, 2012

Understanding C++ object layout will help us in understanding C++ overhead, which is very negligible in modern computers, this will also help us in debugging C++ application crashes due to object corruption.

See these links for Deep C++:

C++ Under the Hood by Scott Meyers

C++ : Under the Hood by Jan Gray

Memory Layout for Multiple and Virtual Inheritance

C++ internals: Implementing C++ code in C

Itanium C++ ABI

C++ in embedded systems: Myth and reality

C++’s ‘virtual’ modifier

Vtbl layout under MI

Memory Management in C++ by Nathan C. Myers

How a C++ compiler implements exception handling

Reversing C++

Finally A Book

Inside the C++ Object Model by Stanley B. Lippman

Deep Dive !