Justin Viiret
64db576b9e
fdr_confirm_compile: literals are now < 8 bytes
2017-08-21 10:39:00 +10:00
Justin Viiret
d94bf2fd62
fdr_confirm_compile: wrap comment
2017-08-21 10:39:00 +10:00
Justin Viiret
06bafae81d
fdr_confirm: clean up use of flags
2017-08-21 10:39:00 +10:00
Justin Viiret
549062ec2b
fdr_confirm: start FDRConfirm structs at cacheline
2017-08-21 10:38:59 +10:00
Justin Viiret
9bdd370163
fdr: align major structures to cachelines
2017-08-21 10:38:59 +10:00
Justin Viiret
c36c071564
fdr_confirm: remove dead flags
...
- Caseless was unused
- NoFlags is a bit redundant
2017-08-21 10:38:59 +10:00
Justin Viiret
e8c0b5685f
fdr_confirm: remove complex confirm
2017-08-21 10:38:59 +10:00
Justin Viiret
dedfc34515
fdr_confirm_compile: fix bug in table sizing
2017-06-15 15:41:30 +10:00
Justin Viiret
d4146059db
bytecode_ptr: add shrink() member function
2017-04-26 15:19:43 +10:00
Justin Viiret
63fe84c3f1
bytecode_ptr: add make_zeroed_bytecode_ptr
...
Rather than always zeroing memory.
2017-04-26 15:19:36 +10:00
Justin Viiret
2698e534e4
fdr_confirm_compile: use bytecode_ptr
2017-04-26 15:19:35 +10:00
Justin Viiret
97516eccb6
fdr: use bytecode_ptr internally
2017-04-26 15:19:35 +10:00
Wang, Xiang W
df7bc22ae0
fdr: remove confirm split and pull-back
2017-04-26 14:43:09 +10:00
Justin Viiret
a55bbe657c
fdr: remove clamp on confirm size
2017-04-26 14:41:30 +10:00
Justin Viiret
7984b26b14
fdr: rely on fixed size confirm structures
2017-04-26 14:41:29 +10:00
Justin Viiret
f7cc8a618d
fdr: reduce confirm size to a u8
...
Also removes the flexible array member from the LitInfo structure.
2016-10-28 14:52:52 +11:00
Justin Viiret
68bf473e2e
fdr: move long literal handling into Rose
...
Move the hash table used for long literal support in streaming mode from
FDR to Rose, and introduce new instructions CHECK_LONG_LIT and
CHECK_LONG_LIT_NOCASE for doing literal confirm for long literals.
This simplifies FDR confirm, and guarantees that HWLM matchers will only
be used for literals < 256 bytes long.
2016-10-28 14:52:26 +11:00
Justin Viiret
ad74f3b895
fdr: use braced init syntax for pairs
2016-07-08 10:49:59 +10:00
Justin Viiret
d626cb68e0
fdr_confirm_compile: clean up debugging code
2016-07-08 10:49:48 +10:00
Justin Viiret
aebbd4f169
setupFullMultiConfs: return smart ptr
2016-07-08 10:49:31 +10:00
Justin Viiret
81880d5a8d
fdr_confirm_compile: clean up for loops, iterators
2016-07-08 10:49:24 +10:00
Justin Viiret
139a472af0
fdr_confirm_compile: typedef -> using
2016-07-08 10:49:20 +10:00
Justin Viiret
69653aaec5
fdr_confirm_compile: use smart ptrs
2016-07-08 10:49:17 +10:00
Justin Viiret
f7cdfc5e54
fdr: don't include fdr.h if not necessary
2016-05-18 16:22:41 +10:00
Matthew Barr
904e436f11
Initial commit of Hyperscan
2015-10-20 09:13:35 +11:00