Project

General

Profile

Actions

Optimization #7762

open

rust: finish moving extern C definitions to suricata_sys and bindgen

Added by Philippe Antoine 26 days ago. Updated 3 days ago.

Status:
In Progress
Priority:
Normal
Target version:
Effort:
Difficulty:
Label:


Related issues 3 (2 open1 closed)

Related to Suricata - Optimization #4517: cbindgen export the constants from Rust to C, also for macro such as BIT_U8(1), and remove duplicate definitions between rust and CNewOISF DevActions
Blocks Suricata - Feature #7666: rust: zero-dependency crate suricata-coreNewPhilippe AntoineActions
Copied from Suricata - Bug #7667: rust: move extern C definitions to suricata_sys and bindgenClosedPhilippe AntoineActions
Actions #1

Updated by Philippe Antoine 26 days ago

  • Copied from Bug #7667: rust: move extern C definitions to suricata_sys and bindgen added
Actions #2

Updated by Philippe Antoine 26 days ago

applayer.rs and frames.rs share the same problem : we want to bindgen a C function like `AppLayerFrameNewByRelativeOffset` which uses as argument of type `StreamSlice` which is defined in rust

This is going to be the difficult part.
There are some easier things to do first

Actions #3

Updated by Philippe Antoine 26 days ago

  • Blocks Feature #7666: rust: zero-dependency crate suricata-core added
Actions #4

Updated by Philippe Antoine 3 days ago

  • Tracker changed from Bug to Optimization
Actions #5

Updated by Philippe Antoine 2 days ago

  • Related to Optimization #4517: cbindgen export the constants from Rust to C, also for macro such as BIT_U8(1), and remove duplicate definitions between rust and C added
Actions

Also available in: Atom PDF