Merge pull request #3563 from lewurm/interpreter
[mono-project.git] / docs / magic.diff
blobc8dee8e1627e877230eeeb459424595f2842db5e
1 This is a patch that can be applied to the magic file used by file(1) to
2 recognize mono assemblies.
3 Apply it to the magic file (usually in /usr/share/file/magic or
4 /usr/share/misc/magic) and recompile it with file -C.
6 --- magic.old 2006-03-24 21:12:25.000000000 +0100
7 +++ magic 2006-03-24 21:12:17.000000000 +0100
8 @@ -7205,6 +7205,7 @@
9 >>>>(0x3c.l+4) leshort 0x290 PA-RISC
10 >>>>(0x3c.l+22) leshort&0x0100 >0 32-bit
11 >>>>(0x3c.l+22) leshort&0x1000 >0 system file
12 +>>>>(0x3c.l+232) lelong >0 Mono/.Net assembly
14 >>>>(0x3c.l+0xf8) string UPX0 \b, UPX compressed
15 >>>>(0x3c.l+0xf8) search/0x140 PEC2 \b, PECompact2 compressed