Commit Graph

13 Commits

Author SHA1 Message Date
Peter Wu f2b4a02601 [wireshark] fix build, simplify build configuration (#1895)
Since Wireshark v2.9.0rc0-2266-g7e88bb5e53, building fuzzing binaries is
better integrated in the Wireshark build system. While that change was
supposed to be backwards compatible, unfortunately the resulting fuzzer
binaries are dynamically linked due to how cmake caches library paths.
The very first cmake invocation must be invoked with -DOSS_FUZZ=ON.

Changes:
- Use ninja for better control of parallel linker jobs.
- Installing files (make install) is no longer needed.
- Avoid setting a long list of cmake options (BUILD_xxx=OFF).
- Remove fortify comment, it does not belong here.
- Remove lemon workaround, it is fixed since v2.9.0rc0-2273-gbb2caa2a9f.
2018-10-22 09:11:59 -07:00
jwzawadzki b948d87d16 [wireshark] fix build issue (#1347) (#1350)
Dario Lombardo removed autotools support in https://code.wireshark.org/review/26969,
convert to cmake build system.
2018-04-22 08:35:07 -07:00
jwzawadzki d1f7fa7e2a [wireshark] Add myself to project.yaml (#1127) 2018-01-30 10:03:08 -08:00
jwzawadzki 8d5d43af29 [wireshark] disable bulding fuzzshark (#1029)
I added auto-building fuzzshark to wireshark, to avoid oss-fuzz build being broken,
but it actually broke the build:

Step #3:   CC       tools/oss-fuzzshark/fuzzshark-fuzzshark.o
Step #3:   CC       tools/oss-fuzzshark/fuzzshark-StandaloneFuzzTargetMain.o
Step #3:   CCLD     fuzzshark
Step #3: /usr/bin/ld: epan/.libs/libwireshark.a(packet-ipsec.o): undefined reference to symbol 'gpg_strerror@@GPG_ERROR_1.0'
Step #3: //lib/x86_64-linux-gnu/libgpg-error.so.0: error adding symbols: DSO missing from command line
Step #3: clang-6.0: error: linker command failed with exit code 1 (use -v to see invocation)
Step #3: Makefile:1821: recipe for target 'fuzzshark' failed
2017-12-10 17:26:53 -08:00
jwzawadzki 9b135f5d12 [wireshark] fix build issue [#919] (#923)
configure option was changed from --without-plugins to --disable-plugins (https://code.wireshark.org/review/24026).
2017-10-26 11:13:47 -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
jwzawadzki 68dfd93ed6 wireshark: move building fuzzers to wireshark repository. (#544) 2017-04-24 09:57:53 -07:00
jwzawadzki 1829a50342 Wireshark: generate fuzzers for: OSPF, BGP, DNS, BOOTP and JSON dissectors. (#533) 2017-04-18 14:05:54 -07:00
jwzawadzki d3d4c713cc Wireshark: disable building with -D_FORTIFY_SOURCE=2 (#536) 2017-04-17 13:26:46 -07:00
jwzawadzki f47d28a582 Initial version of wireshark integration with oss-fuzz. (#532)
In initial version compile two fuzzers: fuzzshark_dissector_ip and fuzzshark_dissector_udp.
2017-04-15 16:22:54 -07:00
Roland Knall a4a436883b Add new email to wireshark project config (#208)
Add Roland Knall to the CC list as wireshark core developer
2016-12-20 05:54:09 -08:00
Dario Lombardo 68be12fced Add new email to wireshark. (#207)
Add Dario Lombardo to the CC list as wireshark core developer.
2016-12-20 05:44:35 -08:00
Moshe Kaplan 0f88acb939 Add Wireshark (#161)
* Add Wireshark

* Update project.yaml

* Update project.yaml

* Update project.yaml
2016-12-19 18:15:19 -08:00