The MASM Forum Archive 2004 to 2012

General Forums => The Laboratory => Topic started by: ecube on April 14, 2007, 05:47:13 PM

Title: Load ELF under win32
Post by: ecube on April 14, 2007, 05:47:13 PM
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]
Title: Re: Load ELF under win32
Post by: Ehtyar on April 15, 2007, 12:47:16 AM
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.