Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

ELF Loader

  • 08-08-2008 2: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