reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

projects/compiler-rt/lib/asan/asan_poisoning.cpp
  115   if (beg.chunk == end.chunk) {
  116     CHECK_LT(beg.offset, end.offset);
  117     s8 value = beg.value;
  122       if (beg.offset > 0) {
  123         *beg.chunk = Min(value, beg.offset);
  123         *beg.chunk = Min(value, beg.offset);
  125         *beg.chunk = kAsanUserPoisonedMemoryMagic;
  130   CHECK_LT(beg.chunk, end.chunk);
  131   if (beg.offset > 0) {
  133     if (beg.value == 0) {
  134       *beg.chunk = beg.offset;
  134       *beg.chunk = beg.offset;
  136       *beg.chunk = Min(beg.value, beg.offset);
  136       *beg.chunk = Min(beg.value, beg.offset);
  136       *beg.chunk = Min(beg.value, beg.offset);
  138     beg.chunk++;
  140   REAL(memset)(beg.chunk, kAsanUserPoisonedMemoryMagic, end.chunk - beg.chunk);
  140   REAL(memset)(beg.chunk, kAsanUserPoisonedMemoryMagic, end.chunk - beg.chunk);