ng_fuzzy: apply a resource limit to vertex count

This commit is contained in:
Justin Viiret
2017-03-08 11:36:24 +11:00
committed by Matthew Barr
parent ffab97ca8c
commit 533fcf383d
3 changed files with 18 additions and 3 deletions

View File

@@ -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