| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2023-09-17 | make indent | Robert Swiecki | |
| 2021-04-21 | netdriver SOL_TCP equivalent is IPPROTO_TCP on FreeBSD | David Carlier | |
| 2020-05-28 | libhfnetdriver: rework the timeouts, so more debugging info is printed | Robert Swiecki | |
| 2020-05-26 | libhfnetdriver: rewrite the timeout code slightly | Robert Swiecki | |
| 2020-05-26 | make indent | Robert Swiecki | |
| 2020-05-26 | add chose when tcp server not return anything | unknown | |
| 2020-04-29 | New directives in .clang-format | Robert Swiecki | |
| 2020-04-24 | libhfnetdriver: use a simpler method to convert sockaddr_un to string | Robert Swiecki | |
| 2019-12-03 | android: fixes for Android | Robert Swiecki | |
| 2019-12-02 | Fixes for https://github.com/google/honggfuzz/pull/293 | Robert Swiecki | |
| 2019-12-01 | netdriver: make it possible to specify both type (e.g. SOCK_DGRAM) | Robert Swiecki | |
| and protocol for the destination address. This requires change to the HonggfuzzNetDriverServerAddress() declaration, as it needs to enable its users to specify those two additional params. Additionally, pass struct sockaddr_storage to HonggfuzzNetDriverServerAddress(), as this will prevent this func for owning storage for the used sockaddr. It was not a bug, but this semantics should be more familiar for C coders. | |||
| 2019-11-30 | libhfnetdriver: use 'socket' instead of 'pipe' for the default socket name | Robert Swiecki | |
| 2019-11-29 | libhfnetdriver: dbg message | Robert Swiecki | |
| 2019-11-29 | Use sockaddr length from fuzzer | Michael Hanselmann | |
| Commit 6814cb6a0 made major changes and introduced the "HonggfuzzNetDriverServerAddress" function which can be defined by a fuzzer. Unfortunately the connection attempt didn't use the fuzzer-provided length and thus truncated longer socket address structures such as "sockaddr_un". Signed-off-by: Michael Hanselmann <public@hansmi.ch> | |||
| 2019-11-29 | libhfnetdriver: preserve errno in netDriver_sockConnAddr() | Robert Swiecki | |
| 2019-11-28 | libhfnetdriver: more comments | Robert Swiecki | |
| 2019-11-28 | libhfnetdriver: use defines for some constant values like ports and paths | Robert Swiecki | |
| 2019-11-28 | libhfnetdriver: use correct check for HonggfuzzNetDriverTempdir retval | Robert Swiecki | |
| 2019-11-28 | libhnetdriver: treat HFND_SOCK_PATH specially if the first char is '/': ↵ | Robert Swiecki | |
| treat it as absolute path then | |||
| 2019-11-28 | netdriver: use HFND_SOCK_PATH to modify netdriver's socket path | Robert Swiecki | |
| 2019-11-28 | libhfnetdriver: use correct path to ${HonggfuzzNetDriverTempdir()}/pipe - ↵ | Robert Swiecki | |
| add missing "/pipe" | |||
| 2019-11-28 | libhfnetdriver: Add support for the default AF_UNIX sockets. | Robert Swiecki | |
| Currently the netdriver connects to TCP4/TCP6 loopback addresses at the port 8080 (or, at whatever is returned by the HonggfuzzNetDriverPort()) This change will also make the netdriver to connect to the socket (AF_UNIX) at HonggfuzzNetDriverTempdir()/pipe, which in most cases will evaluate to '/tmp/HFND_TMP_DIR/pipe' (unless a custom HonggfuzzNetDriverTempdir() func is defined) Heavily inspired by https://github.com/hansmi 's https://github.com/google/honggfuzz/pull/291 | |||
| 2019-11-28 | libhfnetdriver: a few cleanups around setting options for TCP sockets | Robert Swiecki | |
| 2019-11-28 | libhfnetdriver: typos | Robert Swiecki | |
| 2019-11-28 | libhfnetdriver: allow to use HonggfuzzNetDriverServerAddress for custom ↵ | Robert Swiecki | |
| destination addresses | |||
| 2019-11-28 | libhfnetdriver: initialize tmpdir to NULs | Robert Swiecki | |
| 2019-11-27 | hfuzz-cc: -shared is used with linking mode actually | Robert Swiecki | |
| 2019-11-27 | Support AF_UNIX address formatting | Michael Hanselmann | |
| The forthcoming introduction of AF_UNIX support in libhfnetdriver requires the ability to format such addresses via the "files_sockAddrToStr" function. Signed-off-by: Michael Hanselmann <public@hansmi.ch> | |||
| 2019-11-25 | libhfnetdriver: use snprintf instead of util_ssnprintf as the buffer passed ↵ | Robert Swiecki | |
| might not be initialized | |||
| 2019-11-25 | netdriver: Make temporary directory overridable | Michael Hanselmann | |
| Commit 627189739 changed the name of the path at which a tmpfs is mounted for the duration of a main program from "/tmp/FUZZ" to "/tmp/HFND_TMP_DIR". This change adds a weak-linked function allowing fuzzers to override the temporary directory, e.g.: int HonggfuzzNetDriverTempdir(char *str, size_t size) { return snprintf(str, size, "/tmp/foo.%d", getpid()); } This is particularily useful when multiple users share a system and shouldn't each other. A future change could make the code use mkdtemp(3). The default path remains "/tmp/HFND_TMP_DIR" and the "/tmp/FUZZ" directory isn't affected by this change. Signed-off-by: Michael Hanselmann <public@hansmi.ch> | |||
| 2019-11-21 | libhfcommon/linux: allow to specify mount options for tmpfs | Robert Swiecki | |
| 2019-09-13 | libhfcommon/files: remove unneeded copyFile | Robert Swiecki | |
| 2019-05-23 | hfuzz-cc: disjoin libhfcommon from libhfuzz and libhfnetdriver | Robert Swiecki | |
| 2019-05-15 | hfuzz-cc: mark HonggfuzzNetDriver_main as undefined but don't define it in ↵ | Robert Swiecki | |
| the netdriver | |||
| 2019-04-01 | hfcommin/util: implement sleep resistant to interrupts | Robert Swiecki | |
| 2019-03-30 | netdriver: guard sleep against EINTR | Robert Swiecki | |
| 2019-02-21 | hfnetdriver: lower some logging levels | Robert Swiecki | |
| 2019-02-21 | libhfnetdriver: set SO_SNDBUF | Robert Swiecki | |
| 2019-02-02 | netdriver: logging | Robert Swiecki | |
| 2019-02-02 | hfcommon: add files_sockAddrToStr implementation | Robert Swiecki | |
| 2019-01-30 | netdriver: log msg | Robert Swiecki | |
| 2019-01-30 | ALL: remove -p (pid), simplify the subproc state machine. NetBSD will stop ↵ | Robert Swiecki | |
| working for some time, will be fixed in the coming days | |||
| 2019-01-27 | netdriver: log msg | Robert Swiecki | |
| 2019-01-27 | netdriver: typo | Robert Swiecki | |
| 2019-01-26 | netdriver: a couple of small changes | Robert Swiecki | |
| 2019-01-26 | hfnetdriver: better handling of IPv4 vs IPV6 | Robert Swiecki | |
| 2019-01-26 | better fatal exit | Robert Swiecki | |
| 2019-01-24 | netdriver: simplify TCP port config | Robert Swiecki | |
| 2019-01-23 | netdriver: better logging | Robert Swiecki | |
| 2019-01-04 | typo in libhfnetdriver | Robert Swiecki | |
