eqs-nz / rubyscan

Ruby language bindings for the Hyperscan library
BSD 2-Clause "Simplified" License
3 stars 1 forks source link

extend event system to enable full inspection of match events #8

Open tendrils opened 7 years ago

tendrils commented 7 years ago

this requires definition of a scan event type, holding a reference to the (text) block or fragment passed to the scanner. these need to exist until all handlers generated by the scan have finished executing.

tendrils commented 7 years ago

draft design showing the lifespan of references to data on the input buffer: img_0901

draft plan for making queue and event types more generalized in support of this and other work: img_0902

tendrils commented 7 years ago

initial implementation committed @3031176746d5049d5f2c5c55d70317f2bdbc02ae