diff options
author | Martijn van Beurden <mvanb1@gmail.com> | 2022-08-19 11:59:16 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-19 11:59:16 +0200 |
commit | 6d2492d346b929e32d04050cc8c24b7427a26042 (patch) | |
tree | c3406bb71bdcd9ad08aa074734903e337d17588b /oss-fuzz/fuzzer_common.h | |
parent | 010c60e1f9ad20b42863cfe7bed49593b4cccb1f (diff) | |
download | flac-6d2492d346b929e32d04050cc8c24b7427a26042.tar.gz |
Prepare oom checking in fuzzing
By merging oom checking in fuzzing in steps, it is possible to
implement it without having oss-fuzz build failures
Diffstat (limited to 'oss-fuzz/fuzzer_common.h')
-rw-r--r-- | oss-fuzz/fuzzer_common.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/oss-fuzz/fuzzer_common.h b/oss-fuzz/fuzzer_common.h new file mode 100644 index 00000000..9545f95e --- /dev/null +++ b/oss-fuzz/fuzzer_common.h @@ -0,0 +1,2 @@ +extern int alloc_check_threshold, alloc_check_counter; +int alloc_check_threshold = INT32_MAX, alloc_check_counter = 0; |