Skip to content

Commit

Permalink
Use tracked alloc mode
Browse files Browse the repository at this point in the history
  • Loading branch information
nikic committed Apr 22, 2020
1 parent 7dd5558 commit 4603ba2
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions sapi/fuzzer/fuzzer-phar.c
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,9 @@ int LLVMFuzzerTestOneInput(const uint8_t *Data, size_t Size) {
}

int LLVMFuzzerInitialize(int *argc, char ***argv) {
/* Gracefully handle bailouts. */
putenv("USE_TRACKED_ALLOC=1");

fuzzer_init_php();

/* fuzzer_shutdown_php(); */
Expand Down

0 comments on commit 4603ba2

Please sign in to comment.