home *** CD-ROM | disk | FTP | other *** search
- Xref: sparky comp.unix.questions:14875 comp.unix.programmer:5759 comp.unix.wizards:5303
- Path: sparky!uunet!munnari.oz.au!bunyip.cc.uq.oz.au!uqcspe!cs.uq.oz.au!muzzle
- From: muzzle@cs.uq.oz.au (Murray Chapman)
- Newsgroups: comp.unix.questions,comp.unix.programmer,comp.unix.wizards
- Subject: QUERY: How do I load .o files and execute them at run time?
- Message-ID: <11503@uqcspe.cs.uq.oz.au>
- Date: 22 Dec 92 04:32:14 GMT
- Sender: news@cs.uq.oz.au
- Reply-To: muzzle@cs.uq.oz.au
- Followup-To: comp.unix.questions
- Lines: 21
-
- Hi there
-
- I'm doing research into distributed and concurrent systems, and I'm trying to
- write a program which will load in a .o file and then execute functions
- from that file.
-
- I've got the (struct exec) stuff read in (as described in a.out.h), but I'm
- unsure how to access the symbol/string tables, and how to convert a_entry field
- to an address to jump to.
-
- Any help appreciated.
-
- Followups to comp.unix.questions.
-
- Thanks,
- Murray
- --
- ~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^
- Murray Chapman muzzle@cs.uq.oz.au
- University of Queensland How many lightbulb jokes does it
- Brisbane, Australia take to change the subject?
-