🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.mach
Article #968

Re: unexec.c for MACH?

#968
From: Michael K. Gschwind
Date: Tue, 30 Apr 1991 15:27
20 lines
1519 bytes
In article <1991Apr23.153655.6344@m.cs.uiuc.edu> yonezawa@m.cs.uiuc.edu (Noritake Yonezawa) writes:

   Does anyone have an "unexec.c" that converts a running program
   into a MACH-O format? I'd like to use it on NeXT 2.0.
   Thank you in advance.

I seem to remember that core dumps are in Mach-O format as well.
Wouldn't the simplest way to unexec a file be to simply force a core
dump and execute this core dump. Probably some incantations will be
neceassry to make this Mach-O core dump file a 'real' binary. Maybe
somebody in the possession of more information could explain how this
would work or why this can't work?


Michael K. Gschwind, Dept. of VLSI-Design, Vienna University of Technology
mike@vlsivie.tuwien.ac.at	1-2-3-4 kick the lawsuits out the door 
mike@vlsivie.uucp		5-6-7-8 innovate don't litigate         
e182202@awituw01.bitnet		9-A-B-C interfaces should be free
Voice: (++43).1.58801 8144	D-E-F-O look and feel has got to go!
Fax:   (++43).1.569697       
Technical Details
Message-ID: <MIKE.91Apr30162727@yalla.tuwien.ac.at>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!email!email!mike
References: <1991Apr23.153655.6344@m.cs.uiuc.edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!email!email!mike
From: mike@yalla.tuwien.ac.at (Michael K. Gschwind)
Newsgroups: comp.os.mach
Subject: Re: unexec.c for MACH?
Message-ID: <MIKE.91Apr30162727@yalla.tuwien.ac.at>
Date: 30 Apr 91 15:27:27 GMT
References: <1991Apr23.153655.6344@m.cs.uiuc.edu>
Sender: news@email.tuwien.ac.at
Organization: none
Lines: 20
In-Reply-To: yonezawa@m.cs.uiuc.edu's message of 23 Apr 91 15: 36:55 GMT
Nntp-Posting-Host: yalla.vlsivie.tuwien.ac.at