Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sancov based ctx/ngram LibAFL fuzzers #1956

Closed
wants to merge 26 commits into from
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
cx
tokatoka committed Apr 17, 2024
commit 4eb332a7b4b9c4f695ac3511a72bde0b32a17169
4 changes: 2 additions & 2 deletions fuzzers/libafl_fuzzbench_fast_ngram4/fuzzer.py
Original file line number Diff line number Diff line change
@@ -41,7 +41,7 @@ def prepare_fuzz_environment(input_corpus):
def build(): # pylint: disable=too-many-branches,too-many-statements
"""Build benchmark."""
os.environ['CC'] = '/libafl_fuzzbench/target/release/fast_ngram4_cc'
os.environ['CXX'] = '/libafl_fuzzbench/target/release/fast_ngram4_cc'
os.environ['CXX'] = '/libafl_fuzzbench/target/release/fast_ngram4_cxx'

os.environ['ASAN_OPTIONS'] = 'abort_on_error=0:allocator_may_return_null=1'
os.environ['UBSAN_OPTIONS'] = 'abort_on_error=0'
@@ -64,4 +64,4 @@ def fuzz(input_corpus, output_corpus, target_binary):
command += (['-x', dictionary_path])
command += (['-o', output_corpus, '-i', input_corpus])
print(command)
subprocess.check_call(command, cwd=os.environ['OUT'])
subprocess.check_call(command, cwd=os.environ['OUT'])
2 changes: 1 addition & 1 deletion fuzzers/libafl_fuzzbench_fast_value_profile/fuzzer.py
Original file line number Diff line number Diff line change
@@ -64,4 +64,4 @@ def fuzz(input_corpus, output_corpus, target_binary):
command += (['-x', dictionary_path])
command += (['-o', output_corpus, '-i', input_corpus])
print(command)
subprocess.check_call(command, cwd=os.environ['OUT'])
subprocess.check_call(command, cwd=os.environ['OUT'])