You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
suricata/rust
Jason Ish 363b5f99c3 rust: functions that reference raw pointers are unsafe
Based on the Rust clippy lint that recommends that any public
function that dereferences a raw pointer, mark all FFI functions
that reference raw pointers with build_slice and cast_pointer
as unsafe.

This commits starts by removing the unsafe wrapper inside
the build_slice and cast_pointer macros then marks all
functions that use these macros as unsafe.

Then fix all not_unsafe_ptr_arg_deref warnings from clippy.

Fixes clippy lint:
https://rust-lang.github.io/rust-clippy/master/index.html#not_unsafe_ptr_arg_deref
4 years ago
..
.cargo rust: fix vendor use on MinGW 6 years ago
src rust: functions that reference raw pointers are unsafe 4 years ago
.gitignore rust: build fixes and nom update 8 years ago
Cargo.toml.in modbus: fix quantity and count calculation 4 years ago
Makefile.am install: makefile target to install libraries 4 years ago
cbindgen.toml modbus: move from C to rust 4 years ago
rustfmt.toml style: compressed function headers for rustfmt 5 years ago