Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 19 Feb 1996 03:38:44 -0700 (MST)
From:      Ade Barkah <mbarkah@hemi.com>
To:        hackers@freebsd.org
Subject:   omagic executables
Message-ID:  <199602191038.DAA08331@hemi.com>

next in thread | raw e-mail | index | archive | help
Hello,

I'm wondering if it is possible to create and run an OMAGIC
executable under FreeBSD 2.x. The goal is to create a self-
modifying executable. My (lame) attempt to simply pass -Wl,-N 
to the linker gets me a `Wrong architecture' complaint when 
trying to run the program (`file' says it's a PDP-11 binary.)
Any other hints on how to have a writable text segment (or 
simulating such behavior) is greatly appreciated.

Thanks,

-Ade
--------------------------------------------------------------------
Inet: mbarkah@hemi.com - HEMISPHERE ONLINE - www: <http://hemi.com/>;
--------------------------------------------------------------------



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199602191038.DAA08331>