Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Use tracked alloc mode
  • Loading branch information
nikic committed Apr 22, 2020
commit 4603ba2fbe6638c8646d3465287c57965b5827f7
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