Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!uwvax!oddjob!gargoyle!ihnp4!inuxc!pur-ee!uiucdcs!uxc.cso.uiuc.edu!hamilton From: hamilton@uxc.cso.uiuc.edu Newsgroups: comp.sys.amiga Subject: Re: Format of libraries on disk Message-ID: <172200059@uxc.cso.uiuc.edu> Date: Sun, 24-May-87 16:53:00 EDT Article-I.D.: uxc.172200059 Posted: Sun May 24 16:53:00 1987 Date-Received: Tue, 26-May-87 01:40:09 EDT Lines: 27 Nf-ID: #R:<8705231146.AA11986@ingres.Berke:-40:uxc.cso.uiuc.edu:172200059:000:1009 Nf-From: uxc.cso.uiuc.edu!hamilton May 24 15:53:00 1987 hatcher@INGRES asks: > I've been trying to figure out how you can look at the contents of a > library file and determine that it is indeed a library, and not a > "real" executable (they both start with magic number 0x000003f3). well, if the first thing in the first hunk looks like: MOVEQ #0,D0 RTS it's a good bet you've got a library, not a program. another thing to look for is the magic number $4AFC, an illegal opcode that is used to flag the presence of a Resident structure. > Question two: although I have a list of info about gurus online, I was > surprised that I couldn't seem to find that documented in the RKM (or > anywhere else), either... your info probably came from the include file exec/alerts.[ih]. wayne hamilton U of Il and US Army Corps of Engineers CERL UUCP: {ihnp4,seismo,pur-ee,convex}!uiucuxc!hamilton ARPA: hamilton@uxc.cso.uiuc.edu USMail: Box 476, Urbana, IL 61801 CSNET: hamilton%uxc@uiuc.csnet Phone: (217)333-8703 CIS: [73047,544] PLink: w hamilton