aboutsummaryrefslogtreecommitdiff
path: root/tests/fuzz/CMakeLists.txt
AgeCommit message (Collapse)AuthorFilesLines
2023-11-22fuzz: Add key files fuzzersJakub Jelen1-0/+2
Signed-off-by: Jakub Jelen <jjelen@redhat.com> Reviewed-by: Sahana Prasad <sahana@redhat.com> Reviewed-by: Eshan Kelkar <eshankelkar@galorithm.com>
2022-02-10fuzz: Add a testcase for each fuzzer with a corpusJakub Jelen1-1/+9
Signed-off-by: Jakub Jelen <jjelen@redhat.com> Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
2022-02-10fuzz: Add known_hosts file fuzzerJakub Jelen1-0/+1
Signed-off-by: Jakub Jelen <jjelen@redhat.com> Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
2022-02-08fuzz: Get rid of cpp mess in fuzzersJakub Jelen1-1/+1
Signed-off-by: Jakub Jelen <jjelen@redhat.com> Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
2021-11-10tests: Introduce bind configuration fuzzerJakub Jelen1-0/+1
Signed-off-by: Jakub Jelen <jjelen@redhat.com> Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
2021-11-02client configuration fuzzing and fixesStanislav Zidek1-0/+1
Signed-off-by: Stanislav Zidek <szidek@redhat.com> Reviewed-by: Andreas Schneider <asn@cryptomilk.org> Reviewed-by: Jakub Jelen <jjelen@redhat.com>
2020-05-05fuzz: Simplify definition of fuzzing targets and build them also with gccJakub Jelen1-21/+18
Signed-off-by: Jakub Jelen <jjelen@redhat.com> Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
2019-11-07cmake: Rename static libraryAndreas Schneider1-2/+2
This is only compiled for tests and fuzzers! Signed-off-by: Andreas Schneider <asn@cryptomilk.org> Reviewed-by: Anderson Toshiyuki Sasaki <ansasaki@redhat.com>
2019-07-08tests: Add ssh_client_fuzzerAndreas Schneider1-0/+11
Signed-off-by: Andreas Schneider <asn@cryptomilk.org> Reviewed-by: Jakub Jelen <jjelen@redhat.com>
2019-07-08ctest: Run the ssh_server_fuzzer to check it worksAndreas Schneider1-0/+3
Signed-off-by: Andreas Schneider <asn@cryptomilk.org> Reviewed-by: Jakub Jelen <jjelen@redhat.com>
2019-07-08cmake: We don't have to define the ssh link librariesAndreas Schneider1-2/+1
Signed-off-by: Andreas Schneider <asn@cryptomilk.org> Reviewed-by: Jakub Jelen <jjelen@redhat.com>
2019-07-04cmake: Fix building the ssh_server_fuzzerAndreas Schneider1-0/+4
Signed-off-by: Andreas Schneider <asn@cryptomilk.org> Reviewed-by: Anderson Toshiyuki Sasaki <ansasaki@redhat.com>
2018-08-03threads: Automatically call ssh_init on loadAnderson Toshiyuki Sasaki1-4/+0
This makes unnecessary to call ssh_init() when the library is dynamically loaded. Also removes the threads shared library. The used threads implementation is chosen in configuration time, changing the ssh_threads_get_default() depending on the available threads library. Internally, it is expected a threads implementation providing: - void ssh_mutex_lock(void **mutex); - void ssh_mutex_unlock(void **mutex); - struct ssh_threads_callbacks_struct *ssh_threads_get_default(void); and a crypto implementation providing: - int crypto_thread_init(struct ssh_threads_callbacks_struct *user_callbacks); - void crypto_thread_finalize(void); This adds internal threads implementation for pthreads and noop. Signed-off-by: Anderson Toshiyuki Sasaki <ansasaki@redhat.com> Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
2018-04-10cmake: Fix libfuzzer linking with clang6Andreas Schneider1-6/+10
This is always available using -fsanitize=fuzzer now. Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
2018-02-04cmake: Build ssh_server_fuzzer if enabledAndreas Schneider1-0/+9
Fixes T67 Signed-off-by: Andreas Schneider <asn@cryptomilk.org>