MCPcopy Create free account
hub / github.com/PLSysSec/wave / fresh_stat

Function fresh_stat

src/tcb/misc.rs:131–133  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

129// reference)
130#[trusted]
131pub fn fresh_stat() -> libc::stat {
132 unsafe { std::mem::zeroed() }
133}
134
135// Unsafe necessary as libc::rusage is opaque. It is safe but we can replace it by implementing
136// pub fn bitwise_or_u32(bv1: u32, bv2: u32) -> u32 {

Callers 4

check_fresh_statFunction · 0.85
wasi_fd_fdstat_getFunction · 0.85
wasi_fd_filestat_getFunction · 0.85
wasi_path_filestat_getFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected