Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Run a .dll or .so file instead of executable #5

Open
HarryR opened this issue Jan 20, 2017 · 2 comments
Open

Run a .dll or .so file instead of executable #5

HarryR opened this issue Jan 20, 2017 · 2 comments

Comments

@HarryR
Copy link
Collaborator

HarryR commented Jan 20, 2017

On Windows use MemoryModule, on Linux just dlopen the file or socket.

argv[0] should be the symbol name to load and call.

Then call the symbol with:

symbol(socket_handle, argc, argv);
@jpivarski
Copy link

This is what I was looking for when I came here. I'm trying to find a library that will take an ELF string with a single function defined in it and produce a function pointer that I can call.

@HarryR
Copy link
Collaborator Author

HarryR commented Aug 29, 2017 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants