summaryrefslogtreecommitdiff
path: root/include/sanitizer
diff options
context:
space:
mode:
authorKostya Serebryany <kcc@google.com>2015-10-22 22:06:41 +0000
committerKostya Serebryany <kcc@google.com>2015-10-22 22:06:41 +0000
commit8c96149e30058ce6c86e9db5537cfbde6b7bc838 (patch)
tree69f34922691bf67271d20caff3d0823a232a26ca /include/sanitizer
parentd777b798868bcaa646cd676bae64a1bba0d19406 (diff)
[sanitizer-coverage] introduce __sanitizer_get_total_unique_caller_callee_pairs
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@251071 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/sanitizer')
-rw-r--r--include/sanitizer/coverage_interface.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/sanitizer/coverage_interface.h b/include/sanitizer/coverage_interface.h
index 404b71e30..b93111b85 100644
--- a/include/sanitizer/coverage_interface.h
+++ b/include/sanitizer/coverage_interface.h
@@ -27,9 +27,11 @@ extern "C" {
// descriptor. Returns -1 on failure, or if coverage dumping is disabled.
// This is intended for use by sandboxing code.
intptr_t __sanitizer_maybe_open_cov_file(const char *name);
- // Get the number of total unique covered entities (blocks, edges, calls).
+ // Get the number of unique covered blocks (or edges).
// This can be useful for coverage-directed in-process fuzzers.
uintptr_t __sanitizer_get_total_unique_coverage();
+ // Get the number of unique indirect caller-callee pairs.
+ uintptr_t __sanitizer_get_total_unique_caller_callee_pairs();
// Reset the basic-block (edge) coverage to the initial state.
// Useful for in-process fuzzing to start collecting coverage from scratch.