Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/b1nhack/rust-shellcode
/ Peb
Class
Peb
create_process/src/main.rs:30–33 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
28
29
#[repr(C)]
30
struct Peb {
31
reserved: [c_char; 0x10],
32
image_base_address: *mut c_void,
33
}
34
35
unsafe {
36
let mut process_info: PROCESS_INFORMATION = zeroed();
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected