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 initial fuzz target: mp4parse. #1

Merged
merged 1 commit into from
Mar 2, 2017
Merged

Add initial fuzz target: mp4parse. #1

merged 1 commit into from
Mar 2, 2017

Conversation

frewsxcv
Copy link
Member

@frewsxcv frewsxcv commented Mar 2, 2017

No description provided.

@frewsxcv frewsxcv merged commit 647d5f7 into master Mar 2, 2017
@frewsxcv frewsxcv deleted the mp4paarse branch March 2, 2017 02:38
@Manishearth
Copy link
Member

How do these get run?

@frewsxcv
Copy link
Member Author

frewsxcv commented Mar 2, 2017

cargo rustc -- -C passes='sancov' -C llvm-args='-sanitizer-coverage-level=3' -Z sanitizer=address

@frewsxcv
Copy link
Member Author

frewsxcv commented Mar 2, 2017

CI is coming.

@Manishearth
Copy link
Member

We should probably check in a script that lets you fuzz these (or somehow make it work with cargo-fuzz)

Also, shouldn't we use RUSTFLAGS? otherwise mp4parse won't be instrumented.

@frewsxcv
Copy link
Member Author

frewsxcv commented Mar 2, 2017

Is setting RUSTFLAGS required to instrument?

@Manishearth
Copy link
Member

Yes, without it only your fuzz script will be instrumented, so the fuzzer can't be as smart about it

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