mirror of
https://github.com/VectorCamp/vectorscan.git
synced 2025-09-29 19:24:25 +03:00
limex: implement variable shift NFA engines
Replaces the old LimEx NFA engines, which were specialised for model size and number of shifts, with a new set of engines that can handle a variable number of shifts.
This commit is contained in:
committed by
Matthew Barr
parent
cdaf705a87
commit
9d2403e8bb
@@ -130,7 +130,7 @@ protected:
|
||||
|
||||
INSTANTIATE_TEST_CASE_P(
|
||||
LimEx, LimExModelTest,
|
||||
Range((int)LIMEX_NFA_32_1, (int)LIMEX_NFA_512_7));
|
||||
Range((int)LIMEX_NFA_32, (int)LIMEX_NFA_512));
|
||||
|
||||
TEST_P(LimExModelTest, StateSize) {
|
||||
ASSERT_TRUE(nfa != nullptr);
|
||||
@@ -337,7 +337,7 @@ protected:
|
||||
};
|
||||
|
||||
INSTANTIATE_TEST_CASE_P(LimExReverse, LimExReverseTest,
|
||||
Range((int)LIMEX_NFA_32_1, (int)LIMEX_NFA_512_7));
|
||||
Range((int)LIMEX_NFA_32, (int)LIMEX_NFA_512));
|
||||
|
||||
TEST_P(LimExReverseTest, BlockExecReverse) {
|
||||
ASSERT_TRUE(nfa != nullptr);
|
||||
@@ -424,7 +424,7 @@ protected:
|
||||
};
|
||||
|
||||
INSTANTIATE_TEST_CASE_P(LimExZombie, LimExZombieTest,
|
||||
Range((int)LIMEX_NFA_32_1, (int)LIMEX_NFA_512_7));
|
||||
Range((int)LIMEX_NFA_32, (int)LIMEX_NFA_512));
|
||||
|
||||
TEST_P(LimExZombieTest, GetZombieStatus) {
|
||||
ASSERT_TRUE(nfa != nullptr);
|
||||
|
Reference in New Issue
Block a user