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

LibAFL cmplog ctx experiment #1909

Closed
wants to merge 24 commits into from

Conversation

tokatoka
Copy link
Contributor

@tokatoka tokatoka commented Oct 18, 2023

Hi.

We'd like to do an experiment for a new feature "ctx sensitive cmplog" on libafl to compare if it will improve.
Basically it records the context of the function calls, but hashs this context together when writing cmp values into the cmplog map.
I also chose to use llvm-16 to make the most of the LLVM Pass

The command would be

/gcbrun run_experiment.py -a --experiment-config /opt/fuzzbench/service/experiment-config.yaml --experiment-name 2023-10-18-libafl --fuzzers libafl libafl_cmplog_ctx

@tokatoka tokatoka changed the title Cmplog ctx experiment LibAFL cmplog ctx experiment Oct 18, 2023
@tokatoka tokatoka marked this pull request as draft October 18, 2023 14:06
@tokatoka tokatoka marked this pull request as ready for review October 19, 2023 15:09
@tokatoka
Copy link
Contributor Author

this one is ready

@tokatoka
Copy link
Contributor Author

@alan32liu
Could you run the experiment for this too please :)

@DonggeLiu
Copy link
Contributor

/gcbrun run_experiment.py -a --experiment-config /opt/fuzzbench/service/experiment-config.yaml --experiment-name 2023-10-25-libafl --fuzzers libafl libafl_cmplog_ctx

@DonggeLiu
Copy link
Contributor

Experiment 2023-10-25-libafl data and results will be available later at:
The experiment data.
The experiment report.

@tokatoka
Copy link
Contributor Author

tokatoka commented Nov 3, 2023

Thanks. @alan32liu
In the end, ctx cmplog is not for all the fuzzers

In the last week's commit we adopted the cmplog ctx and changed the hash we use for writing into cmplog map.
Now in the latest commit, i removed the cmplog ctx. And I want to see if the hash change it self is a improvement.

Could you run another experiment for the fuzzer?
The command is

/gcbrun run_experiment.py -a --experiment-config /opt/fuzzbench/service/experiment-config.yaml --experiment-name 2023-11-03-libafl --fuzzers libafl_cmplog_ctx

@DonggeLiu
Copy link
Contributor

/gcbrun run_experiment.py -a --experiment-config /opt/fuzzbench/service/experiment-config.yaml --experiment-name 2023-11-03-libafl --fuzzers libafl_cmplog_ctx

@DonggeLiu
Copy link
Contributor

Experiment 2023-11-03-libafl data and results will be available later at:
The experiment data.
The experiment report.

@tokatoka
Copy link
Contributor Author

thanks for the experiment
we can close this

@tokatoka tokatoka closed this Nov 10, 2023
@tokatoka tokatoka deleted the cmplog_ctx_experiment branch March 1, 2024 13:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants