diff options
author | robot-dts-analyst <[email protected]> | 2022-11-08 02:52:54 +0300 |
---|---|---|
committer | robot-dts-analyst <[email protected]> | 2022-11-08 02:52:54 +0300 |
commit | 4279a48238a1a4105a3d77a50f245591649245a7 (patch) | |
tree | e3733a66963e7d577e33f9976dd63d50e28c058f /contrib/libs/libfuzzer/FuzzerInternal.h | |
parent | c2c68f821b20a5ebda2d7b52c0d6036241952311 (diff) |
Rebalancing autocheck partitions and distbuild clusters.
The process of preparing changes https://sandbox.yandex-team.ru/task/1510045946/view
Diffstat (limited to 'contrib/libs/libfuzzer/FuzzerInternal.h')
-rw-r--r-- | contrib/libs/libfuzzer/FuzzerInternal.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/contrib/libs/libfuzzer/FuzzerInternal.h b/contrib/libs/libfuzzer/FuzzerInternal.h index 6637b0034e5..31f54eaa478 100644 --- a/contrib/libs/libfuzzer/FuzzerInternal.h +++ b/contrib/libs/libfuzzer/FuzzerInternal.h @@ -65,7 +65,10 @@ public: static void StaticFileSizeExceedCallback(); static void StaticGracefulExitCallback(); - void ExecuteCallback(const uint8_t *Data, size_t Size); + // Executes the target callback on {Data, Size} once. + // Returns false if the input was rejected by the target (target returned -1), + // and true otherwise. + bool ExecuteCallback(const uint8_t *Data, size_t Size); bool RunOne(const uint8_t *Data, size_t Size, bool MayDeleteFile = false, InputInfo *II = nullptr, bool ForceAddToCorpus = false, bool *FoundUniqFeatures = nullptr); |