You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
suricata/qa/coccinelle
Eric Leblond 3ded7f1170 qa/coccinelle: fix false positive in setter getter
Coccinelle test was doing a false positive on the function
AppLayerParserStateSetFlag and AppLayerParserStateIssetFlag.
To address that, this patch adds a new coccinelle markup:

 /* coccinelle: AppLayerParserStateSetFlag():2,2:APP_LAYER_PARSER_ */

It indicates that AppLayerParserStateSetFlag is a setter and getter
and that the checks should be disabled inside the function.

Currently this markup is only used for that but following patch will
add some checks on option value.
6 years ago
..
Makefile.am qa: generate struct-flags.cocci at each run 6 years ago
access-pkt-packet.cocci
action-pkt.cocci action handling: add test to avoid direct access 12 years ago
banned-functions.cocci posix: replace bzero with memset 6 years ago
direct-packet.cocci
malloc-error-check.cocci coccinelle: fix malloc test 12 years ago
pktnotset-packet.cocci coccinelle: update pkt not set test 12 years ago
realloc.cocci coccinelle: add test on realloc 12 years ago
run_check.sh qa: generate struct-flags.cocci at each run 6 years ago
siginit.cocci coccinelle: add siginit test 9 years ago
size_t.cocci coccinelle: protecting regexp operator is not needed 12 years ago
struct-flags.py qa/coccinelle: fix false positive in setter getter 6 years ago
sz3.cocci cocci test: add sizeof test 13 years ago
uint.cocci cocci: add test to check for uint use 8 years ago