I have a C# background. I am very much a newbie to a low-level language like C. In C#, struct's …
c struct memory-layoutAs a programming exercise, I am writing a mark-and-sweep garbage collector in C. I wish to scan the data segment (…
c memory-management garbage-collection global-variables memory-layoutThis might be a duplicate question. I wish to know how the memory map of a windows process look like? …
windows memory-management low-level memory-layoutI was recently asked in an interview about object layout with virtual functions and multiple inheritance involved. I explained it …
c++ multiple-inheritance vtable virtual-inheritance memory-layoutYes, quite a few similar questions exist already (5037601, 19166698, 4855162, 14505995, 5052648, 13409508, 7745146, 7459630; sorry, not enough rep for more than 2 links), and yes, there are …
c exploit memory-layoutFollowing up Why is the ELF execution entry point virtual address of the form 0x80xxxxx and not zero 0x0? …
linker elf memory-layoutConsider following hierarchy: struct A { int a; A() { f(0); } A(int i) { f(i); } virtual void f(int i) { cout &…
c++ multiple-inheritance vtable virtual-inheritance memory-layoutI'm aware you can use MemoryLayout<T>.size to get the size of a type T. For example: …
swift heap-memory dynamic-allocation memory-layout