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
Denis Balashov 344e89e3c6 qa/cocci: fix broken regex alternation in malloc-error-check
Coccinelle uses OCaml Str, not PCRE. The '|' and '()' characters are
literals in OCaml Str, so 'identifier func =~ "(SCMalloc|SCCalloc|...)"'
never matched anything — making the entire script a no-op since its
introduction.

Replace all five patterns with OCaml Str alternation syntax 'A\|B'.

Ticket: 8641
1 month ago
..
Makefile.am
access-pkt-packet.cocci
banned-functions.cocci
direct-packet.cocci
malloc-error-check.cocci
pktnotset-packet.cocci
realloc.cocci
run_check.sh
siginit.cocci
size_t.cocci
struct-flags.py
sz3.cocci
uint.cocci