Advertisement
Help Keep Boards Alive. Support us by going ad free today. See here: https://subscriptions.boards.ie/.
https://www.boards.ie/group/1878-subscribers-forum

Private Group for paid up members of Boards.ie. Join the club.
Hi all, please see this major site announcement: https://www.boards.ie/discussion/2058427594/boards-ie-2026

ELF Loader

  • 08-08-2008 02:13PM
    #1
    Closed Accounts Posts: 1,567 ✭✭✭


    Excuse me for asking instead of researching, my resources are limited (don't have much access to internet)

    Has anyone here knowledge of source code which is capable of loading an ELF or library into memory, and executing some procedure there?

    On windows for example, the code i use opens a DLL file, maps it into executeable memory, fixes up any address issues, then runs a function as a thread.

    I'd like something similar on unix-variant systems.

    I'm not familiar programming on this, but i'm assuming you'd use mmap() with memory set to executeable..

    Anyone know of a library or application which features this already?

    Thank you in advance.


Advertisement