Anestis Bechtsoudis | e5f09f8 | 2016-12-27 16:06:05 +0200 | [diff] [blame] | 1 | /* |
| 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 Bechtsoudis | 9ea67cb | 2016-12-28 12:38:23 +0200 | [diff] [blame] | 23 | /* Exit code is common for all sanitizers */ |
| 24 | #define HF_SAN_EXIT_CODE 103 |
Anestis Bechtsoudis | e5f09f8 | 2016-12-27 16:06:05 +0200 | [diff] [blame] | 25 | |
| 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 | |
| 32 | extern bool sanitizers_Init(honggfuzz_t * hfuzz); |
| 33 | |
| 34 | extern bool sanitizers_prepareExecve(honggfuzz_t * hfuzz); |
| 35 | |
| 36 | #endif /* _HF_SANITIZERS_H_ */ |