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 23 #include "honggfuzz.h" 24 25 /* Exit code is common for all sanitizers */ 26 #define HF_SAN_EXIT_CODE 103 27 28 /* Prefix for sanitizer report files */ 29 #define kLOGPREFIX "HF.sanitizer.log" 30 31 extern bool sanitizers_Init(honggfuzz_t* hfuzz); 32 33 #endif /* _HF_SANITIZERS_H_ */ 34