2 ms·
I think malloc implementations that zero memory should be required to switch to 0xa110ca7ed0 instead. Imagine a debugging session where you wonder, "is this me
by jrockway 16y ago
I think malloc implementations that zero memory should be required to switch to 0xa110ca7ed0 instead. Imagine a debugging session where you wonder, "is this memory allocated?" and then you type "x 5" and you get "a1 10 ca 7e d0". "Yes," you will be able to reply to yourself, "it is allocated."
- mahmud 16y agoIsn't that, like, the oldest debugging trick in the world? First thing you do to trace dataflow in an application is feed it known junk and search for that in memory. I loved "XXXXXXXXXX" when I was a cracker; lights the hex-view on fire with my lucky 888888888888888s, and you could pick it out if it was disassembled as code by mistake, since it's a series of "POP AX"s :-)