Skip to content

Commit

Permalink
temp
Browse files Browse the repository at this point in the history
  • Loading branch information
aidenwang9867 committed Jul 7, 2022
1 parent 863cbb2 commit 7ce2186
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion checks/raw/fuzzing.go
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ var languageFuzzSpecs = map[clients.LanguageName]languageFuzzConfig{
clients.Cpp: {
filePattern: "fuzz_*.c*",
Name: fuzzerBuiltInCpp,
funcPattern: `extern\s+[("C")\s]*[\w\*]+\s+LLVMFuzzerTestOneInput\s*\([\w* ,]*\)`,
funcPattern: `LLVMFuzzerTestOneInput\s*\([\w* ,]*\)`,
URL: asPointer("https://github.com/google/fuzzing/blob/master/docs/good-fuzz-target.md"),
Desc: asPointer(
"C++ Fuzz This Function.",
Expand Down
2 changes: 1 addition & 1 deletion checks/raw/fuzzing_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ func Test_fuzzFileAndFuncMatchPattern(t *testing.T) {
lang: clients.LanguageName("c++"),
fileName: "fuzz_test2_foo.cc",
fileContent: `
extern void LLVMFuzzerTestOneInput (const uint8_t *Data, size_t Size)
LLVMFuzzerTestOneInput (const uint8_t *Data, size_t Size)
`,
wantErr: false,
},
Expand Down

0 comments on commit 7ce2186

Please sign in to comment.