diff options
author | Kostya Serebryany <kcc@google.com> | 2018-05-11 01:17:52 +0000 |
---|---|---|
committer | Kostya Serebryany <kcc@google.com> | 2018-05-11 01:17:52 +0000 |
commit | cb2d71ce010a8171c48fccbf48182ed54d8d75a0 (patch) | |
tree | e6e6599f2193c9b0e5190f669a84201caa40de2a /lib/fuzzer/FuzzerTracePC.h | |
parent | 782833e7099571a19d78cfb3f82205d8a86bca30 (diff) |
[libFuzzer] refactor the implementation of -print_coverage
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@332073 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/fuzzer/FuzzerTracePC.h')
-rw-r--r-- | lib/fuzzer/FuzzerTracePC.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/fuzzer/FuzzerTracePC.h b/lib/fuzzer/FuzzerTracePC.h index 27ff47cd7..d68da76b2 100644 --- a/lib/fuzzer/FuzzerTracePC.h +++ b/lib/fuzzer/FuzzerTracePC.h @@ -103,6 +103,9 @@ class TracePC { void PrintCoverage(); + template<class CallBack> + void IterateCoveredFunctions(CallBack CB); + void AddValueForMemcmp(void *caller_pc, const void *s1, const void *s2, size_t n, bool StopAtZero); |