MCPcopy Create free account
hub / github.com/b1nhack/rust-shellcode / main

Function main

asm/src/main.rs:4–14  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

2
3#[cfg(target_os = "windows")]
4fn main() {
5 #[link_section = ".text"]
6 static SHELLCODE: [u8; 98] = *include_bytes!("../../w64-exec-calc-shellcode-func.bin");
7
8 unsafe {
9 asm!(
10 "call {}",
11 in(reg) SHELLCODE.as_ptr(),
12 )
13 }
14}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected