Path: utzoo!utgpu!watmath!clyde!att!osu-cis!tut.cis.ohio-state.edu!mailrus!cornell!uw-beaver!rice!sun-spots-request From: battan@tc.fluke.com (Jim Battan) Newsgroups: comp.sys.sun Subject: Re: disassemblers for Sun Message-ID: <6423@fluke.COM> Date: 3 Jan 89 15:00:24 GMT References: v7n67 message 18 Sender: usenet@rice.edu Organization: Sun-Spots Lines: 19 Approved: Sun-Spots@rice.edu Original-Date: 23 Dec 88 17:21:55 GMT X-Sun-Spots-Digest: Volume 7, Issue 84, message 8 of 14 adb can still handle Mr. Kerchen's problem. The adb map contains the start of the text space ($m). Use something like this to get the start: ENTRY=`echo '$m' | adb $1 - | sed -n '2s/b1 = \([!-~]*\).*/\1/p'`;; Then, use something like this to disassemble everything from the entry point to the end of the text segment: echo "${ENTRY-