1994-09-03 19:31:29 +00:00
|
|
|
# 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
|
|
|
|
|
1995-09-21 20:10:52 +00:00
|
|
|
# XXX gross hack to identify core files
|
|
|
|
# cores start with a struct tss; we take advantage of the following:
|
|
|
|
# byte 7: highest byte of the kernel stack pointer, always 0xfe
|
|
|
|
# 8/9: kernel (ring 0) ss value, always 0x0010
|
|
|
|
# 10 - 27: ring 1 and 2 ss/esp, unused, thus always 0
|
|
|
|
# 28: low order byte of the current PTD entry, always 0 since the
|
|
|
|
# PTD is page-aligned
|
|
|
|
#
|
|
|
|
7 string \357\020\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0 i386 a.out core file
|
1996-04-18 19:05:58 +00:00
|
|
|
>1031 string >\0 from "%s"
|
1996-02-07 21:02:20 +00:00
|
|
|
|
|
|
|
# /var/run/ld.so.hints
|
|
|
|
# What are you laughing about?
|
|
|
|
0 lelong 011421044151 ld.so hints file
|
|
|
|
>4 lelong >0 (version %d)
|