转自:https://www.cnblogs.com/lucelujiaming/p/9480865.html

我在uboot代码里看到,freescale系列cpu,总喜欢把ddr的值全部初始化为0xDEADBEEF。

直到最近,我看到谷歌面试题里居然也有问这个值的来历,才认真搜了一下,果然有历史渊源啊。

http://en.wikipedia.org/wiki/Hexspeak

Many computer processors, operating systems, and debuggers make use of magic numbers, especially as a magic debug value.

  • 0x8BADF00D ("ate bad food") is used by Apple in iOS crash reports, when an application takes too long to launch, terminate, or respond to system events.[1]

  • 0x1BADB002 ("1 bad boot"[2]) Multiboot header magic number.[3]

  • 0xB16B00B5 ("big boobs") was required by Microsoft's Hyper-V hypervisor to be used by Linux guests as their "guest signature".[4] This offending code was later changed to 0x0DEFACED ("defaced").[5]

  • 0xBAADF00D ("bad food") is used by Microsoft's LocalAlloc(LMEM_FIXED) to indicate uninitialised allocated heap memory when the debug heap is used.[6]

  • 0xBADDCAFE ("bad cafe") is used by Libumem to indicate uninitialized memory area

  • 0xCAFEBABE ("cafe babe") is used by Mach-O to identify Universal object files, and by the Java programming language to identify Java bytecodeclass files.[7]

  • 0xCAFED00D ("Cafe Dude") is used by Java as a magic number for their pack200 compression.[8]

  • 0xD15EA5E ("disease") is a flag that indicates regular boot on the Nintendo GameCube and Wii consoles.[9][10]

  • 0xDEADBABE ("Dead Babe") is used by IBM Jikes RVM as a sanity check of the stack of the primary thread [11]

  • 0xDEADBEEF ("dead beef") is frequently used to indicate a software crash or deadlock in embedded systems. DEADBEEF was originally used to mark newly allocated areas of memory that had not yet been initialized -- when scanning a memory dump, it is easy to see the DEADBEEF. It is used by IBM RS/6000 systems, Mac OS on 32-bit PowerPC processors and the Commodore Amiga as a magic debug value. On Sun Microsystems' Solaris, it marks freed kernel memory. On OpenVMS running on Alpha processors, DEAD_BEEF can be seen by pressing CTRL-T. The DEC Alpha SRM console has a background process that traps memory errors, identified by PS as "BeefEater waiting on 0xdeadbeef".[12]

  • 0xDEADC0DE ("dead code") is used as a marker in OpenWRT firmware to signify the beginning of the to-be created jffs2 filesystem at the end of the static firmware.

  • 0xDEADDEAD ("dead dead") is the bug check (STOP) code displayed when invoking a Blue Screen of Death either by telling the kernel via the attached debugger, or by using a special keystroke combination.[13] This is usually seen by driver developers, as it is used to get a memory dump on Windows NT based systems. An alternative to 0xDEADDEAD is the bug check code 0x000000E2,[14] as they are both called MANUALLY_INITIATED_CRASH as seen on the Microsoft Developer Network.

  • 0xDEADFA11 ("dead fall") is used by Apple in iOS crash reports, when the user force quits an application.[1]

  • 0xDEAD10CC ("dead lock") is used by Apple in iOS crash reports, when application holds on to a system resource while running in the background.[1]

  • 0xDEFEC8ED ("defecated") is the magic number for OpenSolaris core dumps.[15]

  • 0xFACEFEED ("face feed") is used by Alpha servers running Windows NT. The Alpha Hardware Abstraction Layer (HAL) generates this error when it encounters a hardware failure.[16]

  • 0xFEE1DEAD ("feel dead") is used as a magic number in the Linux reboot system call.[17]

  • 0xE011CFD0 is used as magic number for Microsoft Office files. In little endian this reads D0CF11E0, "docfile0".[18]

  • 0x0000000FF1CE ("office") is used as the last part of product codes (guid) for Microsoft Office components (visible in registry under HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall registry key).

  • 0x00BAB10C ("oo-ba-block") is used as the magic number for the ZFS uberblock.

  • C15C:0D06:F00D ("cisco dog food") used in the IPv6 address of www.cisco.com on World IPv6 Day. "Dog food" refers to Cisco eating its own dog foodwith IPv6.

  • face:b00c ("facebook") used in the IPv6 address of www.v6.facebook.com

  • 0xDEADD00D ("dead dude") is used by Android in the Dalvik virtual machine to indicate a VM abort.

  • 0xCEFAEDFE ("face feed") is used by Apple in iOS as a header for binary files. In little endian this reads FACEFEED, "Face Feed".

  • 0xDABBAD00 ("dabba doo") is the name of a blog on computer security.[19]

  • 0x1CEB00DA ("ice buddha") was used as the origin for the binary file parser IceBuddha.[20]

