Crates.io | userland-execve |
lib.rs | userland-execve |
version | 0.2.0 |
source | src |
created_at | 2023-07-20 20:14:34.92169 |
updated_at | 2024-01-06 04:17:46.817159 |
description | An implementation of execve() in user space |
homepage | |
repository | https://github.com/io12/userland-execve-rust |
max_upload_size | |
id | 921749 |
size | 20,730 |
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.