]> git.ipfire.org Git - thirdparty/suricata.git/commit
detect/analysis: Move globals to engine ctx
authorJeff Lucovsky <jlucovsky@oisf.net>
Thu, 3 Aug 2023 14:06:47 +0000 (10:06 -0400)
committerVictor Julien <victor@inliniac.net>
Fri, 4 Aug 2023 21:02:36 +0000 (23:02 +0200)
commitc8615bcd4798a1c53323b4591e787cbf0358811c
treeaa5dd46d3a97b68fd7ec9dd5c4c07411bef71d4c
parent4fd3205bf06a00ccda8affe6631985defec9f56c
detect/analysis: Move globals to engine ctx

Issue: 6239

This commit moves the global variables associated with engine analysis
into the detect engine context. Doing so provides encapsulation of the
analysis components as well as thread-safe operation in a multi-tenant
(context) deployment.
src/detect-engine-analyzer.c
src/detect-engine-analyzer.h
src/detect-engine-build.c
src/detect-engine-loader.c
src/detect-flowbits.c
src/detect.h