mirror of
https://github.com/VectorCamp/vectorscan.git
synced 2025-11-18 10:10:35 +03:00
limex: add fast NFA check
This commit is contained in:
committed by
Konstantinos Margaritis
parent
191cfef6cd
commit
a307e11283
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2015, Intel Corporation
|
||||
* Copyright (c) 2015-2020, Intel Corporation
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted provided that the following conditions are met:
|
||||
@@ -47,10 +47,6 @@ std::string describe(const NFA &nfa);
|
||||
// For a given NFA, retrieve the alignment required by its uncompressed state.
|
||||
u32 state_alignment(const NFA &nfa);
|
||||
|
||||
/* returns true if the nfa is considered 'fast'. TODO: work out what we mean by
|
||||
* fast. */
|
||||
bool is_fast(const NFA &n);
|
||||
|
||||
bool has_bounded_repeats_other_than_firsts(const NFA &n);
|
||||
|
||||
bool has_bounded_repeats(const NFA &n);
|
||||
|
||||
Reference in New Issue
Block a user