summaryrefslogtreecommitdiff
path: root/src/test/fuzz
AgeCommit message (Collapse)Author
2019-01-16Bump copyright date to 2019Nick Mathewson
2018-12-12Fuzzing module for various string operations, currently focusing onNick Mathewson
encoding and decoding. There are bunches of places where we don't want to invest in a full fuzzer, but we would like to make sure that some string operation can handle all its possible inputs. This fuzzer uses the first byte of its input to decide what to do with the rest of the input. Right now, all the possibilities are decoding a string, and seeing whether it is decodeable. If it is, we try to re-encode it and do the whole thing again, to make sure we get the same result. This turned up a lot of bugs in the key-value parser, and I think it will help in other cases too. Closes ticket 28808.
2018-12-05Merge branch 'prop293_squashed'Nick Mathewson
2018-12-03Keep list of dirauth flags in sync between dirvote.c and fuzz_vrs.cNick Mathewson
Suggested by Teor on PR
2018-11-14Move buffers.c out of lib/containers to resolve a circularity.Nick Mathewson
2018-11-05Use subsystems manager for subsystems used in tests.Nick Mathewson
2018-11-05Move the code that knows our tor version into a lowest-level libNick Mathewson
2018-10-31Merge branch 'networkstatus_mmap' into networkstatus_mmap_mergeNick Mathewson
2018-10-01Remove routerparse include from files that dont use itNick Mathewson
2018-10-01Remove versions.h include from routerparse.hNick Mathewson
2018-10-01extract networkstatus parsing to its own file.Nick Mathewson
2018-10-01Split microdescriptor parser into its own file.Nick Mathewson
2018-10-01Move v2 hs parsing into feature/rendNick Mathewson
2018-10-01Split the authority-cert and signature/hash code from routerparseNick Mathewson
2018-10-01Extract logic for dumping unparseable junk from routerparse.cNick Mathewson
2018-10-01Move routerparse and parsecommon to their own module.Nick Mathewson
2018-09-25Move key-loading and crosscert-checking out of feature/relayNick Mathewson
This is also used by onion services, so it needs to go in another module.
2018-09-21Split directory.c code into several modulesNick Mathewson
Parts of this C file naturally belong in dircache, dirclient, and dircommon: so, move them there.
2018-09-11Revise networkstatus parsing code to use lengthsNick Mathewson
This way the networkstatus can be parsed without being NUL-terminated, so we can implement 27244 and mmap our consensus objects.
2018-09-11Stop memcpy'ing uncompressed consensuses when making diffsNick Mathewson
2018-09-11Consdiff: use lengths on inputs so they don't need NUL at the endNick Mathewson
This is part of #27244, so that we can safely mmap consensus documents.
2018-09-07Merge remote-tracking branch 'dgoulet/ticket20700_035_03'Nick Mathewson
2018-09-07hs-v3: Refactor the descriptor decryption/decodingSuphanat Chunhapanya
This commit refactors the existing decryption code to make it compatible with a new logic for when the client authorization is enabled. Signed-off-by: David Goulet <dgoulet@torproject.org>
2018-07-31Merge branch 'nss_dh_squashed' into nss_dh_squashed_mergedNick Mathewson
2018-07-17Merge branch 'maint-0.3.4'Nick Mathewson
2018-07-17Fix build to work with --disable-unittests againrl1987
2018-07-13Make nss get initialized before we fuzz anything.Nick Mathewson
2018-07-12Add fuzzing wrapper for fetch_from_buf_socks()Nick Mathewson
2018-07-11Rename crypto.c to crypto_cipher.c (since that's all it still has.)Nick Mathewson
2018-07-11Make our crypto library symbolic in the makefiles.Nick Mathewson
2018-07-10Rename torlog.[ch] to log.[ch]Nick Mathewson
Fun fact: these files used to be called log.[ch] until we ran into conflicts with systems having a log.h file. But now that we always include "lib/log/log.h", we should be fine.
2018-07-05Fix every include path changed in the previous commit (automated)Nick Mathewson
I am very glad to have written this script.
2018-07-05Remove util.hNick Mathewson
Inline its contents (which were all includes) into or.h, and some of its contents into other places that didn't include or.h at all.
2018-07-01Extract various enums and tiny structs from or.hNick Mathewson
These all have a logical header to go in.
2018-07-01Minimize headers that include crypto_formats and x25519 stuffNick Mathewson
2018-07-01Remove needless includes from or.hNick Mathewson
or.h should really include only the minimum of stuff from or/*, common/*, and lib/*.
2018-07-01Tabify all of the .am files.Nick Mathewson
2018-06-28Fix paths for buffers.h; automated.Nick Mathewson
2018-06-28Fix up the modules that include memarea.h (automated)Nick Mathewson
2018-06-27Link GetAdaptersAddresses, rather than loading it on-demand.Nick Mathewson
This function has been present since Windows XP.
2018-06-22Automated fixup of include paths after torlog.h movement.Nick Mathewson
2018-06-21Rectify include paths (automated)Nick Mathewson
2018-06-21Rectify include paths (automated)Nick Mathewson
2018-06-21Refactor makefiles to keep list of internal libraries in one place.Nick Mathewson
This change makes it possible for us to change the list of libraries more easily, without changing every single linker line.
2018-06-20Run rectify_include_paths.pyNick Mathewson
2018-06-20Update copyrights to 2018.Nick Mathewson
2018-06-15Extract networkstatus_t and ..sr_info_t into their own headersNick Mathewson
2018-06-15Split vote_{microdesc_hash,routerstatus}_t into their own headersNick Mathewson
2018-06-15Split socks_request_t into its own header.Nick Mathewson
2018-06-15Extract rend_service_descriptor_t into its own header.Nick Mathewson