Expand description
Standard-library API name classification helpers.
Each function matches a specific pattern in a MIR callee’s
def_path_str to determine what kind of operation it performs
(pointer arithmetic, memory access, ownership transfer, etc.).
Functions§
- is_
align_ 🔒of - is_
align_ offset - is_
as_ mut_ ptr_ range - is_
as_ ptr - is_
as_ ptr_ range - is_
byte_ ptr_ arith - is_
cstr_ from_ bytes_ with_ nul_ unchecked - is_
cstr_ from_ ptr - is_
cstr_ strict_ constructor - Strict C-string constructors whose caller must guarantee NUL termination
(
CStr::from_bytes_with_nul_unchecked,CString::from_vec_with_nul_unchecked). - is_
eq_ or_ partial_ eq - is_
from_ raw_ parts - is_
into_ boxed_ slice - is_
iter_ ptr_ adj - is_
layout_ constant - is_len
- is_
maybe_ uninit_ assume_ init - is_
maybe_ uninit_ uninit - is_
maybe_ uninit_ write - is_
mem_ copy_ or_ write_ api - Memory copy/write intrinsics that legitimately write through a raw pointer
without requiring the target bytes to be pre-initialized (e.g.
ptr::write,write_bytes,copy_nonoverlapping,ptr::copy). Used by the checker to dischargeInit/Typedobligations onMaybeUninittargets. - is_
nonnull_ 🔒api - is_
numeric_ arith - Numeric operations with no precise effect model — these fall back to an
unconstrained result (
eff_none).unchecked_add/mulandchecked_add/mulare deliberately absent:REGISTRYmatches them earlier with the more preciseint_add/int_mul/int_checked_*rows. - is_
offset_ from_ unsigned - is_
option_ unwrap - is_
ownership_ reconstruction - is_
ownership_ transfer_ api - is_
pointer_ add - is_
pointer_ sub - is_
post_ inc_ start - is_
pre_ dec_ end - is_
ptr_ write - is_
read_ api - is_
select_ unpredictable - is_
std_ box - is_
std_ cstring - is_
std_ iter_ or_ itermut - is_
std_ nonnull - is_
std_ option - is_
std_ ordering - is_
std_ vec - is_
vec_ alloc_ constructor - is_
vec_ from_ box - is_
vec_ or_ cstring_ call - is_
vec_ ownership_ transfer_ api - is_
vec_ push - is_
vec_ with_ capacity