Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p>there is already a project like this called binfmt_pe (by me!) which is a kernel module and will have it's own linker (similar to /lib/ld). <a href="https://sourceforge.net/projects/binfmtpe/">check it out here</a>.</p> <p>As for your question about making modules and the loader/linker, there are links below. I also included links with info about ELF and PE executables.</p> <p>I hope this helps. :)</p> <p><strong>Useful information for making a Linux Kernel Module</strong> </p> <ul> <li><a href="http://www.tldp.org/LDP/lkmpg/2.6/html/index.html">The Linux Kernel Module Programming Guide</a></li> <li><a href="http://tldp.org/HOWTO/Module-HOWTO/x839.html">Writing Your Own Loadable Kernel Module</a></li> <li><a href="http://tldp.org/LDP/tlk/ds/ds.html">Linux Data Structures</a></li> <li><a href="http://www.win.tue.nl/~aeb/linux/lk/lk-2.html">The Linux kernel: The kernel source</a></li> <li><a href="http://www.kernel.org/doc/Documentation/binfmt_misc.txt">Kernel Support for miscellaneous Binary Formats</a></li> <li><a href="http://lxr.linux.no/linux+v2.6.33/fs/binfmt_elf.c">binfmt_elf.c</a></li> <li><a href="http://stuff.mit.edu/afs/sipb/contrib/linux/fs/binfmt_misc.c">binfmt_misc.c</a></li> </ul> <p><strong>Information About Dynamnic Loading/Linking</strong></p> <ul> <li><a href="http://www.cs.virginia.edu/~dww4s/articles/ld_linux.html">Understanding ld-linux.so.2</a></li> <li><a href="http://cs.nyu.edu/~xiaojian/bookmark/linux/ld_so%20%20Dynamic-Link%20Library%20support.htm">ld.so : Dynamic-Link Library support</a></li> <li><a href="http://www.akkadia.org/drepper/dsohowto.pdf">How To Write Shared Libraries - PDF</a></li> <li><a href="http://linux.die.net/man/8/ld-linux">ld-linux(8) - Linux man page</a></li> <li><a href="http://en.wikipedia.org/wiki/Rpath">rpath</a></li> <li><a href="http://books.google.com/books?id=wOGUuoHUyAEC&amp;pg=PA169&amp;dq=linux%20ld%20lib&amp;ei=bw7lUJeNJYa7UeiYgMgO&amp;cd=1">Listing Shared Library Dependencies</a></li> </ul> <p><strong>Information About ELF and PE Formats</strong></p> <ul> <li><a href="http://www.nondot.org/sabre/os/articles/ExecutableFileFormats/">OSRC: Executable File Formats</a></li> <li><a href="http://www.delorie.com/djgpp/doc/exe/">EXE Format</a></li> <li><a href="http://support.microsoft.com/default.aspx?scid=kb;en-us;102057">How Windows NT Recognizes MS-DOS - Based Applications</a></li> <li><a href="http://support.microsoft.com/kb/121460">Common Object File Format (COFF)</a></li> <li><a href="http://msdn.microsoft.com/en-us/library/ms809762.aspx">Peering Inside the PE: A Tour of the Win32 Portable Executable File Format</a></li> <li><a href="http://en.wikipedia.org/wiki/Executable_and_Linkable_Format">Executable and Linkable Format</a></li> <li><a href="http://msdn.microsoft.com/en-us/magazine/cc301805.aspx">An In-Depth Look into the Win32 Portable Executable File Format</a></li> <li><a href="http://msdn.microsoft.com/en-us/magazine/cc301808.aspx">An In-Depth Look into the Win32 Portable Executable File Format, Part 2</a></li> <li><a href="http://www.ntcore.com/files/inject2it.htm">Injective Code Inside an Import Table</a></li> <li><a href="http://www.thehackerslibrary.com/?p=377">The PE Format | Hackers Library</a></li> <li><a href="http://msdn.microsoft.com/en-us/library/windows/desktop/ms680336%28v=vs.85%29.aspx">IMAGE_NT_HEADERS structure (Windows)</a></li> <li><a href="http://en.wikibooks.org/wiki/X86_Disassembly/Windows_Executable_Files">x86 Disassembly/Windows Executable Files</a></li> <li><a href="http://code.google.com/p/corkami/wiki/PE">the Portable Executable Format on Windows</a></li> </ul>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload