1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/sys/net
Sören Tempel e0570181e4 gnrc_pktbuf_malloc: Terminate when fuzzing packet is freed
Since RIOT is an operating system the native binary will never terminate
[0]. The termination condition for fuzzing GNRC is that the packet was
handled by the network stack and therefore freed. If it is never freed
we will deadlock meaning a memory leak was found, afl should be able to
detect this through timeouts.

This is currently only supported for gnrc_pktbuf_malloc since this is
the pktbuf implementation I used for fuzzing. Implementing this in
pktbuf.h is not possible.

[0]: Except NATIVE_AUTO_EXIT is defined, however, even with that define
set RIOT will only terminate when all threads terminated. Unfortunately,
gnrc_udp and other network threads will never terminate.
2020-04-07 17:48:39 +02:00
..
application_layer Merge pull request #13815 from kb2ma/nanocoap/add_canonical_uri_query 2020-04-07 06:32:13 -04:00
ble ble/skald: remove broken assert in init() 2019-09-26 22:07:23 +02:00
credman sys/net: add credman (D)TLS credential manager 2019-07-19 13:56:21 +02:00
crosslayer netopt: add NETOPTs required for gnrc_lorawan 2019-11-26 21:52:05 +01:00
gnrc gnrc_pktbuf_malloc: Terminate when fuzzing packet is freed 2020-04-07 17:48:39 +02:00
link_layer net/l2util: fix addr conversion for BLE 2019-08-28 16:48:41 +02:00
netdev_test sys/net: iolist updates 2018-03-06 14:00:32 +01:00
netif netif: introduce descriptor based netif 2019-10-11 10:59:14 +02:00
network_layer sys/net: fix typos 2019-11-23 22:39:38 +01:00
routing net: Remove NHDP module 2020-02-18 13:20:05 +01:00
sock sock_async_event: update for async callback argument support 2020-03-11 16:54:12 +01:00
transport_layer sys: fix doxygen grouping 2018-06-11 19:12:02 +02:00
doc.txt doc: add net to sys group 2015-08-30 14:00:33 +02:00
Kconfig Kconfig: Expose Gcoap configurations 2020-01-28 11:59:52 +01:00