summaryrefslogtreecommitdiff
path: root/lib/fuzzer/FuzzerInternal.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/fuzzer/FuzzerInternal.h')
-rw-r--r--lib/fuzzer/FuzzerInternal.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/fuzzer/FuzzerInternal.h b/lib/fuzzer/FuzzerInternal.h
index 34fdeb821..97c14085e 100644
--- a/lib/fuzzer/FuzzerInternal.h
+++ b/lib/fuzzer/FuzzerInternal.h
@@ -96,6 +96,7 @@ private:
void CrashOnOverwrittenData();
void InterruptCallback();
void MutateAndTestOne();
+ void PurgeAllocator();
void ReportNewCoverage(InputInfo *II, const Unit &U);
void PrintPulseAndReportSlowInput(const uint8_t *Data, size_t Size);
void WriteToOutputCorpus(const Unit &U);
@@ -124,6 +125,8 @@ private:
bool HasMoreMallocsThanFrees = false;
size_t NumberOfLeakDetectionAttempts = 0;
+ system_clock::time_point LastAllocatorPurgeAttemptTime = system_clock::now();
+
UserCallback CB;
InputCorpus &Corpus;
MutationDispatcher &MD;