News:

MASM32 SDK Description, downloads and other helpful links
MASM32.com New Forum Link
masmforum WebSite

Load ELF under win32

Started by ecube, April 14, 2007, 05:47:13 PM

Previous topic - Next topic

ecube

Attached is some interesting masm and c++ source code that can load elf files under win32. If you're unfamiliar with ELF it's an executable format under linux like PE is for windows. Infact I think PE is just ELF with extended information, though i'm not sure about that. Anyway I found this source in a virus article by accident but the code isn't malicious at all so I thought i'd upload.

[attachment deleted by admin]

Ehtyar

I believe PE is an extension of the UNIX coff (hence the differentiation of "mscoff"), not linux ELF, however i also am unsure, just remember reading it somewhere.
For those interested in testing this a little, I've a friend who was using the Tiny C Compiler a while back, and noticed it is capable of generating elf format executables/objects under windows. Probably a good place to start. Thanks for the post E^cube.

Ehtyar.