This repository has been archived by the owner on Mar 22, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add tuest fuzz target that does nothing
- Loading branch information
janschrewe
committed
Apr 16, 2021
1 parent
3b3d3c9
commit 3117b7d
Showing
3 changed files
with
86 additions
and
0 deletions.
There are no files selected for viewing
51 changes: 51 additions & 0 deletions
51
.code-intelligence/campaigns/test_fuzz_target-d82fef0f.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
{ | ||
"name": "test_fuzz_target-d82fef0f", | ||
"displayName": "test_fuzz_target", | ||
"maxRunTime": "1800s", | ||
"fuzzTargets": [ | ||
"test_fuzz_target-5ce53eb7" | ||
], | ||
"fuzzerRunConfigurations": [ | ||
{ | ||
"engine": "LIBFUZZER", | ||
"sanitizer": "ADDRESS", | ||
"numberOfJobs": 1, | ||
"engineArguments": [ | ||
"-entropic=1" | ||
] | ||
}, | ||
{ | ||
"engine": "LIBFUZZER", | ||
"sanitizer": "ADDRESS", | ||
"numberOfJobs": 1, | ||
"engineArguments": [ | ||
"-entropic=1", | ||
"-use_value_profile=1" | ||
] | ||
} | ||
], | ||
"configuredTargets": [ | ||
{ | ||
"fuzzTarget": "test_fuzz_target-5ce53eb7", | ||
"fuzzerRunConfigurations": [ | ||
{ | ||
"engine": "LIBFUZZER", | ||
"sanitizer": "ADDRESS", | ||
"numberOfJobs": 1, | ||
"engineArguments": [ | ||
"-entropic=1" | ||
] | ||
}, | ||
{ | ||
"engine": "LIBFUZZER", | ||
"sanitizer": "ADDRESS", | ||
"numberOfJobs": 1, | ||
"engineArguments": [ | ||
"-entropic=1", | ||
"-use_value_profile=1" | ||
] | ||
} | ||
] | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
#include <iostream> | ||
#include <stddef.h> | ||
#include <stdint.h> | ||
#include <tao/json.hpp> | ||
|
||
// extern "C" int FUZZ_INIT_WITH_ARGS(int *argc, char ***argv) { | ||
extern "C" int FUZZ_INIT() | ||
{ | ||
// Add global setup code here - called once before fuzzing starts | ||
|
||
return 0; // Non-zero return values are reserved for future use. | ||
} | ||
|
||
extern "C" int FUZZ( const char* Data, size_t Size ) | ||
{ | ||
|
||
return 0; // Non-zero return values are reserved for future use. | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
{ | ||
"name": "test_fuzz_target-5ce53eb7", | ||
"displayName": "test_fuzz_target", | ||
"buildFlags": [ | ||
"-Ibuild/src/example/json", | ||
"-Iinclude", | ||
"-Iexternal/PEGTL/include", | ||
"-Iinclude/tao/json/events", | ||
"-Lbuild/src/example/json", | ||
"-std=c++17" | ||
], | ||
"cApi": { | ||
"api": { | ||
"relativePath": ".code-intelligence/fuzz_targets/test_fuzz_target.cpp" | ||
} | ||
} | ||
} |