Commit Graph

13 Commits

Author SHA1 Message Date
Lokathor 4ca258a5ca rustfmt 2020-10-13 12:16:40 -06:00
Soveu ed749ef260 SliceVec fuzzer + overflow fix on usize::MAX ranges (#99)
* add slicevec fuzzer

* prevent overflow on range calculation
2020-08-09 10:45:19 -06:00
Soveu 4f976c9b45 Fuzz Fuzz Fuzz (#98)
* more features for fuzzing

* arrayveciter fuzzer + overflow fix

* moar fuzzers and tinyvecdrain change

* cargo fmt

* Self on enums is not stable in 1.36

* 🐞 BUGFIX: ArrayVecIterator::nth_back

* cargo fmt
2020-08-02 14:40:13 -06:00
Sergey "Shnatsel" Davidoff 18af1a3959 Expand fuzzing coverage (#95)
* Also cover reserve, reserve_exact and shrink_to_fit by fuzzing. SmallVec had a use-after-free bug in shrink_to_fit inlining so we'd better test this

* Also test extend_from_slice on tinyvec and arrayvec
2020-07-31 21:04:57 +02:00
Sergey "Shnatsel" Davidoff 4c5fbbf907 Fuzz: drop workarounds for operations that may panic (#92)
Fuzz: drop workarounds for operations that may panic now that rutenspitz compares panic behavior
2020-07-29 15:40:12 +02:00
Jakub Wieczorek 5758549693 Fix the fuzzers that stopped compiling (#91) 2020-07-28 17:05:11 +02:00
Soveu 102439ef9d A bit of everything for iterators (#87)
* slight changes functions that use drain

* bug in arrayvec iter

* reverse iter for arrayvec

* nth_back is stable since 1.37

* simpler drain for arrayvec

* soveu forgot to add changed files

* fmt + feature for rustc >= 1.40

* cosmetic changes

* does the ci work now?

* SHNAAAAAAAAATSEEEEEEEEL
2020-07-23 13:28:01 -06:00
Lokathor 641590223e cargo fmt hasn't been used in a while it seems. 2020-01-19 13:02:54 -07:00
Andreas Molzer 14fd50648b Fix the fuzz target
Was broken due to renaming in 85377b6815.
2020-01-18 13:36:46 +01:00
Lokathor d3b27fa49c docs and rename the feature to alloc
Closes https://github.com/Lokathor/tinyvec/issues/18
We could discuss the "goals" section more of course, but for now it's enough to call that issue closed.
2020-01-13 19:55:38 -07:00
Wim Looman 4d93c5ce93 Extend methods run through arbitrary-model-tests 2020-01-13 19:57:28 +01:00
Wim Looman 16de650552 Add fuzzing of TinyVec as well 2020-01-12 14:03:52 +01:00
Wim Looman 33c6a8cfad Add basic arbitrary-model-tests based fuzzing 2020-01-12 13:54:05 +01:00