Skip to main content

__sanitizer_cov_trace_switch

Function __sanitizer_cov_trace_switch 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn __sanitizer_cov_trace_switch( val: u64, cases: *const u64, )
Expand description

ยงSafety

Called by LLVM SanitizerCoverage before switch statements. cases[0] is the number of cases, cases[1] is bit-width of val, cases[2..] are the case constants.