DEADBEEF 是什么相关推荐

  1. [转]DEADBEEF 是什么

    我在uboot代码里看到,freescale系列cpu,总喜欢把ddr的值全部初始化为0xDEADBEEF. 直到最近,我看到谷歌面试题里居然也有问这个值的来历,才认真搜了一下,果然有历史渊源啊. h ...

  2. deadbeef_DeaDBeeF软件下载-DeaDBeeF(音频播放器)下载1.8.0官方版-西西软件下载

    DeaDBeeF是一款强大的音乐播放器,这里带给大家官方PC版本,它可以将音乐的本质完美展现出来,让你可以聆听到最动听的音乐.同时,DeaDBeeF还可以编辑本地音乐文件标签和属性,听歌管理更加便利, ...

  3. 缓冲区溢出攻击实验(C语言 | 汇编语言 | 输出deadbeef)

    缓冲区溢出攻击实验(输出deadbeef) C语言题目源码 尝试 运行程序 观察 分析 栈内部情况 决定使用栈溢出 实施 使用vs2019打开反汇编 使用反汇编 构造payload 得到结果 C语言题 ...

  4. 时隔 3 年,音频播放器 DeaDBeeF 发布 1.8.0 版本

    开发四年只会写业务代码,分布式高并发都不会还做程序员? >>>   DeaDBeeF 发布了 1.8.0 版本,DeaDBeeF(0xDEADBEEF)是一个 GNU/Linux.* ...

  5. ubuntu12.04安装deadbeef

    今天在linux吧   被几位大神吐槽了   可能是因为问题太愚蠢了吧  具体是什么问题 还真不好意思说   想想还是自己解决吧   看看源码  自己学着来 听说deadbeef比较是linux下比较 ...

  6. DeaDBeeF MPRIS插件 v2.1

    2.0版本实现了MPRIS v2的基本功能. 插件单独编译,不再是补丁的形式.需要安装DeaDBeeF的头文件.编译安装的DeaDBeeF已经默认安装了头文件.如果使用的是编译好的静态文件,需要拷贝D ...

  7. DeadBeef linux下的音频播放新秀

    使用过不少的linux发行版,最终选择linux mint,使用过不少的音乐播放器,最终选择deadbeef 早些时候的ubuntu与fedora默认的是rhythmbox,现在改变为banshee ...

  8. 连接DeaDBeeF和osd-lyrics

    DeaDBeeF是linux下优秀的播放器,osd-lyrics可以在linux下完美的显示歌词. osd-lyrics通过DBus与播放器通信,实现同步显示歌词.DeaDBeeF没有提供DBus接口 ...

  9. linux ubuntu10.10下最好的音乐播放器deadbeef

    linux ubuntu10.10下最好的音乐播放器deadbeef 十一 18 无冷 Linux , Ubuntu 1,162 viewsGo to comment 推荐一款播放器Deadbeef ...

最新文章

  1. XP硬盘安装Ubuntu 10.10双系统图解(转)
  2. 互斥锁、共享内存方式以及生产者消费者模型
  3. WEB前端学习四 js什么是原始类型
  4. android shape 自定义,Android自定义shape的使用
  5. 平面设计中的网格系统pdf_平面设计基础知识
  6. c语言程序设计实践课选题,c语言程序设计实践实验题目
  7. 【转载保存】MySQL时间、字符串、时间戳互相转换
  8. Redis之Ubuntu开机启动
  9. Python 进阶之路 (五) map, filter, reduce, zip 一网打尽
  10. js 正则表达式去空格
  11. CAN协议 J1939
  12. mysql数据库基本操作指令:附图
  13. 修改IBM MQ CCSID
  14. Python入门第7课——tuple变量(只读课堂)
  15. ilove中文_iLovePDF中文版
  16. Android跟我一起来开发--微影之开篇
  17. ffmpeg源码实现H264推流
  18. 深度学习与自然语言处理教程(6) - 神经机器翻译、seq2seq与注意力机制(NLP通关指南·完结)
  19. WEB2.0中AJAX应用的详细探讨
  20. 烟雨黑帽SEO动态寄生虫程序全站更新快照程序2022版-特别适合配合动态寄生虫使用。

热门文章

  1. excel java api_JAVA EXCEL API 简介
  2. 0基础云服务器部署Stable Diffusion
  3. 《程序员》2012年10期精彩内容:移动互联网 创业•求生
  4. 一文搞懂HMM(隐马尔可夫模型)
  5. SSL\TLS中间人攻击
  6. werkzeug源码解析 Request Response
  7. 百度智能云 x 河北电力 | 电力+AI,在这里提速!
  8. java.lang.ClassNotFoundException: Didn't find class android.support.v4.app.CoreComponentFactory
  9. decltype关键字详解
  10. Java POI WPS另存为的XLSX Excel报错Package should contain a content type part [M1.13]