Inital (stash) commit

This commit is contained in:
2023-05-12 22:23:58 +02:00
commit f86ed5fda6
14 changed files with 558 additions and 0 deletions

14
rs/src/lib.rs Normal file
View File

@@ -0,0 +1,14 @@
#[ctor::ctor]
fn pre() {
println!("Fuck you");
}
/*
#[no_mangle]
unsafe extern "C" fn write(fd: libc::c_int, buf: *const libc::c_void, len: libc::size_t) -> libc::ssize_t {
println!("hook'd!");
libc::write(fd, buf, len)
}
*/
#[cfg(test)]
mod test;