blob: 02f85c823723f80d4b7d74b7454dbfd212705e8c [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
Robert Swiecki10eeb0a2017-09-28 15:42:52 +020023#include "honggfuzz.h"
24
Anestis Bechtsoudis9ea67cb2016-12-28 12:38:23 +020025/* Exit code is common for all sanitizers */
Robert Swieckid0fa62c2017-09-28 18:11:05 +020026#define HF_SAN_EXIT_CODE 103
Anestis Bechtsoudise5f09f82016-12-27 16:06:05 +020027
28/* Prefix for sanitizer report files */
Robert Swieckid0fa62c2017-09-28 18:11:05 +020029#define kLOGPREFIX "HF.sanitizer.log"
Anestis Bechtsoudise5f09f82016-12-27 16:06:05 +020030
Robert Swiecki4e595fb2017-10-11 17:26:51 +020031extern bool sanitizers_Init(honggfuzz_t* hfuzz);
Anestis Bechtsoudise5f09f82016-12-27 16:06:05 +020032
Robert Swiecki4e595fb2017-10-11 17:26:51 +020033#endif /* _HF_SANITIZERS_H_ */