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

References

projects/compiler-rt/lib/asan/asan_debugging.cpp
   36     if (offset <= vars[i].beg + vars[i].size) {
   36     if (offset <= vars[i].beg + vars[i].size) {
   40       internal_strlcpy(name, vars[i].name_pos,
   41                        Min(name_size, vars[i].name_len + 1));
   42       *region_address = addr - (offset - vars[i].beg);
   43       *region_size = vars[i].size;
projects/compiler-rt/lib/asan/asan_descriptions.cpp
  396     uptr prev_var_end = i ? vars[i - 1].beg + vars[i - 1].size : 0;
  396     uptr prev_var_end = i ? vars[i - 1].beg + vars[i - 1].size : 0;
  397     uptr next_var_beg = i + 1 < n_objects ? vars[i + 1].beg : ~(0UL);
  398     PrintAccessAndVarIntersection(vars[i], offset, access_size, prev_var_end,
projects/compiler-rt/lib/asan/asan_globals.cpp
  101     GlobalRegistrationSite &grs = (*global_registration_site_vector)[i];
  265     DynInitGlobal &dyn_g = (*dynamic_init_globals)[i];
  431     DynInitGlobal &dyn_g = (*dynamic_init_globals)[i];
  454     DynInitGlobal &dyn_g = (*dynamic_init_globals)[i];
projects/compiler-rt/lib/asan/asan_memory_profile.cpp
   67       auto &a = allocations_[i];
   88       if (allocations_[i].id == id) {
   89         allocations_[i].total_size += size;
   90         allocations_[i].count++;
projects/compiler-rt/lib/hwasan/hwasan_report.cpp
   63     internal_memcpy(&(*error_message_ptr_)[old_size - 1], msg, len);
projects/compiler-rt/lib/lsan/lsan_common.cpp
  340     ProcessRootRegion(frontier, (*root_regions)[i]);
  520         &matched[i]->hit_count)), matched[i]->weight, matched[i]->templ);
  520         &matched[i]->hit_count)), matched[i]->weight, matched[i]->templ);
  520         &matched[i]->hit_count)), matched[i]->weight, matched[i]->templ);
  545     threads[i] = suspended_threads.GetThreadID(i);
  672     if (leaks_[i].stack_trace_id == stack_trace_id &&
  673         leaks_[i].is_directly_leaked == is_directly_leaked) {
  674       leaks_[i].hit_count++;
  675       leaks_[i].total_size += leaked_size;
  686     LeakedObject obj = {leaks_[i].id, chunk, leaked_size};
  712     if (leaks_[i].is_suppressed) continue;
  727          leaks_[index].is_directly_leaked ? "Direct" : "Indirect",
  728          leaks_[index].total_size, leaks_[index].hit_count);
  728          leaks_[index].total_size, leaks_[index].hit_count);
  731   PrintStackTraceById(leaks_[index].stack_trace_id);
  741   u32 leak_id = leaks_[index].id;
  743     if (leaked_objects_[j].leak_id == leak_id)
  744       Printf("%p (%zu bytes)\n", leaked_objects_[j].addr,
  745              leaked_objects_[j].size);
  753       if (leaks_[i].is_suppressed) continue;
  754       bytes += leaks_[i].total_size;
  755       allocations += leaks_[i].hit_count;
  765     Suppression *s = GetSuppressionForStack(leaks_[i].stack_trace_id);
  767       s->weight += leaks_[i].total_size;
  769           leaks_[i].hit_count);
  770       leaks_[i].is_suppressed = true;
  778     if (!leaks_[i].is_suppressed) result++;
  833     RootRegion region = (*root_regions)[i];
  837       (*root_regions)[i] = (*root_regions)[last_index];
  837       (*root_regions)[i] = (*root_regions)[last_index];
projects/compiler-rt/lib/sanitizer_common/sanitizer_common.h
  572     (*this)[0] = '\0';
  576     (*this)[0] = '\0';
projects/compiler-rt/lib/sanitizer_common/sanitizer_coverage_libcdep_new.cpp
  133         reinterpret_cast<atomic_uintptr_t*>(&pc_vector[idx - 1]);
  139     internal_memset(&pc_vector[0], 0, sizeof(pc_vector[0]) * pc_vector.size());
  139     internal_memset(&pc_vector[0], 0, sizeof(pc_vector[0]) * pc_vector.size());
projects/compiler-rt/lib/sanitizer_common/sanitizer_file.cpp
  188       buffer[prefix_len] = '/';
  189       internal_memcpy(&buffer[prefix_len + 1], name, name_len);
  190       buffer[prefix_len + 1 + name_len] = '\0';
projects/compiler-rt/lib/sanitizer_common/sanitizer_libignore.cpp
   43       buf[0]) {
projects/compiler-rt/lib/sanitizer_common/sanitizer_linux_libcdep.cpp
  551   if (module_name[0] == '\0')
projects/compiler-rt/lib/sanitizer_common/sanitizer_stackdepot.cpp
  144   if (idx > map_.size() || map_[idx].id != id)
  146   return map_[idx].desc->load();
projects/compiler-rt/lib/sanitizer_common/sanitizer_suppressions.cpp
   97     Suppression &cur = suppressions_[i];
  177     if (atomic_load_relaxed(&suppressions_[i].hit_count))
  178       matched->push_back(&suppressions_[i]);
projects/compiler-rt/lib/sanitizer_common/sanitizer_symbolizer.cpp
  104     if (!internal_strcmp(storage_[i], str)) {
  105       last_match_ = storage_[i];
projects/compiler-rt/lib/sanitizer_common/sanitizer_symbolizer_posix_libcdep.cpp
  287           internal_strcmp(module_name, addr2line_pool_[i]->module_name())) {
  288         addr2line = addr2line_pool_[i];
projects/compiler-rt/lib/sanitizer_common/sanitizer_unwind_linux_libcdep.cpp
  174     trace_buffer[size++] = frames[i].absolute_pc + 2;
projects/compiler-rt/lib/stats/stats.cpp
   96   WriteModuleReport(modules[index]);
   97   modules[index] = 0;
projects/compiler-rt/lib/tsan/rtl/tsan_rtl.cpp
  168             &filename[0]);
projects/compiler-rt/lib/tsan/rtl/tsan_rtl_report.cpp
  547     if (ctx->fired_suppressions[k].type != type)
  550       FiredSuppression *s = &ctx->fired_suppressions[k];
  564     if (ctx->fired_suppressions[k].type != type)
  566     FiredSuppression *s = &ctx->fired_suppressions[k];
projects/compiler-rt/lib/tsan/rtl/tsan_suppressions.cpp
  153     hit_count += atomic_load_relaxed(&matched[i]->hit_count);
  157     Printf("%d %s:%s\n", atomic_load_relaxed(&matched[i]->hit_count),
  158            matched[i]->type, matched[i]->templ);
  158            matched[i]->type, matched[i]->templ);