pub fn check_mem_is_defined(addr: *const (), len: usize) -> usize
Available on crate feature
client_requests_defs
only.Expand description
Check that memory at addr
is addressable and defined for len
bytes.
If suitable addressibility and definedness are not established, Valgrind prints an error message and returns the address of the first offending byte. Otherwise, it returns zero.