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

Function empty_netlist

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

Source from the content-addressed store, hash-verified

189#[with_ghost_var(trace: &mut Trace)]
190#[trusted]
191pub fn empty_netlist() -> Netlist {
192 let empty = NetEndpoint {
193 protocol: WasiProto::Unknown,
194 addr: 0,
195 port: 0,
196 };
197
198 [empty, empty, empty, empty]
199}
200
201// this shouldn't need to be trusted, but prusti does not casting an enum to an int
202#[trusted]

Callers 3

check_empty_netlistFunction · 0.85
fresh_ctxFunction · 0.85
parse_netlistFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected