what does “dead beef” mean?

前端 未结 9 1736
醉酒成梦
醉酒成梦 2020-12-22 20:51

What does the word \"dead beef\" mean? I read it from a interview question. It has something to do with ipv6. I figured it could be a random hex number used for examples, li

9条回答
  •  清歌不尽
    2020-12-22 21:10

    It was used as a pattern to store in memory as a series of hex bytes (0xde, 0xad, 0xbe, 0xef). You could see if memory was corrupted because of hardware failure, buffer overruns, etc.

提交回复
热议问题