-
Notifications
You must be signed in to change notification settings - Fork 21
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 rsass targets #119
Add rsass targets #119
Conversation
Cool, I'll look into this! Please don't hold your breath, though. I will look at it a little right now, but after that I won't have much time for about two weeks. Thank you for considering rsass for fuss testing! |
Hmm ... I seem to be missing some kind of "obvious first step" ... I get Update: Answering my own question, |
`cargo install honggfuzz` is probably what you need. (We should add that to
the Readme as well as the error message)
Rasmus Kaj <notifications@github.com> schrieb am Fr. 4. Mai 2018 um 19:42:
… Hmm ... I seem to be missing some kind of "obvious first step" ... I get error:
no such subcommand: 'hfuzz', and cargo +nightly install hfuzz finds
nothing to install. What do I need to install? I don't find any answer in
the readme of this repo, but presumably there's a main fuzz repo somewhere?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#119 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AABOX1OVuD0prHq76fzTp2BLbzao8U7Pks5tvJMdgaJpZM4Tyomb>
.
|
Hm. Still no go here. After happily compiling what seems to be most Rust code ever written :-) my command
I guess this project can also fuss |
Yeah, that's sadly a current limitation. But it's already fixed on master, so I've rebased this branch. After |
Btw, here is a quick way to reproduce some of the crashes: https://gist.github.com/killercup/579e31cc6896dfe8222b86d94c5e7787 |
Improve handling of some cases there a str::from_utf8 call might fail. Thanks to @killercup and rust-fuzz/targets#119 for pointing out the problem.
Improve handling of some cases there a str::from_utf8 call might fail. Thanks to @killercup and rust-fuzz/targets#119 for pointing out the problem.
Improve handling of some cases there a str::from_utf8 call might fail. Thanks to @killercup and rust-fuzz/targets#119 for pointing out the problem.
I havn't tried all the inputs from your gist, @killercup , but most seems to be fixed now. I won't have much more time to try out fuzz-testing in the coming weeks, but if you can provide such examples that causes current rsass to crash, I hope to be able to take a look at them. And thanks again for the initiative to fuzz-test rsass! |
Great that you could already fix some of this, @kaj! I might have a look at it myself when I have some time. Otherwise, feel free to ping me if you want to pick this up again! bors r+ |
Build failed |
Fixed the ring error in briansmith/ring#646. Wonder if we should add back that Cargo.lock file so we don't get blocked on these issues in the future. |
@frewsxcv yeah, go ahead and add that lock file. If we fuzz locally we'll detect breakages early enough, |
bors r+ |
Build failed |
120: Add Cargo.lock to prevent compilation failures from upstream API changes. r=frewsxcv a=frewsxcv See also: - #119 (comment) - #99 Co-authored-by: Corey Farwell <coreyf@rwell.org>
bors r+ |
Build succeeded |
A default run of sass-spec found 1661 of 3482 tests passing. Changes since version 0.8.0 includes: * PR #24: Implement a Rgba type and use in css::Value and sass::Value. * PR #22: Partial support for `@at-root`. Supports `&` back-refs but not `with` and `without`. * Add "foo/index.scss" and "foo/_index.scss" when attempting to find "foo" for import. * The parser should fail rather than crash on some non-utf8 input. * PR #21: Introduce a Number type, mainly for sharing some abstraction between css and sass values. * Make the `rgba` function handle non-numeric inputs (e.g. calc(...)). * Implement the `feature-exists` function. * Make `!important` part of value rather than property, so it can be used in fuction / mixin arguments etc. * A css3 pseudo-element selector may have arguments. * Add support for unicode ranges. * The `@each` construct can bind multipe values. * PR #20: Division is now a BinOp rather than a special case. * Minor improvement in parsing and formatting at-rules. * Fix some clippy complaints. * Minor documentation updates. * Some updates to travis build script and test structure. * Add appveyour (windows) continous integration testing. * Depedency updates: num-rational 0.2.1, nom 4.0 (PR #23) and rand 0.5. Thanks to @killercup and rust-fuzz/targets#119 for identifying some parser crashes on non-utf8 input.
* Fix #25; Avoid crashing on some non-utf8 input. Thanks again to @killercup and rust-fuzz/targets#119 for identifying more parser crashes on non-utf8 input.
Currently finds >50 unique crashes (according to honggfuzz)!