]> git.ipfire.org Git - thirdparty/suricata.git/commit
detect/analysis: Move globals to engine ctx 9927/head
authorJeff Lucovsky <jlucovsky@oisf.net>
Thu, 3 Aug 2023 14:06:47 +0000 (10:06 -0400)
committerJeff Lucovsky <jlucovsky@oisf.net>
Thu, 30 Nov 2023 13:45:13 +0000 (08:45 -0500)
commit9602fe60ca32b1699d2e85071177e03b259c4364
tree38bf88b9296dc79aa5f59d61090894a15e496b9e
parentb8cf5ac398d67ff23ec718a736c272b3195e905e
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.

(cherry picked from commit c8615bcd4798a1c53323b4591e787cbf0358811c)
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