Comments (3)
Sorry for the late response, I don't have a great guess. Do you want to email me [my last name]@chromium.org the data.csv.gz so I can try to reproduce?
from fuzzbench.
Thanks a lot for the reply, but due to the error, report data isn't generated automatically after the experiment ends.
So, I modify the funcion, add_bugs_covered_column(experiment_df)
in /fuzzbench/analysis/data_utils.py
around line 153
def add_bugs_covered_column(experiment_df):
"""Return a modified experiment df in which adds a |bugs_covered| column,
a cumulative count of bugs covered over time."""
# Immediately return to avoid the code producing bugs
experiment_df['bugs_covered'] = 0
return experiment_df
"""
if 'crash_key' not in experiment_df:
experiment_df['bugs_covered'] = 0
return experiment_df
"""
grouping2 = ['fuzzer', 'benchmark', 'trial_id']
grouping3 = ['fuzzer', 'benchmark', 'trial_id', 'time']
df = experiment_df.sort_values(grouping3)
# Bug Here
df['firsts'] = (
df.groupby(grouping2, group_keys=False).apply(is_unique_crash) &
~df.crash_key.isna())
df['bugs_cumsum'] = df.groupby(grouping2)['firsts'].transform('cumsum')
df['bugs_covered'] = (
df.groupby(grouping3)['bugs_cumsum'].transform('max').astype(int))
new_df = df.drop(columns=['bugs_cumsum', 'firsts'])
return new_df
I will reproduce my experiment using the modified function and send it to you later.
If you want to run it yourself, my execution command is something like:
PYTHONPATH=. python3 experiment/run_experiment.py -b freetype2_ftfuzzer -c experiment-config.yaml -e <experiment name> -f aflplusplus
And my experiment-config.yaml:
# The number of trials of a fuzzer-benchmark pair.
trials: 1
# The amount of time in seconds that each trial is run for.
# 1 day = 24 * 60 * 60 = 86400
max_total_time: 7200
# The location of the docker registry.
# FIXME: Support custom docker registry.
# See https://github.com/google/fuzzbench/issues/777
docker_registry: gcr.io/fuzzbench
# The local experiment folder that will store most of the experiment data.
# Please use an absolute path.
experiment_filestore: /tmp/experiment-data
# The local report folder where HTML reports and summary data will be stored.
# Please use an absolute path.
report_filestore: /tmp/report-data
# Flag that indicates this is a local experiment.
local_experiment: true
Additional Information:
- I've searched for the error message and found a related website here.
- Besides, I checked the value of crash_key in
experiment_df
, they areNone
.
I am not sure if these would help.
from fuzzbench.
same issue, have you fixed it?
from fuzzbench.
Related Issues (20)
- Experiment hanging without reports HOT 1
- Running several experiments at one time
- freetype_ftfuzzer oss-fuzz benchmark uses outdated commit
- llvm-cov show command report warning: <N> functions have mismatched data
- Allow setting `merge_with_nonprivate` in `run_experiment.py` command line params
- PyQt5 Issue HOT 2
- unknown flag: --gpus all when executing run_experiment.py
- No snapshot data when running local experiment HOT 6
- Average rank scoring
- Retire benchmarks that dont show differences HOT 1
- edges_found and edges_covered mismatch
- [docs] Outdated documentation about fuzzer configs
- Encounter problems when adding a new fuzzer HOT 3
- Why the report-data only contains the code covrage data? HOT 2
- Update `Python` dependencies to update deprecated packages and resolve conflicts HOT 3
- Some error about "run the local bug experiment". HOT 4
- Cannot pull gcr.io/fuzzbench/base-image docker image from Artifact Registry HOT 1
- local experiment issue : Local uncommitted changes found, exiting - raise ValidationError('Local uncommitted changes found, exiting.') HOT 1
- Show data and report links in `experiment` CI
- Fix/Remove `aspell_aspell_fuzzer_e8eb74` from tag `SBFT'23`
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fuzzbench.