| Commit message (Collapse) | Author | Age |
|
|
|
| |
Fix a memory leak and an issue (re)-introduced in configure script
|
|
|
|
| |
Should fix ossfuzz build
|
|
|
|
| |
Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
|
| |
|
|
|
|
|
|
|
|
|
| |
* Added compiler search list for AC_PROG_CC, AM_PROG_CC_C_O, AC_PROG_CXX, AC_PROG_CC_STDC
for Mac OS X only
The list rendered the AX_CHECK_COMPILE_FLAG([-fsanitize=fuzzer]) useless as it did use
clang for AX_CHECK_COMPILE_FLAG but gcc during the compile process. Seems broken somehow.
Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
|
|
|
|
|
|
|
| |
./tests/do.sh can supports SMP/MT via environment variables.
Removed -fno-sanitize=shift as well, was fixed by 317d3ffd.
Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
|
| |
|
| |
|
|
|
|
| |
Fixes warning
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* renamed --with-llvm-sanitizer to --with-sanitizer
* disable all optimisations (-O0) if --with-sanitizer set,
no functions/paramaters/variables will be optimised, improves debugging
* enable undefined behaviour sanitizer (ubsan)
* enable leak sanitizer (lsan)
* check if -fsanitize=fuzzer is available and --enable-fuzztargets set,
fail if not (only supported by clang)
* include level 3 debugging information (-g3), improves macro debugging
* disabled ubsan misaligned pointer access and lshift overflow
Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
|
|
|
|
|
|
| |
(protocol or category)
Removed hyperscan support that is apperently unused
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
To enable the leaks detector, set the ASAN_OPTIONS=detect_leaks=1
environment variable, e.g:
ASAN_OPTIONS=detect_leaks=1 example/ndpiReader -i test.pcap
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
And configur option enable-fuzztargets
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
ndpi fails to cross build from source, because configure.seed hard codes
the build architecture pkg-config. It is best to use PKG_CHECK_MODULES
instead. Please consider applying the attached patch.
See: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=939286
|
| |
|
| |
|
| |
|
|\
| |
| | |
Respect CXX variable during configure
|
| |
| |
| |
| |
| |
| |
| |
| | |
commit 6ac83ce7eb99 use CXX to link ndpiReader however CXX is not
properly set in configure step
Fixes: 6ac83ce7eb99 ("Fixes broken hyperscan compilation")
Signed-off-by: chiehminw <chiehminw@synology.com>
|
|/
|
|
|
|
|
|
| |
in order to make builds reproducible.
See https://reproducible-builds.org/ for why this is good.
This date call works with GNU date and BSD date.
Also use UTC/gmtime to be independent of timezone.
|
|
|
|
| |
Added time measurement in ndpiReader (processing and setup time)
|
| |
|
| |
|
| |
|
| |
|
|\
| |
| | |
Add back pkgconfig file. It is required by ntopng to find the install…
|
| |
| |
| |
| | |
shared library.
|
|/ |
|
|
|
|
|
| |
Added target for install
Fixes #593
|
| |
|
|
|
|
| |
Converted some not popular protocols to NDPI_PROTOCOL_GENERIC with category detection
|
| |
|
| |
|
|
|
|
|
|
| |
The configurator option "--enable-debug-messages" is added to enable
debug information output (define NDPI_ENABLE_DEBUG_MESSAGES=1).
Mandatory inclusion of the file ndpi_config.h in all the compiled files.
|
| |
|
|
|