ffi storage/v1 - #321
Closed
jasonish wants to merge 6 commits into
Closed
Conversation
A Rust wrapper around ThreadVars to enforce Rust lifetimes to ThreadVars when used in a callback. Ticket: OISF#8598
Update the thread init callback registration to pass the safe ThreadVars wrapper instead of a raw pointer. Ticket: OISF#8598
Update the EVE callback registration to pass the safe ThreadVars wrapper instead of a raw pointer. Ticket: OISF#8598
Update the flow init, update and finish callback registrations to pass the safe ThreadVars wrapper instead of a raw pointer. Ticket: OISF#8598
Add a typed ThreadStorage<T> wrapper around the thread storage bindings. Ticket: OISF#8445
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
rust/ffi: add wrapper around ThreadVars
A Rust wrapper around ThreadVars to enforce Rust lifetimes to ThreadVars when
used in a callback.
Ticket: Mime fuzz backport/v1 OISF/suricata#8598
rust/ffi: use ThreadVars wrapper in thread init callback
Update the thread init callback registration to pass the safe ThreadVars
wrapper instead of a raw pointer.
Ticket: Mime fuzz backport/v1 OISF/suricata#8598
rust/ffi: use ThreadVars wrapper in eve callback
Update the EVE callback registration to pass the safe ThreadVars wrapper
instead of a raw pointer.
Ticket: Mime fuzz backport/v1 OISF/suricata#8598
rust/ffi: use ThreadVars wrapper in flow callbacks
Update the flow init, update and finish callback registrations to pass the
safe ThreadVars wrapper instead of a raw pointer.
Ticket: Mime fuzz backport/v1 OISF/suricata#8598
rust/ffi: bindgen thread storage
Ticket: Tcp midstream fin 5437 v2 OISF/suricata#8445
rust/ffi: add safe thread storage wrapper
Add a typed ThreadStorage wrapper around the thread storage bindings.
Ticket: Tcp midstream fin 5437 v2 OISF/suricata#8445