MCPcopy Create free account
hub / github.com/b1tg/rust-windows-shellcode / str_to_i8

Function str_to_i8

shellcode/src/utils.rs:86–88  ·  view source on GitHub ↗
(s: &str)

Source from the content-addressed store, hash-verified

84}
85
86fn str_to_i8(s: &str) -> *const i8 {
87 s.as_bytes().as_ptr() as *const i8
88}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected