Commit Graph

8 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 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
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