mirror of
https://github.com/VectorCamp/vectorscan.git
synced 2025-10-10 08:12:21 +03:00
ng_fuzzy: apply a resource limit to vertex count
This commit is contained in:
committed by
Matthew Barr
parent
ffab97ca8c
commit
533fcf383d
@@ -201,6 +201,9 @@ struct Grey {
|
||||
u32 limitDFASize; //!< max size of a DFA (in bytes)
|
||||
u32 limitNFASize; //!< max size of an NFA (in bytes)
|
||||
u32 limitLBRSize; //!< max size of an LBR engine (in bytes)
|
||||
|
||||
// Approximate matching limits.
|
||||
u32 limitApproxMatchingVertices; //!< max number of vertices per graph
|
||||
};
|
||||
|
||||
#ifndef RELEASE_BUILD
|
||||
|
Reference in New Issue
Block a user