Jason Dellaluce
ff68311629
fix(userspace/engine): add missing include
...
Signed-off-by: Jason Dellaluce <jasondellaluce@gmail.com >
2023-02-14 17:33:31 +01:00
Jason Dellaluce
5781c53ddc
fix(userspace): add explicit constructors and initializations
...
Signed-off-by: Jason Dellaluce <jasondellaluce@gmail.com >
2022-10-03 13:04:15 +02:00
VadimZy
f9ee45b38e
Improve Falco engine performance when loading rules and creating the rule sets
...
- replace std::set<uint16_t> with fixed size vector in event types propagation
- rework lists expansion by replacing repetitive string::find in constantly growing expansion string with regex tokenization
- improve json_event parsing by moving const initializations into static routines
Signed-off-by: VadimZy <vadim.zyarko@sysdig.com >
2022-09-05 17:42:31 +02:00
Jason Dellaluce
a16eac221e
refactor(userspace/engine): apply C++ best practices to newest engine classes
...
This include making a coherent use of const, remove private inheritance, and adding virtual destructors.
Signed-off-by: Jason Dellaluce <jasondellaluce@gmail.com >
2022-04-27 16:22:59 +02:00
Jason Dellaluce
2934ef29b9
chore(userspace/engine): fix indentations and use improve indexed_vector
...
Signed-off-by: Jason Dellaluce <jasondellaluce@gmail.com >
2022-04-11 12:22:18 +02:00
Jason Dellaluce
6c9e6c5918
new(userspace/engine): add new indexed_vector class to achieve string-based O(1) access in vectors
...
Signed-off-by: Jason Dellaluce <jasondellaluce@gmail.com >
2022-04-11 12:22:18 +02:00