]> git.ipfire.org Git - people/ms/suricata.git/commit
modbus: move from C to rust
authorSimon Dugas <simon.dugas@cyber.gc.ca>
Thu, 11 Feb 2021 20:58:43 +0000 (15:58 -0500)
committerVictor Julien <victor@inliniac.net>
Tue, 4 May 2021 08:43:10 +0000 (10:43 +0200)
commita458a94dca27e33dd9b4a629ef0a39b6ea41fb39
treef2ae635aef38e3d466e9a00cbf94655b280c975c
parent7c99fe3689d43858cd18524e1161f59cc306b803
modbus: move from C to rust

Adds a new rust modbus app layer parser and detection module.

Moves the C module to rust but leaves the test cases in place to
regression test the new rust module.
rust/Cargo.toml.in
rust/cbindgen.toml
rust/src/lib.rs
rust/src/modbus/detect.rs [new file with mode: 0644]
rust/src/modbus/mod.rs [new file with mode: 0644]
rust/src/modbus/modbus.rs [new file with mode: 0644]
src/app-layer-modbus.c
src/app-layer-modbus.h
src/detect-engine-modbus.c
src/detect-modbus.c
src/suricata.c