v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
Loading...
Searching...
No Matches
cov.h
Go to the documentation of this file.
1// Copyright 2020 the V8 project authors. All rights reserved.
2// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
5#ifndef V8_FUZZILLI_COV_H_
6#define V8_FUZZILLI_COV_H_
7
8// This file is defining functions to handle coverage which are needed for
9// fuzzilli fuzzer It communicates coverage bitmap with fuzzilli through shared
10// memory
11// https://clang.llvm.org/docs/SanitizerCoverage.html
12
13#include <cstdint>
14#include <vector>
15
18void cov_init_builtins_edges(uint32_t num_edges);
19void cov_update_builtins_basic_block_coverage(const std::vector<bool>& cov_map);
20
21#endif // V8_FUZZILLI_COV_H_
void sanitizer_cov_reset_edgeguards()
Definition cov.cc:33
uint32_t sanitizer_cov_count_discovered_edges()
Definition cov.cc:88
void cov_update_builtins_basic_block_coverage(const std::vector< bool > &cov_map)
Definition cov.cc:129
void cov_init_builtins_edges(uint32_t num_edges)
Definition cov.cc:112