mirror of
https://github.com/VectorCamp/vectorscan.git
synced 2025-10-10 16:22:22 +03:00
rose: expose smwr builder, tidy up engine build
This commit is contained in:
committed by
Matthew Barr
parent
a427a2843b
commit
9eb349a343
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2015, Intel Corporation
|
||||
* Copyright (c) 2015-2016, Intel Corporation
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted provided that the following conditions are met:
|
||||
@@ -65,6 +65,7 @@ struct raw_som_dfa;
|
||||
class CharReach;
|
||||
class NGHolder;
|
||||
class ReportManager;
|
||||
class SmallWriteBuild;
|
||||
class SomSlotManager;
|
||||
|
||||
class RoseDedupeAux {
|
||||
@@ -128,6 +129,7 @@ public:
|
||||
// Construct a usable Rose builder.
|
||||
std::unique_ptr<RoseBuild> makeRoseBuilder(ReportManager &rm,
|
||||
SomSlotManager &ssm,
|
||||
SmallWriteBuild &smwr,
|
||||
const CompileContext &cc,
|
||||
const BoundaryReports &boundary);
|
||||
|
||||
@@ -140,9 +142,6 @@ size_t roseSize(const RoseEngine *t);
|
||||
* intended to indicate a lightweight rose. */
|
||||
u32 roseQuality(const RoseEngine *t);
|
||||
|
||||
ue2::aligned_unique_ptr<RoseEngine>
|
||||
roseAddSmallWrite(const RoseEngine *t, const SmallWriteEngine *smwr);
|
||||
|
||||
bool roseIsPureLiteral(const RoseEngine *t);
|
||||
|
||||
size_t maxOverlap(const ue2_literal &a, const ue2_literal &b, u32 b_delay);
|
||||
|
Reference in New Issue
Block a user