3 ms·
The beauty of printf debugging for a novice C programmer is that the recompiling with printfs changes the memory layout so your buffer overflow no longer segfau
by angst_ridden 5y ago
The beauty of printf debugging for a novice C programmer is that the recompiling with printfs changes the memory layout so your buffer overflow no longer segfaults you.
ALternatively, your printf can use the wrong formatter string, and cause unrelated crashes. Such joy!
Makes me nostalgic for the good old days.
- majjgepolja 5y ago> ALternatively, your printf can use the wrong formatter string, and cause unrelated crashes. Such joy! What compiler are you using? Aztec C? Prehistoric C?