mirror of https://github.com/OISF/suricata
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.
This patch adds a script which can be used to generate a test on coherence of flag usage. By adding comment in the code, it is possible to declare that we link a flag in a structure to a specific family of constant: For example: /* coccinelle: Packet:flowflags:FLOW_PKT_ */ will trigger the generation on a test which verifies that the flowflags field in Packet structure is only used with constant starting by FLOW_PKT_. |
13 years ago | |
|---|---|---|
| .. | ||
| Makefile.am | 15 years ago | |
| access-pkt-packet.cocci | 14 years ago | |
| action-pkt.cocci | 13 years ago | |
| banned-functions.cocci | 14 years ago | |
| direct-packet.cocci | 15 years ago | |
| malloc-error-check.cocci | 14 years ago | |
| pktnotset-packet.cocci | 13 years ago | |
| run_check.sh | 14 years ago | |
| size_t.cocci | 14 years ago | |
| struct-flags.py | 13 years ago | |
| sz3.cocci | 13 years ago | |
| tcp-struct-flags.cocci | 13 years ago | |