Load ELF from memory using memfd_create

This commit is contained in:
Michael Mikovsky
2025-11-24 13:13:06 -07:00
parent 0c538e9dcf
commit dae1d524bc
14 changed files with 340 additions and 21 deletions
+22
View File
@@ -0,0 +1,22 @@
cargo-features = ["trim-paths"]
[package]
name = "testproj"
version = "0.1.0"
edition = "2024"
[lib]
crate-type = ["cdylib"]
[dependencies]
[profile.release]
strip = true # Strip symbols from the binary
opt-level = "z" # Optimize for size
lto = true # Link tree optimization
codegen-units = 1
panic = "abort"
debug = false # Remove debug
trim-paths="all"