Magic debug values

转载 2013年12月03日 15:47:18
摘自:http://en.wikipedia.org/wiki/Magic_number_(programming)

Code Description
..FACADE "Facade", Used by a number of RTOSes
1BADB002 "1 bad boot"Multiboot header magic number[13]
A5A5A5A5 Used in embedded development because the alternating bit pattern (1010 0101) creates an easily recognized pattern on oscilloscopes and logic analyzers.
A5 Used in FreeBSD's PHK malloc(3) for debugging when /etc/malloc.conf is symlinked to "-J" to initialize all newly allocated memory as this value is not a NULL pointer or ASCII NUL character.
ABABABAB Used by Microsoft's debug HeapAlloc() to mark "no man's land" guard bytes after allocated heap memory.[14]
ABADBABE "A bad babe", Used by Apple as the "Boot Zero Block" magic number
ABBABABE "ABBA babe", used by Driver Parallel Lines memory heap.
ABADCAFE "A bad cafe", Used to initialize all unallocated memory (Mungwall, AmigaOS)
0DEFACED "Defaced", Required by Microsoft's Hyper-V hypervisor to be used by Linux guests as their "guest signature", after changing from original 0xB16B00B5
BAADF00D "Bad food", Used by Microsoft's debug HeapAlloc() to mark uninitialized allocated heap memory

[14]

BADBADBADBAD "Bad bad bad bad"Burroughs large systems "uninitialized" memory (48-bit words)
BADC0FFEE0DDF00D "Bad coffee odd food", Used on IBM RS/6000 64-bit systems to indicate uninitialized CPU registers
BADDCAFE "Bad cafe", On Sun MicrosystemsSolaris, marks uninitialised kernel memory (KMEM_UNINITIALIZED_PATTERN)
BBADBEEF "Bad beef", Used in WebKit[clarification needed]
BEEFCACE "Beef cake", Used by Microsoft .NET as a magic number in resource files
CAFED00D "Cafe dude", Used by Java for their pack200 compression
CAFEFEED "Cafe feed", Used by Sun MicrosystemsSolaris debugging kernel to mark kmemfree() memory
CCCCCCCC Used by Microsoft's C++ debugging runtime library and many DOS environments to mark uninitialized stack memory. CC resembles the opcode of theINT 3 debug breakpoint interrupt on x86 processors.
CDCDCDCD Used by Microsoft's C/C++ debug malloc() function to mark uninitialized heap memory, usually returned from HeapAlloc()[14]
D15EA5E "Disease", Used as a flag to indicate regular boot on the Nintendo GameCube and Wii consoles
DDDDDDDD Used by MicroQuill's SmartHeap and Microsoft's C/C++ debug free() function to mark freed heap memory

[14]

DEADBABE "Dead babe", Used at the start of Silicon GraphicsIRIX arena files
DEADBEEF "Dead beef", Famously used on IBM systems such as the RS/6000, also used in the original Mac OS operating systemsOPENSTEP Enterprise, and the Commodore Amiga. On Sun MicrosystemsSolaris, marks freed kernel memory (KMEM_FREE_PATTERN)
DEADC0DE "Dead code", Used as a marker in OpenWRT firmware to signify the beginning of the to-be created jffs2 file system at the end of the static firmware
DEADF00D "Dead food", Used by Mungwall on the Commodore Amiga to mark allocated but uninitialized memory [15]
DEFEC8ED "Defecated", Used for OpenSolaris core dumps
EBEBEBEB From MicroQuill's SmartHeap
FADEDEAD "Fade dead", Comes at the end to identify every AppleScript script
FDFDFDFD Used by Microsoft's C/C++ debug malloc() function to mark "no man's land" guard bytes before and after allocated heap memory

[14]

FEE1DEAD "Feel dead", Used by Linux reboot() syscall
FEEDFACE "Feed face", Seen in PowerPC Mach-O binaries on Apple Inc.'s Mac OS X platform. On Sun MicrosystemsSolaris, marks the red zone (KMEM_REDZONE_PATTERN)

Used by VLC player and some IP cameras in RTP/RTCP protocol, VLC player sends four bytes in the order of the endianness of the system. Some IP cameras expecting that the player sends this magic number and do not starting the stream if no magic number received.

FEEEFEEE "Fee fee", Used by Microsoft's debug HeapFree() to mark freed heap memory. Some nearby internal bookkeeping values may have the high word set to FEEE as well.

[14]


CocoaPods / Pod 安装简略步骤

项目中用到CocoaPods来管理第三方库文件
  • mapboo
  • mapboo
  • 2014年11月11日 11:24
  • 6926

Studio Compile Sdk Version 使用API23: Android6.0创建项目中使用V4包控件问题兼容解决方案

No resource found that matches the given name 'Theme.AppCompat.Light.DarkActionBar'. No resource fo...
  • Dorsey_c
  • Dorsey_c
  • 2015年12月12日 16:50
  • 4312

android studio升级到23.0产生的问题s

/Users/mutou/Development/AndroidProjects/myapp/app/build/intermediates/exploded-aar/com.android.supp...
  • u012210379
  • u012210379
  • 2015年08月23日 10:52
  • 3808

解决问题:app\build\intermediates\res\merged\debug\values-v24\values-v24.xml

values-v24代表在API 24+的设备上,用该目录下的styles.xml代替res/values/styles.xml,如果v24里的参数没有,还是会用v中的。 v24代表Android 7...
  • snail_mac
  • snail_mac
  • 2017年04月27日 15:25
  • 4558

app\build\intermediates\res\merged\debug\values-v24\values-v24.xml

 values-v24代表在API 24+的设备上,用该目录下的styles.xml代替res/values/styles.xml,如果v24里的参数没有,还是会用v中的。 v24代表An...
  • chenli_001
  • chenli_001
  • 2017年05月25日 21:38
  • 1792

Frequent Values(poj 3368) C

  • 2018年01月03日 08:01
  • 15KB
  • 下载

4 Values whose Sum is 0

  • 2009年10月03日 14:06
  • 131KB
  • 下载

values默认的dimens.xml文件

  • 2016年01月15日 17:29
  • 20KB
  • 下载

This program generates datareport with two parameter values

  • 2006年02月23日 09:05
  • 49KB
  • 下载

android 自定义viewpager实现循环滑动,非使用Integer.MAX_VALUES

  • 2017年10月24日 09:26
  • 2.07MB
  • 下载
内容举报
返回顶部
收藏助手
不良信息举报
您举报文章:Magic debug values
举报原因:
原因补充:

(最多只允许输入30个字)