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

Add logs format option #316

Closed
aviggiano opened this issue Mar 4, 2024 · 3 comments
Closed

Add logs format option #316

aviggiano opened this issue Mar 4, 2024 · 3 comments

Comments

@aviggiano
Copy link

I'd like to create a chart of medusa's run over time.

For example, this can be useful to grasp how coverage is increasing as time passes.

One solution could be to have a "log output format" option, so that I can setup csv and instead of printing:

fuzz: elapsed: 3s, calls: 4122 (1373/sec), seq/s: 14, coverage: 102
fuzz: elapsed: 6s, calls: 6048 (641/sec), seq/s: 6, coverage: 105
fuzz: elapsed: 9s, calls: 6473 (141/sec), seq/s: 1, coverage: 105

it could print

elapsed,calls,calls_per_sec,seq_per_s,coverage
3,4122,1373,14,102
6,6048,641,6,105
9,6473,141,1,105
@aviggiano
Copy link
Author

Maybe this is better suited here: crytic/fuzz-utils#45

@0xalpharush
Copy link
Contributor

It is pretty straightforward to extract this info with regex from the log. The tracking of unique PC's was added here but we may not always use or track this metric ff587c3

@aviggiano
Copy link
Author

True, I don't think this feature is useful enough to be included on the fuzzer

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

No branches or pull requests

2 participants