Commit Graph

10 Commits

Author SHA1 Message Date
Chun-wei Fan d9095bbe03 autotools builds: Enable Windows builds
We now check for whether the build is done on Windows, so that:
-We link to -lws2_32, which is necessary for the networking functions
 on Windows.
-We default to using libicu on Windows for the runtime and builtins,
 as the code using libidn and libidn2 use stuff from langinfo.h, which
 is not available on Windows.
-We do not build and run the tests under fuzz/ as Windows does not have
 fmemopen().

This enables the code to be built on Windows via MinGW.
2018-04-19 11:23:38 +08:00
Dagobert Michelsen 27614b6b35 Remove unconditional setting of GCC-specific flag 2018-01-16 15:56:24 +01:00
Tim Rühsen ecc3914172 Fix link libraries for oss-fuzz static building 2017-07-15 12:31:53 +02:00
Tim Rühsen 3f03987897 Fix fuzz/ regression tester building 2017-07-13 15:39:46 +02:00
Tim Rühsen 631362d3d0 Fuzz all types of builds (idn2, idn, icu, none) 2017-07-12 15:37:35 +02:00
Tim Rühsen d583db99b8 Update oss-fuzz target for static linking 2017-07-08 18:02:52 +02:00
Tim Rühsen e20e6f369b Add clang's CFI instrumentation
Add --enable-cfi ./configure option to enable
LLVM/Clang's Control Flow Integrity for builds.

CFI aborts a program upon detecting certain forms of undefined behavior
that can potentially allow attackers to subvert the program’s control flow.
2017-06-19 17:14:29 +02:00
Tim Rühsen f304dbe324 More fuzzer improvements 2017-06-14 12:48:58 +02:00
Tim Rühsen 666c07b364 New fuzz/libpsl_load_fuzzer.c plus corpus directory 2017-06-14 09:49:07 +02:00
Tim Rühsen f41c6aaf63 Add fuzzing architecture 2017-06-09 16:27:37 +02:00