mirror of
https://github.com/ThatGuySam/doesitarm.git
synced 2026-05-15 06:35:20 -07:00
Comment Magic types
This commit is contained in:
parent
fae37c476b
commit
7fa813fcac
1 changed files with 16 additions and 0 deletions
|
|
@ -13,13 +13,29 @@ let MAGIC =
|
||||||
{
|
{
|
||||||
|
|
||||||
//Macho Magics
|
//Macho Magics
|
||||||
|
|
||||||
|
// cafebabe: Universal Binary Big Endian. These fat binaries are archives that can include binaries for multiple architectures, but typically contain PowerPC, Intel x86, or ARM.
|
||||||
FAT_MAGIC: 0xcafebabe,
|
FAT_MAGIC: 0xcafebabe,
|
||||||
|
|
||||||
|
// bebafeca: NXSwapLong(FAT_MAGIC)
|
||||||
FAT_CIGAM: 0xbebafeca,
|
FAT_CIGAM: 0xbebafeca,
|
||||||
|
|
||||||
|
// cafebabf: ???
|
||||||
FAT_MAGIC64: 0xcafebabf,
|
FAT_MAGIC64: 0xcafebabf,
|
||||||
|
|
||||||
|
// bfbafeca: ???
|
||||||
FAT_CIGAM64: 0xbfbafeca,
|
FAT_CIGAM64: 0xbfbafeca,
|
||||||
|
|
||||||
|
// feedface: Mach-O Big Endian (32-bit)
|
||||||
MH_MAGIC: 0xfeedface,
|
MH_MAGIC: 0xfeedface,
|
||||||
|
|
||||||
|
// cefaedfe: Mach-O Little Endian (32-bit)
|
||||||
MH_CIGAM: 0xcefaedfe,
|
MH_CIGAM: 0xcefaedfe,
|
||||||
|
|
||||||
|
// feedfacf: Mach-O Big Endian (64-bit)
|
||||||
MH_MAGIC64: 0xfeedfacf,
|
MH_MAGIC64: 0xfeedfacf,
|
||||||
|
|
||||||
|
// cffaedfe: Mach-O Little Endian (64-bit)
|
||||||
MH_CIGAM64: 0xcffaedfe,
|
MH_CIGAM64: 0xcffaedfe,
|
||||||
|
|
||||||
//Retrieve the magic name of a specified magic
|
//Retrieve the magic name of a specified magic
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue