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

References

projects/compiler-rt/lib/sanitizer_common/sanitizer_procmaps_common.cpp
   87   return data_.current == nullptr;
   98   data_.current = data_.proc_self_maps.data;
projects/compiler-rt/lib/sanitizer_common/sanitizer_procmaps_linux.cpp
   35   if (data_.current >= last) return false;
   37       (char *)internal_memchr(data_.current, '\n', last - data_.current);
   37       (char *)internal_memchr(data_.current, '\n', last - data_.current);
   41   segment->start = ParseHex(&data_.current);
   42   CHECK_EQ(*data_.current++, '-');
   43   segment->end = ParseHex(&data_.current);
   44   CHECK_EQ(*data_.current++, ' ');
   45   CHECK(IsOneOf(*data_.current, '-', 'r'));
   47   if (*data_.current++ == 'r') segment->protection |= kProtectionRead;
   48   CHECK(IsOneOf(*data_.current, '-', 'w'));
   49   if (*data_.current++ == 'w') segment->protection |= kProtectionWrite;
   50   CHECK(IsOneOf(*data_.current, '-', 'x'));
   51   if (*data_.current++ == 'x') segment->protection |= kProtectionExecute;
   52   CHECK(IsOneOf(*data_.current, 's', 'p'));
   53   if (*data_.current++ == 's') segment->protection |= kProtectionShared;
   54   CHECK_EQ(*data_.current++, ' ');
   55   segment->offset = ParseHex(&data_.current);
   56   CHECK_EQ(*data_.current++, ' ');
   57   ParseHex(&data_.current);
   58   CHECK_EQ(*data_.current++, ':');
   59   ParseHex(&data_.current);
   60   CHECK_EQ(*data_.current++, ' ');
   61   while (IsDecimal(*data_.current)) data_.current++;
   61   while (IsDecimal(*data_.current)) data_.current++;
   66   while (data_.current < next_line && *data_.current == ' ') data_.current++;
   66   while (data_.current < next_line && *data_.current == ' ') data_.current++;
   66   while (data_.current < next_line && *data_.current == ' ') data_.current++;
   70         Min((uptr)(next_line - data_.current), segment->filename_size - 1);
   71     internal_strncpy(segment->filename, data_.current, len);
   75   data_.current = next_line + 1;