Path: utzoo!attcan!uunet!mcsun!unido!fauern!fauern!csbrod From: csbrod@medusa.informatik.uni-erlangen.de (Claus Brod ) Newsgroups: comp.sys.atari.st.tech Subject: Re: Location of variables in executable files. Message-ID: <3263@medusa.informatik.uni-erlangen.de> Date: 15 Nov 90 14:48:20 GMT References: <1990Nov11.013428.4566@cs.utk.edu> <2737@atari.UUCP> <1990Nov13.144721.21402@cs.utk.edu> Organization: CSD, University of Erlangen, W-Germany Lines: 13 andrew@cs.utk.edu (Andrew Krzywdzinski) writes: >I was thinking (erroneou sly) that Getmpb would tell me where the program >being executed starts in memory, so that I can match the location of >the variable in the "self modifying" program and on the disk. Now that Follow the pointers in the process descriptor to find out the start of your text, data and BS segment. Best way to do things like that. ---------------------------------------------------------------------- Claus Brod, Am Felsenkeller 2, Things. Take. Time. D-8772 Marktheidenfeld, West Germany (Piet Hein) csbrod@medusa.informatik.uni-erlangen.de ----------------------------------------------------------------------