Commit graph

16 commits

Author SHA1 Message Date
Luca Deri
4fb78380bf Added missing variable 2024-02-15 17:47:19 +01:00
Nicolo Maio
728bd4a2b0 Set lua_lib in the fuzz makefile.in 2024-02-15 17:01:30 +01:00
Nicolo Maio
35b09487b9 Fix dissectPacket call on fuzz. 2023-12-20 15:34:06 +01:00
Nicolo Maio
8aec500524 Fix RedisStub for fuzzing. 2023-12-15 10:05:34 +01:00
Luca Deri
fd418514d0 Fuzz fixes 2023-12-04 15:29:24 +01:00
Ivan Nardi
499d060fb1
Fix some errors and leaks found while fuzzing locally (#7757) 2023-08-14 17:15:20 +02:00
Luca Deri
f95b4cdd85 Compilation warnign fixes and various boundary checks 2023-06-07 22:52:00 +02:00
Riccardo Mori
1ddbc694eb
[Fuzz] Ignore leaks (#7500)
This is useful for increasing the coverage. See https://github.com/google/oss-fuzz/issues/10323
2023-05-29 20:54:38 +02:00
Riccardo Mori
ab73418e29
[Fuzz] Fix issues with relative paths at runtime (#7492) 2023-05-21 20:59:55 +02:00
patacca
e4a1b17fa1 Improve documentation for fuzzing 2023-05-03 13:23:46 +02:00
Luca Deri
2cc6d9f87f Empty directories necessary for testing 2023-05-02 22:58:25 +02:00
Luca Deri
7cc0660ae8
Typo 2023-05-02 18:46:09 +02:00
Riccardo Mori
b83c1b3957
Improve docs for fuzzing (#7436) 2023-05-02 18:45:37 +02:00
Luca Deri
abfd7ff115
Typo 2023-05-02 17:50:20 +02:00
Riccardo Mori
55d462c1d3
Fix compilation errors introduced by https://github.com/ntop/ntopng/pull/7430 (#7435)
* Fix compilation errors

* Improve docs for fuzzing
2023-05-02 17:49:21 +02:00
Riccardo Mori
151a047760
Add first fuzzing harness (#7430)
* First sketch of fuzzing

* Add m4 script

The script is used in the fuzzing build

* Add stub sources in the makefile

* [Fuzz] Add RedisStub

* Add gitignore for fuzz dir

* Remove definition of non-implemented method

* [Fuzz] Refactoring code

* [Fuzz] Separate the protobuf support in the makefile

* Clean fuzzing related object files

* [Fuzz] Fix makefile

* Change gitignore

* [Fuzz] Separate headers

* [Fuzz] Add README.md

* [Fuzz] Change make target

* [Fuzz] Update README.md

* Add compatibilty with autoconf < 2.71

* Optionally disable hiredis integration

* Include hiredis only for production build

* [Fuzz] Disable period activities

* Remove unused dependencies for librrd

* Optionally use static linking for zmq library

* Add debug output regarding the linking of libzmq

* [Fuzz] Do not run on empty input

* Optionally use static linking for libjson-c

* Optionally use static linking for libmaxminddb

* Make mysqlclient dependency as optional

* Change gitignore

* [Fuzz] Add corpus for fuzz_dissect_packet

* [Fuzz] Refactor fuzz_dissect_packet

* Change gitignore

* [Fuzz] Use correct naming for corpus

* [Fuzz] Add dictionary

* [Fuzz] Fix declaration of LLVMFuzzerInitialize

* [Fuzz] Refactor onefile

* [Fuzz] Fix the initialization memory leaks

* [Fuzz] Fix invocation of LLVMFuzzerInitialize

* Remove double githooks folder

* [Fuzz] Set interface pcap_data_link

* Change gitignore

* Use pkg-config for detecting protobuf libraries

* Add license

* Improve error message
2023-05-02 16:06:52 +02:00