diff options
author | cvs2svn <cvs2svn@FreeBSD.org> | 1996-10-24 15:49:52 +0000 |
---|---|---|
committer | cvs2svn <cvs2svn@FreeBSD.org> | 1996-10-24 15:49:52 +0000 |
commit | bc2c46da3707d1d74a24415b64d75db9b63036cb (patch) | |
tree | 5e0c02cb216a10a86d0cb05b9f1f24d0c3a6077c /usr.bin/file | |
parent | c335a065680c2ca4e8d5b34f7b4f590e27edbe6a (diff) | |
download | FreeBSD-src-bc2c46da3707d1d74a24415b64d75db9b63036cb.zip FreeBSD-src-bc2c46da3707d1d74a24415b64d75db9b63036cb.tar.gz |
This commit was manufactured by cvs2svn to create branch 'VENDOR-file'.
Diffstat (limited to 'usr.bin/file')
-rw-r--r-- | usr.bin/file/Magdir/freebsd | 16 | ||||
-rw-r--r-- | usr.bin/file/Magdir/java | 8 |
2 files changed, 24 insertions, 0 deletions
diff --git a/usr.bin/file/Magdir/freebsd b/usr.bin/file/Magdir/freebsd new file mode 100644 index 0000000..28ad615 --- /dev/null +++ b/usr.bin/file/Magdir/freebsd @@ -0,0 +1,16 @@ +# the following are for 386BSD/FreeBSD + +0 lelong 0410 pure executable +0 lelong 0413 demand paged executable +0 lelong&077777777 041400314 FreeBSD/i386 demand paged +>3 byte &0x80 +>>20 lelong <4096 shared library +>>20 lelong =4096 dynamically linked executable +>>20 lelong >4096 dynamically linked executable +>3 byte ^0x80 executable +>16 lelong >0 not stripped + +# This covers object files, and is better than "PDP-11 executable" +0 lelong 000000407 impure format +>16 lelong >0 not stripped + diff --git a/usr.bin/file/Magdir/java b/usr.bin/file/Magdir/java new file mode 100644 index 0000000..c717f88 --- /dev/null +++ b/usr.bin/file/Magdir/java @@ -0,0 +1,8 @@ +#------------------------------------------------------------------------------ +# java: file(1) magic for java compiled classes +# + +0 belong 0xCafeBabe compiled java class data, +>4 beshort x version %d. +>6 beshort x \b%d + |