blob: e05241942f8221253ecda738fc300d7b0f5f8ef6 [file] [log] [blame]
Anestis Bechtsoudise5f09f82016-12-27 16:06:05 +02001/*
2 *
3 * honggfuzz - sanitizers configuration
4 * -----------------------------------------------
5 *
6 * Licensed under the Apache License, Version 2.0 (the "License"); you may
7 * not use this file except in compliance with the License. You may obtain
8 * a copy of the License at
9 *
10 * http://www.apache.org/licenses/LICENSE-2.0
11 *
12 * Unless required by applicable law or agreed to in writing, software
13 * distributed under the License is distributed on an "AS IS" BASIS,
14 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
15 * implied. See the License for the specific language governing
16 * permissions and limitations under the License.
17 *
18 */
19
20#ifndef _HF_SANITIZERS_H_
21#define _HF_SANITIZERS_H_
22
Anestis Bechtsoudis9ea67cb2016-12-28 12:38:23 +020023/* Exit code is common for all sanitizers */
24#define HF_SAN_EXIT_CODE 103
Anestis Bechtsoudise5f09f82016-12-27 16:06:05 +020025
26/* Prefix for sanitizer report files */
27#define kLOGPREFIX "HF.sanitizer.log"
28
29/* Directory in workspace to store sanitizer coverage data */
30#define _HF_SANCOV_DIR "HF_SANCOV"
31
32extern bool sanitizers_Init(honggfuzz_t * hfuzz);
33
34extern bool sanitizers_prepareExecve(honggfuzz_t * hfuzz);
35
36#endif /* _HF_SANITIZERS_H_ */