<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/tor-bytes/fuzz, branch arti-v1.4.2</title>
<subtitle>mirror of https://gitlab.torproject.org/tpo/core/arti
</subtitle>
<id>http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v1.4.2</id>
<link rel='self' href='http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v1.4.2'/>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/'/>
<updated>2024-09-11T13:19:19Z</updated>
<entry>
<title>tor-bytes: Add a Reader constructor for use in tests</title>
<updated>2024-09-11T13:19:19Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2024-09-11T12:04:46Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=98e563764b428e4f1aa87dc34e5fa6b5cf296938'/>
<id>urn:sha1:98e563764b428e4f1aa87dc34e5fa6b5cf296938</id>
<content type='text'>
We could call from_possibly_incomplete_slice in these, but that's
confusing and distracting.

Here we add this constructor, and document it (in terms of the
constructor to come), and change the call sites.

No functional change.  Doing this now will prevent unwanted changes to
test behaviours when we change the behaviour of Readers made by
Reader::from_slice.
</content>
</entry>
<entry>
<title>Change tor_bytes::Readable name to `b` in many places</title>
<updated>2024-09-11T12:22:39Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2024-09-10T14:34:52Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=040db873ed95f9d24ed9d0162d75b9c8a11e457f'/>
<id>urn:sha1:040db873ed95f9d24ed9d0162d75b9c8a11e457f</id>
<content type='text'>
The codebase uses `r` sometimes and `b` at other times.
Making this consistent makes widespread changes easier, and is
clearer for humans.

I think `b` is better than `r` because `r` might be "return".
It is indeed used that way in a couple of places in reader.rs, even.

I haven't changed *everywhere*, just Readable impls (where `r` is
particularly likely to be "return value") and occurrences in
tor-bytes.

No functional change.
</content>
</entry>
<entry>
<title>tor-bytes: Add take_rest and read_nested_* to fuzzer.</title>
<updated>2023-03-06T17:39:57Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2023-03-06T17:39:57Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=9cc09f97a9df01e4a7ac48f42a1bcce5d4d80310'/>
<id>urn:sha1:9cc09f97a9df01e4a7ac48f42a1bcce5d4d80310</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Do not .gitignore crates/*/fuzz/corpus</title>
<updated>2023-01-20T17:29:00Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2023-01-20T16:50:37Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=4e6f5b7ff3dbdd9dbd17d857970aff1061ea2318'/>
<id>urn:sha1:4e6f5b7ff3dbdd9dbd17d857970aff1061ea2318</id>
<content type='text'>
These are symlinks which are actually checked in.  They should not be
ignored.  (This caused trouble for some of my privsep tooling...)
</content>
</entry>
<entry>
<title>set all crate edition to 2021</title>
<updated>2022-10-31T23:17:33Z</updated>
<author>
<name>trinity-1686a</name>
<email>trinity@deuxfleurs.fr</email>
</author>
<published>2022-10-31T23:06:13Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=d29f38603d8c05bea0a54a671e5f329bec4fb699'/>
<id>urn:sha1:d29f38603d8c05bea0a54a671e5f329bec4fb699</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Upgrade all fuzzers to newer libfuzzer-sys version.</title>
<updated>2022-10-03T18:35:34Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2022-10-03T18:35:34Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=128fb76c73cc57d89285065cfd8dc29382d30ccf'/>
<id>urn:sha1:128fb76c73cc57d89285065cfd8dc29382d30ccf</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Exclude tor-bytes fuzzing helper code from tarpaulin coverage.</title>
<updated>2021-09-07T17:30:53Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2021-09-07T17:30:53Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=353a16ce7e088cb1868a25022e728c071695a74a'/>
<id>urn:sha1:353a16ce7e088cb1868a25022e728c071695a74a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Update corpus and links.</title>
<updated>2021-09-07T16:32:50Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2021-09-07T16:32:50Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=358b3e1ea0797761e02620db112e5696a77f2c3c'/>
<id>urn:sha1:358b3e1ea0797761e02620db112e5696a77f2c3c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fix bugs in last fuzzer code.</title>
<updated>2021-09-07T16:29:28Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2021-09-07T16:29:28Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=f0de653af1ccf8a6ab1cfd5d453a661ff70a3a14'/>
<id>urn:sha1:f0de653af1ccf8a6ab1cfd5d453a661ff70a3a14</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Improvements to array-of-u8 handling in tor-bytes.</title>
<updated>2021-09-07T13:46:54Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2021-09-07T13:40:29Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=97692e3cc280bc1930474e58dbaba142b2f99429'/>
<id>urn:sha1:97692e3cc280bc1930474e58dbaba142b2f99429</id>
<content type='text'>
Now that we have const generics, we can use them.  We can also avoid
an extra clone in the implementation for [u8; N].

Nothing in our codebase requires that we use Reader or Writer on a
GenericArray holding anything other than u8, so I've switched back
to the more efficient implementation there.

I've added a fuzzer case for the new method, but apparently rustc nightly isn't working too
well with fuzzers for me; I'm going to try it tomorrow.
</content>
</entry>
</feed>
