1 //===-- sanitizer/coverage_interface.h --------------------------*- C++ -*-===//
3 // This file is distributed under the University of Illinois Open Source
4 // License. See LICENSE.TXT for details.
6 //===----------------------------------------------------------------------===//
8 // Public interface for sanitizer coverage.
9 //===----------------------------------------------------------------------===//
11 #ifndef SANITIZER_COVERAG_INTERFACE_H
12 #define SANITIZER_COVERAG_INTERFACE_H
14 #include <sanitizer/common_interface_defs.h>
20 // Record and dump coverage info.
21 void __sanitizer_cov_dump();
23 // Clear collected coverage info.
24 void __sanitizer_cov_reset();
26 // Dump collected coverage info. Sorts pcs by module into individual .sancov
28 void __sanitizer_dump_coverage(const uintptr_t *pcs
, uintptr_t len
);
34 #endif // SANITIZER_COVERAG_INTERFACE_H