File tree Expand file tree Collapse file tree 1 file changed +3
-5
lines changed
Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -105,16 +105,14 @@ int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) {
105105
106106 int rv = 0 ;
107107
108- #define _Py_FUZZ_YES (test_name ) (defined(_Py_FUZZ_##test_name) || !defined(_Py_FUZZ_ONE))
109- #if _Py_FUZZ_YES (fuzz_builtin_float )
108+ #if !defined(_Py_FUZZ_ONE ) || defined(_Py_FUZZ_fuzz_builtin_float )
110109 rv |= _run_fuzz (data , size , fuzz_builtin_float );
111110#endif
112- #if _Py_FUZZ_YES ( fuzz_builtin_int )
111+ #if !defined( _Py_FUZZ_ONE ) || defined( _Py_FUZZ_fuzz_builtin_int )
113112 rv |= _run_fuzz (data , size , fuzz_builtin_int );
114113#endif
115- #if _Py_FUZZ_YES ( fuzz_builtin_unicode )
114+ #if !defined( _Py_FUZZ_ONE ) || defined( _Py_FUZZ_fuzz_builtin_unicode )
116115 rv |= _run_fuzz (data , size , fuzz_builtin_unicode );
117116#endif
118- #undef _Py_FUZZ_YES
119117 return rv ;
120118}
You can’t perform that action at this time.
0 commit comments