mirror of
https://github.com/VectorCamp/vectorscan.git
synced 2025-10-09 15:52:27 +03:00
rose: group final ids by fragment
This commit is contained in:
committed by
Matthew Barr
parent
07a6b6510c
commit
eb14792a63
@@ -36,6 +36,7 @@
|
||||
|
||||
#include "rose_build_impl.h"
|
||||
|
||||
#include <map>
|
||||
#include <vector>
|
||||
|
||||
struct HWLM;
|
||||
@@ -57,20 +58,26 @@ struct MatcherProto {
|
||||
* only lead to a pattern match after max_offset may be excluded.
|
||||
*/
|
||||
MatcherProto makeMatcherProto(const RoseBuildImpl &build,
|
||||
const std::map<u32, u32> &final_to_frag_map,
|
||||
rose_literal_table table, size_t max_len,
|
||||
u32 max_offset = ROSE_BOUND_INF);
|
||||
|
||||
aligned_unique_ptr<HWLM> buildFloatingMatcher(const RoseBuildImpl &build,
|
||||
size_t longLitLengthThreshold,
|
||||
rose_group *fgroups,
|
||||
size_t *fsize,
|
||||
size_t *historyRequired);
|
||||
size_t longLitLengthThreshold,
|
||||
const std::map<u32, u32> &final_to_frag_map,
|
||||
rose_group *fgroups,
|
||||
size_t *fsize,
|
||||
size_t *historyRequired);
|
||||
|
||||
aligned_unique_ptr<HWLM> buildSmallBlockMatcher(const RoseBuildImpl &build,
|
||||
size_t *sbsize);
|
||||
aligned_unique_ptr<HWLM>
|
||||
buildSmallBlockMatcher(const RoseBuildImpl &build,
|
||||
const std::map<u32, u32> &final_to_frag_map,
|
||||
size_t *sbsize);
|
||||
|
||||
aligned_unique_ptr<HWLM> buildEodAnchoredMatcher(const RoseBuildImpl &build,
|
||||
size_t *esize);
|
||||
aligned_unique_ptr<HWLM>
|
||||
buildEodAnchoredMatcher(const RoseBuildImpl &build,
|
||||
const std::map<u32, u32> &final_to_frag_map,
|
||||
size_t *esize);
|
||||
|
||||
void findMoreLiteralMasks(RoseBuildImpl &build);
|
||||
|
||||
|
Reference in New Issue
Block a user