home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / unix / question / 14875 < prev    next >
Encoding:
Internet Message Format  |  1992-12-28  |  1.2 KB

  1. Xref: sparky comp.unix.questions:14875 comp.unix.programmer:5759 comp.unix.wizards:5303
  2. Path: sparky!uunet!munnari.oz.au!bunyip.cc.uq.oz.au!uqcspe!cs.uq.oz.au!muzzle
  3. From: muzzle@cs.uq.oz.au (Murray Chapman)
  4. Newsgroups: comp.unix.questions,comp.unix.programmer,comp.unix.wizards
  5. Subject: QUERY: How do I load .o files and execute them at run time?
  6. Message-ID: <11503@uqcspe.cs.uq.oz.au>
  7. Date: 22 Dec 92 04:32:14 GMT
  8. Sender: news@cs.uq.oz.au
  9. Reply-To: muzzle@cs.uq.oz.au
  10. Followup-To: comp.unix.questions
  11. Lines: 21
  12.  
  13. Hi there
  14.  
  15. I'm doing research into distributed and concurrent systems, and I'm trying to
  16. write a program which will load in a .o file and then execute functions
  17. from that file.
  18.  
  19. I've got the (struct exec) stuff read in (as described in a.out.h), but I'm
  20. unsure how to access the symbol/string tables, and how to convert a_entry field
  21. to an address to jump to.
  22.  
  23. Any help appreciated.
  24.  
  25. Followups to comp.unix.questions.
  26.  
  27. Thanks,
  28. Murray
  29. --
  30. ~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^~^
  31.   Murray Chapman                           muzzle@cs.uq.oz.au
  32.   University of Queensland                 How many lightbulb jokes does it
  33.   Brisbane, Australia                      take to change the subject?
  34.