This repository has been archived by the owner on Nov 6, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Commits on Jul 25, 2017
-
Added cargo-fuzz tests for Rlp crate
Set up some fuzz test harnesses for the UntrustedRlp struct and RlpStream's append_raw function.
Configuration menu - View commit details
-
Copy full SHA for 1bb6244 - Browse repository at this point
Copy the full SHA 1bb6244View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2ae9599 - Browse repository at this point
Copy the full SHA 2ae9599View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5d00521 - Browse repository at this point
Copy the full SHA 5d00521View commit details -
Conditional compitlation for nightly builds
Only attempt to compile fuzz tests using a nightly compiler
Configuration menu - View commit details
-
Copy full SHA for d059d69 - Browse repository at this point
Copy the full SHA d059d69View commit details -
Wrap fuzz tests with nightly feature
Wrap the entire source files for fuzz tests in the nightly feature. Meaning tests will only be included in compilation when using a nightly compiler.
Configuration menu - View commit details
-
Copy full SHA for e2799de - Browse repository at this point
Copy the full SHA e2799deView commit details -
Configuration menu - View commit details
-
Copy full SHA for 40dc411 - Browse repository at this point
Copy the full SHA 40dc411View commit details -
Re-checked macro syntax, and changed to match correct syntax.
Configuration menu - View commit details
-
Copy full SHA for 17bd401 - Browse repository at this point
Copy the full SHA 17bd401View commit details -
Included `nightly` feature for entire fuzz test files, excluding their compilation during stable builds.
Configuration menu - View commit details
-
Copy full SHA for 5373ba4 - Browse repository at this point
Copy the full SHA 5373ba4View commit details -
Removed useless code from version cases
Some code setting rustc config lines were unnecessary and removed. At the moment, only the `nightly` feature is enabled when running fuzz tests with `cargo fuzz run <test>` and a nightly compiler.
Configuration menu - View commit details
-
Copy full SHA for 34fb2bc - Browse repository at this point
Copy the full SHA 34fb2bcView commit details -
UntrustedRlp Fuzz test for lists and data parsing
For UntrustedRlp to be processed as a list, one needs to prepend the data with the byte `0xc-` where `-` is the number of items in the list. Currently using the length of the fuzz data stream as the number of items in the UntrustedRlp list.
Configuration menu - View commit details
-
Copy full SHA for 3766434 - Browse repository at this point
Copy the full SHA 3766434View commit details
Commits on Jul 27, 2017
-
Recursive fuzzing over RLPStreams
Added an algorithm `iter_recursive()` to iterate recursively over the entire RLP structure. Also created a tool `gen_untrusted_corpus.rs` for generating valid RLP structured data to make the fuzzing process more efficient.
Configuration menu - View commit details
-
Copy full SHA for fbc3436 - Browse repository at this point
Copy the full SHA fbc3436View commit details
Commits on Jul 28, 2017
-
Cleaned up writing corpus file
Separated writing the RLP stream to its own function, and build the file path using PathBuf.
Configuration menu - View commit details
-
Copy full SHA for 728e3e1 - Browse repository at this point
Copy the full SHA 728e3e1View commit details
Commits on Aug 3, 2017
-
Configuration menu - View commit details
-
Copy full SHA for c3d80a8 - Browse repository at this point
Copy the full SHA c3d80a8View commit details -
Added libFuzzer dict & improved fuzz harness
libFuzzer uses dictionaries of keywords to mutate/generate new strings. I added a six-entry dictionary of sample RLP streams found in the Ethereum documentation. Also removed recursive iteration from the fuzz test, replacing it with multiple calls to `as_val()` decoding the `UntrustedRlp`'s base value as various types. HUGE boost in code coverage with only a relatively small cost to executions/second.
Configuration menu - View commit details
-
Copy full SHA for 5b84221 - Browse repository at this point
Copy the full SHA 5b84221View commit details -
Configuration menu - View commit details
-
Copy full SHA for 25b74cd - Browse repository at this point
Copy the full SHA 25b74cdView commit details -
Configuration menu - View commit details
-
Copy full SHA for e3151fb - Browse repository at this point
Copy the full SHA e3151fbView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3786e22 - Browse repository at this point
Copy the full SHA 3786e22View commit details
Commits on Aug 14, 2017
-
Configuration menu - View commit details
-
Copy full SHA for a7f2279 - Browse repository at this point
Copy the full SHA a7f2279View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0d23592 - Browse repository at this point
Copy the full SHA 0d23592View commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.