Commit Graph

13 Commits

Author SHA1 Message Date
Lokathor 2a125c2173 rustfmt 2020-10-13 12:16:40 -06:00
Soveu 52b17b84cd 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 41abf04f28 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 24737546d3 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 12054cc899 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 7e57ee3a07 Fix the fuzzers that stopped compiling (#91) 2020-07-28 17:05:11 +02:00
Soveu 820dbc4c85 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 032ac155c9 cargo fmt hasn't been used in a while it seems. 2020-01-19 13:02:54 -07:00
Andreas Molzer 5db2b64f78 Fix the fuzz target
Was broken due to renaming in c74c1e3785.
2020-01-18 13:36:46 +01:00
Lokathor 50b84c54b1 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 8780cb5fe1 Extend methods run through arbitrary-model-tests 2020-01-13 19:57:28 +01:00
Wim Looman ea17f80919 Add fuzzing of TinyVec as well 2020-01-12 14:03:52 +01:00
Wim Looman a69a5aab0d Add basic arbitrary-model-tests based fuzzing 2020-01-12 13:54:05 +01:00