flat assembler
Message board for the users of flat assembler.

Index > Projects and Ideas > memrun: run ELF binary from memory with memfd_create syscall

Author
Thread Post new topic Reply to topic
guitmz



Joined: 11 Jan 2019
Posts: 6
Location: Berlin
guitmz 11 Jan 2019, 13:03
Hi!

This is my first "complete" assembly program

It uses the memfd_create Linux syscall to create a memory file descriptor which will contain the bytes of a given ELF executable. It also executes this file directly from memory.

Any feedbacks are welcomed!

Code is at https://github.com/guitmz/memrun/tree/master/assembly

Thanks Very Happy
Post 11 Jan 2019, 13:03
View user's profile Send private message Visit poster's website Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.

Website powered by rwasa.