Constructors/destructors in compiled C code
Constructors/destructors in compiled C code
I'm wondering why there is this whole constructor/destructor stuff when I disassemble my compiled C code? Isn't this exclusive to C++?
You mean, the ctors/dtors sections? It's normal. Don't mind about it. One maybe could have a special linkfile that just rip them out if necessary. It only adds an extra 100 bytes or something.
pixel: A mischievous magical spirit associated with screen displays. The computer industry has frequently borrowed from mythology. Witness the sprites in computer graphics, the demons in artificial intelligence and the trolls in the marketing department.