std::core::sanitizer::asan

region_is_poisoned

macro void* region_is_poisoned(void* beg, usz size)
Checks if a region is poisoned.

If at least one byte in [beg, beg+size) is poisoned, returns the
address of the first such byte. Otherwise returns 0.

Parameters