Search results for "efaa22853ee10c5607f9db340e6dc7ed" in md5 (3)

/vg/ - /epog/ - Project Epoch Private Server General
Anonymous No.535638389
guruchads stay strong
/int/ - /cum/ Canada USA Mexico
Anonymous United States No.212535051
>>212535040
no more brother wars
/g/ - Thread 105682565
Anonymous No.105687948
#![no_std]
#![no_main]

use core::panic::PanicInfo;
use core::arch::asm;

#[panic_handler]
fn panic(_info: &PanicInfo) -> ! {
loop {} // >A-AAAAAAAAAAAAAACK!
}


#[unsafe(no_mangle)] // unmangled corpses very unsafe
pub extern "C" fn _start() -> ! {
let msg = "Hello, World!\n";
unsafe {
asm!(
"syscall",
in("rax") 1,
in("rdi") 1,
in("rsi") msg.as_ptr(),
in("rdx") msg.len(),
options(nostack)
);
asm!(
"syscall",
in("rax") 60,
in("rdi") 0,
options(nostack, noreturn, nomem)
);
}
}

I found a way to make troons and chuds seethe. Reminder: resulting binary is smaller than equivalent C.