名词解释:DEADBEEF

类别:编程语言 点击:0 评论:0 推荐:
名词解释:DEADBEEF
搜索自google
DEADBEEF /ded-beef/ n. (From the Jargon file)

The hexadecimal word-fill pattern for freshly allocated memory under a number of IBM environments, including the RS/6000. Some modern debugging tools deliberately fill freed memory with this value as a way of converting heisenbugs into Bohr bugs. As in "Your program is DEADBEEF" (meaning gone, aborted, flushed from memory); if you start from an odd half-word boundary, of course, you have BEEFDEAD. See also the anecdote under fool and dead beef attack.

简单的说,deadbeaf就是指引用已经被free的内存,如果在调试器看到这个词,一定得小心啊


本文地址:http://com.8s8s.com/it/it25545.htm