mirror of
https://git.netfilter.org/nftables
synced 2026-01-27 02:44:07 +00:00
This means some loss of functionality since you can no longer combine --fuzzer with options like --debug, --define, --include. On the upside, this adds new --random-outflags mode which will randomly switch --terse, --numeric, --echo ... on/off. Update README to reflect this change. Signed-off-by: Florian Westphal <fw@strlen.de> Acked-by: Pablo Neira Ayuso <pablo@netfilter.org>
24 lines
730 B
C
24 lines
730 B
C
#ifndef _NFT_AFLPLUSPLUS_H_
|
|
#define _NFT_AFLPLUSPLUS_H_
|
|
|
|
#include <nftables/libnftables.h>
|
|
|
|
/*
|
|
* enum nft_afl_fuzzer_stage - current fuzzer stage
|
|
*
|
|
* @NFT_AFL_FUZZER_DISABLED: running without --fuzzer
|
|
* @NFT_AFL_FUZZER_PARSER: only fuzz the parser, do not run eval step.
|
|
* @NFT_AFL_FUZZER_EVALUATION: continue to evaluation step, if possible.
|
|
* @NFT_AFL_FUZZER_NETLINK_RO: convert internal representation to netlink buffer but don't send any changes to the kernel.
|
|
* @NFT_AFL_FUZZER_NETLINK_RW: send the netlink message to kernel for processing.
|
|
*/
|
|
enum nft_afl_fuzzer_stage {
|
|
NFT_AFL_FUZZER_DISABLED,
|
|
NFT_AFL_FUZZER_PARSER,
|
|
NFT_AFL_FUZZER_EVALUATION,
|
|
NFT_AFL_FUZZER_NETLINK_RO,
|
|
NFT_AFL_FUZZER_NETLINK_RW,
|
|
};
|
|
|
|
#endif
|