Comments (5)
I try to propose a simple solution. The usage of casr-afl is looked like this:
Usage: casr-afl [OPTIONS] --input <INPUT_DIR> --output <OUTPUT_DIR> [-- <ARGS>...]
Arguments:
[ARGS]... Add "-- ./gdb_fuzz_target <arguments>" to generate additional crash reports
with casr-gdb (e.g., test whether program crashes without sanitizers)
ARGS
are optional for casr-gdb
run. What if we use have --ignore-cmdline
option to ignore cmdline file? We could use ARGS to run casr-san
as the main analyzer then. I think it's easy to implement and use. What do you think, @vanhauser-thc @SweetVishnya ?
This is like @SweetVishnya already proposed, but more detailed:).
from casr.
@anfedotoff, I agree!
from casr.
I suppose, we may reuse existing ARGS parameter and add option like --override
that tells casr-afl
to use ARGS
instead of cmdline
. Moreover, we should check whether we should call casr-san
or casr-gdb
in this case. Anyway, we should wait for refactoring in #128 to be done first.
from casr.
The reason for the feature request: I might have a fuzzing harness, but the verifier (that uses asan, ubsan, etc.) might not be the one used for that specific fuzzer. casr-afl is beautifully easy to use, for specific cases like I described it lacks options though.
but maybe I overcomplicate things and it is easier to use casr-gdb / casr-asan instead :-)
from casr.
The reason for the feature request: I might have a fuzzing harness, but the verifier (that uses asan, ubsan, etc.) might not be the one used for that specific fuzzer. casr-afl is beautifully easy to use, for specific cases like I described it lacks options though.
but maybe I overcomplicate things and it is easier to use casr-gdb / casr-asan instead :-)
It would be nice to support this feature in cars-afl
! It will be more convenient than using casr-san
, casr-gdb
, casr-cluster
directly. Will schedule it right after #128:).
from casr.
Related Issues (20)
- casr-libfuzzer for Rust programs. HOT 5
- Improve fuzzing in CI
- Refactor init_ignored_frames! macro HOT 1
- Support Jazzer.js for JavaScript fuzzing
- Process libFuzzer tree corpus directory HOT 2
- Add contributing guideline
- Add coverage workflow
- Add test for `report.rs`
- Add support for fileContent objects in SARIF export HOT 2
- Publish v2.9.0 Release
- Increase `gdb/exploitable.rs` coverage HOT 1
- Keep only reports with unique crashline in cluster
- Use clap::Arg for environment variables
- [casr-cluster] Support deterministic clustering
- [casr-cluster] Support cluster merging HOT 1
- [ubsan] CrashLine parsing in UbsanWarning
- [report] Fix `report::tests::test_report_dedup` test
- [casr-cli]: stdout mode in markdown
- [CI] Fix `test_casr_san_rust_panic` test in coverage workflow
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 casr.