io12 / userland-execve-rust

An implementation of execve() in user space

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

userland-execve

An implementation of execve() in user space.

This works by mapping the ELF executable (and interpreter, such as ld-linux.so.2) into memory, creating a stack for it (containing the auxiliary vector, arguments, and environment variables), and then jumping to the entry point with the new stack.

About

An implementation of execve() in user space

License:MIT License


Languages

Language:Rust 100.0%