Had to fix the linker loader confusion there. And it's not much about C++, 99% is about C.
The C++ part should talk about the class layout, vtable and virtual functions, the different calling convention (__thiscall, MSABI), typeinfo and such.
Hey, you're totally correct and thank you for the change. I'm a human and I make typos too so I appreciate you opening the PR :) it's merged now.
Unfortunately, I've spent my time learning C++ most of the time and it would be dubious for me to assume that the same file layout exists for C for the same program(although I later discovered this to be true, as the output executables were exactly the same size).
22
u/reini_urban May 24 '20 edited May 24 '20
Had to fix the linker loader confusion there. And it's not much about C++, 99% is about C.
The C++ part should talk about the class layout, vtable and virtual functions, the different calling convention (__thiscall, MSABI), typeinfo and such.