Commit Graph

20 Commits

Author SHA1 Message Date
Jakub Jelen f5dbd469c6
libssh: Enable support for none ciphers to unbreak build (#3770)
* libssh: Enable support for none ciphers to unbreak build

https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=22074

* Add a new include for libssh_version.h

https://gitlab.com/libssh/libssh-mirror/-/merge_requests/116
2020-05-07 05:29:33 -07:00
Jakub Jelen 06613a22a5
libssh: Build all fuzzers in source directory (#3734)
Do it in separate work directory and prepare for corpus inclusion

Signed-off-by: Jakub Jelen <jjelen@redhat.com>
2020-04-29 10:38:12 -07:00
Max Moroz 71f4914c45
[presubmit] Enforce language attribute in project.yaml to be always set. (#3477)
* [presubmit] Enforce language attribute in projectt.yaml to be always set.

* Update documentation, better presubmit check, new project template.

* add docstring to templates.py

* Add example values in the project.yaml template and remove python value for now

* Add "project: c++" to 256 projects

* format

* Add labels and selective_unpack sections to the presubmit check

* fix incorrect auto_ccs format in three projects

* fix nss emails after rebase
2020-03-10 11:08:01 -07:00
Andreas Schneider 14bd043a8c [libssh] Fix building libssh as a static library (#3020) 2019-11-09 07:08:42 -08:00
Andreas Schneider 48c079da32 [libssh] Add Jakub and enable msan (#2863)
* [libssh] Enable msan

Signed-off-by: Andreas Schneider <asn@cryptomilk.org>

* [libssh] Add Jakub Jelen to the project

Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
2019-09-20 05:54:31 -07:00
Andreas Schneider 44bda90444 [libssh] Add the libssh client fuzzer (#2581)
* [libssh] Clone the repository with depth=1

* [libssh] Add a client fuzzer
2019-07-09 07:03:49 -07:00
jonathanmetzman 3049c50d48
Migrate projects using -lFuzzingEngine to $LIB_FUZZING_ENGINE (#2325)
Migrate from -lFuzzingEngine to $LIB_FUZZING_ENGINE where possible and not causing breakage
2019-05-01 11:09:55 -04:00
Andreas Schneider db0f079f9e [libssh] Fix include path (#1230)
Fix #1161
2018-03-10 13:35:45 -08:00
Abhishek Arya f51acfafc2
Fixes #1161 2018-02-15 07:17:31 -08:00
Andreas Schneider b27bf929a7 [libssh] The ssh_server_fuzzer code is in the source directory (#1165)
Fixes #1161
2018-02-15 06:54:49 -08:00
Oliver Chang f12183bc18
Update build.sh 2018-02-09 10:29:11 +11:00
Andreas Schneider af7278b21a libssh: Use the fuzzer from the source code (#1135)
The fuzzer has been integrated into the source code. It is also compiled
there linking against libFuzzer.a from the clang project. However it
seems that oss-fuzz uses its own library so we still need to create the
executable on our own here and can't let cmake do it.
2018-02-05 07:54:37 -08:00
Max Moroz 9d2d8741d0 [libssh] Disable MSan since dependencies are not instrumented properly (#820). 2017-09-07 15:18:16 -07:00
Abhishek Arya 1607410bb1 Enable msan experiment on some projects. (#591) 2017-05-10 09:10:46 -07:00
Devin Jeanpierre 330386686d Use apt-get update && apt-get install, per best practices: (#561)
https://docs.docker.com/engine/userguide/eng-image/dockerfile_best-practices/

I ran into this because I was getting errors locally, like:

    E: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/d/dpkg/libdpkg-perl_1.18.4ubuntu1.1_all.deb  404  Not Found [IP: 91.189.88.149 80]

It turns out you get these if you don't update, and the official best practices are to `run apt-get update && apt-get install`. In fact, running _any_ apt-get install command without the apt-get update && before it can result in unfortunate caching artifacts -- see "cache busting". (P.S. thanks to Peng on Freenode for helping me, I'm bad at Ubuntu.)

So:
    sed -re \
        's/RUN apt-get ((-y )?(install|build-dep))/RUN apt-get update \&\& apt-get \1/' -i \
        projects/**/Dockerfile

I also manually fixed the cases that already ran apt-get update in their Dockerfile:
    dlplibs/Dockerfile
    grpc/Dockerfile
    libreoffice/Dockerfile
2017-05-01 23:31:02 -07:00
Abhishek Arya 1ed761a3b0 Update project.yaml 2017-04-20 08:17:50 -07:00
Oliver Chang 98cc8ce860 libssh: fix key file permissions
Should hopefully fix https://github.com/google/oss-fuzz/pull/418#issuecomment-295277016
2017-04-19 10:58:32 -07:00
Abhishek Arya af7251ffc0 Fix image name 2017-04-18 09:31:15 -07:00
Alex Gaynor 3aa1b52a2d [WIP] Added libssh fuzzer (#418) 2017-04-17 16:11:39 -07:00
Andreas Schneider 4518205e3b Add libssh project (#138) 2016-12-06 08:45:23 -08:00