Victor Julien
b31ffde6f4
output: remove error codes from output
4 years ago
Philippe Antoine
ad713246a9
src: remove double includes
...
Keep the unconditional include to be sure it works
git grep '#include "' src/*.c | sort | uniq -c | awk '$1 > 1'
4 years ago
Philippe Antoine
02f2602dde
src: rework includes as per cppclean
4 years ago
Victor Julien
6ab323d323
detect: hide RegisterTests behind ifdef UNITTESTS
...
Update all callers to more aggressively use UNITTESTS guards as well.
6 years ago
Victor Julien
26bcc97515
detect/keywords: dynamic version part of doc URL
6 years ago
Eric Leblond
2d11e9394c
detect-base64: fix url in list keywords commands
7 years ago
Victor Julien
32fb7d773a
detect/content-inspect: turn void arg into Packet
...
Replace the 'void *data' argument by a 'Packet *p' as this was
the only user left of the data pointer.
7 years ago
Victor Julien
d14e51a4aa
detect/content: pass START/END flags to inspection
9 years ago
Victor Julien
ab1200fbd7
compiler: more strict compiler warnings
...
Set flags by default:
-Wmissing-prototypes
-Wmissing-declarations
-Wstrict-prototypes
-Wwrite-strings
-Wcast-align
-Wbad-function-cast
-Wformat-security
-Wno-format-nonliteral
-Wmissing-format-attribute
-funsigned-char
Fix minor compiler warnings for these new flags on gcc and clang.
9 years ago
Victor Julien
6bd37611ee
file_data: dynamic buffer
10 years ago
Victor Julien
779d40cedf
detect: remove hardcoded sm_list logic from setup
...
Introduce utility functions to aid this.
10 years ago
Victor Julien
f370e88135
detect: move init only Signature members to init_data
10 years ago
Victor Julien
8edc954e82
detect: get rid of Signature::sm_lists
...
Instead use the lists in init_data during setup and the SigMatchData
arrays during runtime.
10 years ago
Victor Julien
bd456076a8
detect: pass SigMatchData to inspect functions
10 years ago
Eric Leblond
a2e2f50fb9
documentation: fix list keywords URLs
...
Update URLs in keyword definition to point to sphinx documentation.
10 years ago
Victor Julien
ae5846b4de
detect: simplify content inspection types
...
Instead of a type per buffer type, pass just 3 possible types:
packet, stream, state.
The individual types weren't used. State is just there to be
not packet and not stream.
10 years ago
Jason Ish
796dd5223b
tests: no longer necessary to provide successful return code
...
1 pass, 0 is fail.
10 years ago
Jason Ish
3c3fe4b47d
detect: denote the max detection list; fix issue 1674.
...
Denotes the max detection list so that rule validation can
allow post-detection lists to come after base64_data, but
disallow detection lists to come after it.
11 years ago
Jason Ish
6b15686fd1
base64_decode, base64_data: decode and match base64
11 years ago