Justin Viiret
09bf568d95
Rose: clean up use of scratch, RoseContext
2016-03-01 11:32:11 +11:00
Justin Viiret
9e9bb6a960
Rose: pack global state bits into one u8
...
Eliminate the RoseRuntimeState structure in favour of a single status
byte that is stored in scratch and copied to/from stream state.
2016-03-01 11:32:01 +11:00
Justin Viiret
28f379d738
Rose: remove alignment req for anchored DFA state
2016-03-01 11:32:01 +11:00
Justin Viiret
70620327cc
Remove RoseContext::userCtx
...
All Rose callbacks receive scratch as their context.
2016-03-01 11:29:04 +11:00
Justin Viiret
8783750c72
Remove dupe engine, state ptrs from RoseContext
...
Remove the RoseEngine and stream state pointers frose RoseContext, as
they are also present in core_info.
Unify stream state handing in Rose to always use a char * (we were often
a u8 * for no particularly good reason) and tidy up.
2016-03-01 11:23:56 +11:00
Justin Viiret
48c9d7c381
Remove use of depth from Rose entirely
2016-03-01 11:23:11 +11:00
Justin Viiret
14f18bd6e8
Don't use depth for in-flight check
2016-03-01 11:23:11 +11:00
Justin Viiret
2abc038f1c
roseCatchUpLeftfixes: iter state on stack
2016-03-01 11:20:36 +11:00
Alex Coyte
a7d8dafb71
detach the sidecar
2016-03-01 11:13:23 +11:00
Justin Viiret
cea914e18e
Add q_last_type() queue function
...
Analogous to q_cur_type(), asserts that queue indices are within a valid
range.
2015-11-10 14:25:04 +11:00
Matthew Barr
904e436f11
Initial commit of Hyperscan
2015-10-20 09:13:35 +11:00