Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitd25ae2d

Browse files
committed
Fix various misspellings of "corpora" & improve script comments
A misspelling in thehttps://github.com/gitpython-developers/qa-assetsrepository is still present here. It will need to be fixed in thatrepository first."corpora" is a difficult word to spell consistently I guess. This madefor a good opportunity to improve the phrasing of two other comments atat least.Based@EliahKagan's suggestion and feedback on:#1901
1 parente038526 commitd25ae2d

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

‎fuzzing/oss-fuzz-scripts/build.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ set -euo pipefail
44

55
python3 -m pip install.
66

7-
# Directory to look in for dictionaries, options files, and seedcorpa:
7+
# Directory to look in for dictionaries, options files, and seedcorpora:
88
SEED_DATA_DIR="$SRC/seed_data"
99

1010
find"$SEED_DATA_DIR"\( -name'*_seed_corpus.zip' -o -name'*.options' -o -name'*.dict'\) \
@@ -27,7 +27,7 @@ find "$SRC/gitpython/fuzzing" -name 'fuzz_*.py' -print0 | while IFS= read -r -d
2727
# If a dictionary file for this fuzzer already exists and is not empty,
2828
# we append a new line to the end of it before appending any new entries.
2929
#
30-
#libfuzzer will happily ignore multiple empty lines in a dictionary butcrash
30+
#LibFuzzer will happily ignore multiple empty lines in a dictionary butfail with an error
3131
# if any single line has incorrect syntax (e.g., if we accidentally add two entries to the same line.)
3232
# See docs for valid syntax: https://llvm.org/docs/LibFuzzer.html#id32
3333
echo>>"$output_file"

‎fuzzing/oss-fuzz-scripts/container-environment-bootstrap.sh

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ download_and_concatenate_common_dictionaries() {
3434
done
3535
}
3636

37-
fetch_seed_corpra() {
37+
fetch_seed_corpora() {
3838
# Seed corpus zip files are hosted in a separate repository to avoid additional bloat in this repo.
3939
git clone --depth 1 https://github.com/gitpython-developers/qa-assets.git qa-assets&&
4040
rsync -avc qa-assets/gitpython/corpra/"$SEED_DATA_DIR/"&&
@@ -45,12 +45,13 @@ fetch_seed_corpra() {
4545
# Main execution logic #
4646
########################
4747

48-
fetch_seed_corpra
48+
fetch_seed_corpora
4949

5050
download_and_concatenate_common_dictionaries"$SEED_DATA_DIR/__base.dict" \
5151
"https://raw.githubusercontent.com/google/fuzzing/master/dictionaries/utf8.dict" \
5252
"https://raw.githubusercontent.com/google/fuzzing/master/dictionaries/url.dict"
5353

5454
# The OSS-Fuzz base image has outdated dependencies by default so we upgrade them below.
5555
python3 -m pip install --upgrade pip
56-
python3 -m pip install'setuptools~=69.0''pyinstaller~=6.0'# Uses the latest versions know to work at the time of this commit.
56+
# Upgrade to the latest versions known to work at the time the below changes were introduced:
57+
python3 -m pip install'setuptools~=69.0''pyinstaller~=6.0'

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp