/memexec

First library produced from the Multiverse OS singularity experimental project, rewrite of the standard library exec to launch fileless executable from memory. Instead of a path, you provide a byte array to be loaded into a memory file desriptor (MemFD) and executed.

Primary LanguageGo

Multiverse OS Logo

Multiverse OS: memexec fileless byte array execution

URL multiverse-os.org

Fileless execution completely in memory execution of binaries without creating temporary files or touching the disk is possible using MemoryFD. A rewrite of the standard library exec providing all the same functionality except the Command() function does not take a path string but instead takes a []byte binary executable which is loaded into a memory file descriptor. After this initial function, everything else has the exact same API.