12 Commits
Author SHA1 Message Date
Robert Swiecki 6dff0a7e34 linux/bfd: cover all 3 variations of disassmebler() in bfd 2025-12-20 17:06:30 +01:00
Chinsyo 299442f0f7 socketfuzzer/socketclient: migration honggfuzz_socketclinet.py to python3, refactor to get closer with PEP8 2024-10-10 19:13:40 +08:00
Robert Swiecki 7b89f383f3 clang-format: IndentCaseLabels: false 2023-09-25 21:24:01 +02:00
jmccl 4f2d7456d6 Fix documentation to reflect removed option 2020-12-01 09:02:51 -08:00
Robert Swiecki bbb476eec9 New directives in .clang-format 2020-04-29 16:14:09 +02:00
Robert Swiecki ce13a2f0e0 socketfuzzer/vulnserver_cov: check for failing malloc() 2020-01-18 00:06:04 +01:00
dobin 08706874e2 fix for #253 2019-06-08 15:11:44 +02:00
Prashast 7aecd6ea23 Fix socketfuzzer test code for interactive mode 2018-10-17 19:43:09 -04:00
Robert Swiecki 8267c77c0b sancov: remove, since it's old (clang-4), slower, and requires complex code. Android seems to be supporting in-process counters now 2018-08-23 23:21:40 +02:00
dobin 040a98ed13 support for multiple parallel honggfuzz processes in socketfuzzer mode
Adds pid to socket used for socketfuzzer mode, so it is possible
to start and use multiple honggfuzz instances at the same time.
2018-04-14 15:55:23 +02:00
Robert Swiecki 562761928d make indent depend 2018-01-21 15:43:02 +01:00
dobin edf9f8da9e Support external fuzzer and provide code coverage
Aka The FFW honggfuzz patch.

This proposed patch for honggfuzz is used by the fuzzing for worms (FFW) framework available here: github.com/dobin/ffw
This patch makes it possible to use honggfuzz as a code coverage tool for long-living (network-) servers.

It provides the following functionality:
* A socket interface for an external fuzzer
* Support for code coverage of long living processes

The socket interface supports the following messages:
* Honggfuzz -> Fuzzer: "Fuzz": Send fuzz data to target
* Honggfuzz -> Fuzzer: "Cras": Target crashed
* Honggfuzz -> Fuzzer: "New!": New basic block reached
* Fuzzer -> Honggfuzz: "okay": Fuzzer sent his stuff to target
* Fuzzer -> Honggfuzz: "bad!": The server is unreachable

Honggfuzz will implement the following tasks:
* Start the target
* Restart the target if it crashes
* Restart the target if a crash/hang is detected by the fuzzer
* Provide code coverage information about new basic blocks

An example vulnerable server plus tests have been provided in the
`socketfuzzer/` directory.
2018-01-21 13:57:02 +01:00