Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Tor
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
orbea
Tor
Commits
98282965
Commit
98282965
authored
3 years ago
by
Nick Mathewson
Browse files
Options
Downloads
Plain Diff
Merge remote-tracking branch 'tor-gitlab/mr/397'
parents
ec2094a7
d2256fe9
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
Makefile.am
+1
-1
1 addition, 1 deletion
Makefile.am
changes/bug40407
+5
-0
5 additions, 0 deletions
changes/bug40407
scripts/codegen/fuzzing_include_am.py
+2
-5
2 additions, 5 deletions
scripts/codegen/fuzzing_include_am.py
src/test/fuzz/include.am
+2
-3
2 additions, 3 deletions
src/test/fuzz/include.am
with
10 additions
and
9 deletions
Makefile.am
+
1
−
1
View file @
98282965
...
...
@@ -253,7 +253,7 @@ endif
TEST_NETWORK_SHOW_WARNINGS_FOR_LAST_RUN_FLAGS
=
--quiet
--only-warnings
if
LIBFUZZER_ENABLED
TEST_CFLAGS
+=
-fsanitize
-coverage
=
trace-pc-guard,trace-cmp,trace-div
TEST_CFLAGS
+=
-fsanitize
=
fuzzer-no-link
# not "edge"
endif
...
...
This diff is collapsed.
Click to expand it.
changes/bug40407
0 → 100644
+
5
−
0
View file @
98282965
o Minor features (fuzzing):
- When building with --enable-libfuzzer, use a set of compiler flags
that works with more recent versions of the library. Previously
we were using a set of flags from 2017.
Closes ticket 40407.
This diff is collapsed.
Click to expand it.
scripts/codegen/fuzzing_include_am.py
+
2
−
5
View file @
98282965
...
...
@@ -11,11 +11,9 @@ FUZZERS = """
diff
diff-apply
extrainfo
hsdescv2
hsdescv3
http
http-connect
iptsv2
microdesc
socks
strops
...
...
@@ -47,11 +45,10 @@ oss-fuzz-prereqs: \
noinst_HEADERS += \
src/test/fuzz/fuzzing.h
LIBFUZZER = -lFuzzer
LIBFUZZER_CPPFLAGS = $(FUZZING_CPPFLAGS) -DLLVM_FUZZ
LIBFUZZER_CFLAGS = $(FUZZING_CFLAGS)
LIBFUZZER_LDFLAG = $(FUZZING_LDFLAG)
LIBFUZZER_LIBS = $(FUZZING_LIBS)
$(LIBFUZZER)
-lstdc++
LIBFUZZER_LDFLAG = $(FUZZING_LDFLAG)
-fsanitize=fuzzer
LIBFUZZER_LIBS = $(FUZZING_LIBS) -lstdc++
LIBOSS_FUZZ_CPPFLAGS = $(FUZZING_CPPFLAGS) -DLLVM_FUZZ
LIBOSS_FUZZ_CFLAGS = $(FUZZING_CFLAGS)
...
...
This diff is collapsed.
Click to expand it.
src/test/fuzz/include.am
+
2
−
3
View file @
98282965
...
...
@@ -23,11 +23,10 @@ oss-fuzz-prereqs: \
noinst_HEADERS += \
src/test/fuzz/fuzzing.h
LIBFUZZER = -lFuzzer
LIBFUZZER_CPPFLAGS = $(FUZZING_CPPFLAGS) -DLLVM_FUZZ
LIBFUZZER_CFLAGS = $(FUZZING_CFLAGS)
LIBFUZZER_LDFLAG = $(FUZZING_LDFLAG)
LIBFUZZER_LIBS = $(FUZZING_LIBS)
$(LIBFUZZER)
-lstdc++
LIBFUZZER_LDFLAG = $(FUZZING_LDFLAG)
-fsanitize=fuzzer
LIBFUZZER_LIBS = $(FUZZING_LIBS) -lstdc++
LIBOSS_FUZZ_CPPFLAGS = $(FUZZING_CPPFLAGS) -DLLVM_FUZZ
LIBOSS_FUZZ_CFLAGS = $(FUZZING_CFLAGS)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment