aboutsummaryrefslogtreecommitdiff
path: root/src/test/fuzz
AgeCommit message (Collapse)Author
2020-09-18Renerate src/test/fuzz/include.amNick Mathewson
2020-07-15Add support for patterns on %include #25140Daniel Pinto
Also adds generic tor_glob function to expand globs.
2020-07-08trace: Add LTTng-UST interface supportDavid Goulet
No probes at this point. They are per subsystem and thus in later commits. Part of #32910
2020-01-21Turn hs_subcredential_t into a proper struct.Nick Mathewson
2020-01-08It's 2020. Update the copyright dates with "make update-copyright"Nick Mathewson
2019-12-04practracker: Add missing .may_include filesteor
All of these files contain "*.h", except for: * src/app/config/.may_include * src/test/.may_include which also contain "*.inc". This change prevents includes of "*.c" files, and other unusually named files. Part of 32609.
2019-09-30Re-run "make autostyle" with improved annotate_ifdef_directivesNick Mathewson
2019-09-30Merge branch 'tor-github/pr/1356'George Kadianakis
2019-09-25test: Use SEVERITY_MASK_IDX() to find the LOG_* mask indexesteor
In the unit tests and fuzzers. Fixes bug 31334; bugfix on 0.2.5.2-alpha.
2019-09-23fix: Ticket #31589AmreshVenugopal
- The function `decrypt_desc_layer` has a cleaner interface. - `is_superencrypted_layer` changed from `int` -> `bool` [ticket details](https://trac.torproject.org/projects/tor/ticket/31589) add(changes/*): changes file fix(src/features/hs): is_superencrypted changed from `int` -> `bool` fix(changes/ticket31589): header add(changes/ticket31589): subsystem(onion services) to change
2019-08-28Refactor config free logic to use a single path.Nick Mathewson
The right way to free a config object is now to wrap config_free(), always. Instead of creating an alternative free function, objects should provide an alternative clear callback to free any fields that the configuration manager doesn't manage. This lets us simplify our code a little, and lets us extend the confparse.c code to manage additional fields in config_free.
2019-07-24Use config_new() to construct configuration objects.Nick Mathewson
We'll need to do it this way once the objects become more complex.
2019-06-05Run "make autostyle."Nick Mathewson
2019-05-01Merge remote-tracking branch 'tor-github/pr/950'Nick Mathewson
2019-04-30Merge branch 'tor-github/pr/980'David Goulet
Signed-off-by: David Goulet <dgoulet@torproject.org>
2019-04-25Add fuzzing support for several more groups of kvlines flagsNick Mathewson
2019-04-15Fix shellcheck warnings in fixup_filenames.shrl1987
2019-04-12Fix remaining shellcheck warnings in fuzz_multi.shrl1987
2019-04-12Add shebang line to fuzz_multi.sh (fixes SC2148)rl1987
2019-04-08Fix SC2006 in minimize.shrl1987
2019-02-26Merge branch 'tor-github/pr/611'George Kadianakis
2019-01-16Bump copyright date to 2019Nick Mathewson
2018-12-20Add base32 to the round-trip fuzzerNick 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