FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
GitPython/fuzzing/oss-fuzz-scripts/build.sh at master · gitpython-developers/GitPython · GitHub
gitpython-developers
GitPython
Repository navigation
Code
Issues
6
(6)
Pull requests
Discussions
Actions
Security and quality
42
(42)
Insights
Expand file tree
Breadcrumbs
GitPython
/
fuzzing
/
oss-fuzz-scripts
/
build.sh
Copy path
More file actions
More file actions
Latest commit
History
History
History
19 lines (15 loc) · 681 Bytes
Breadcrumbs
GitPython
/
fuzzing
/
oss-fuzz-scripts
/
build.sh
Copy path
File metadata and controls
19 lines (15 loc) · 681 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#
shellcheck shell=bash
#
#
This file is part of GitPython and is released under the
#
3-Clause BSD License: https://opensource.org/license/bsd-3-clause/
set
-euo pipefail
python3 -m pip install
.
find
"
$SRC
"
-maxdepth 1 \
\(
-name
'
*_seed_corpus.zip
'
-o -name
'
*.options
'
-o -name
'
*.dict
'
\)
\
-exec
printf
'
[%s] Copying: %s\n
'
"
$(
date
'
+%Y-%m-%d %H:%M:%S
'
)
"
{}
\;
\
-exec chmod a-x {}
\;
\
-exec cp {}
"
$OUT
"
\;
#
Build fuzzers in $OUT.
find
"
$SRC
/gitpython/fuzzing
"
-name
'
fuzz_*.py
'
-print0
|
while
IFS=
read
-r -d
'
'
fuzz_harness
;
do
compile_python_fuzzer
"
$fuzz_harness
"
--add-binary=
"
$(
command -v git
)
:.
"
--add-data=
"
$SRC
/explicit-exceptions-list.txt:.
"
done
Back
|
FazBrowse Home
|
New Git URL