Inital (stash) commit
This commit is contained in:
14
rs/src/lib.rs
Normal file
14
rs/src/lib.rs
Normal 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;
|
Reference in New Issue
Block a user