implement rust BaseAddressDetection #335
Annotations
2 errors
manually constructing a nul-terminated string:
rust/rust/src/basedetection.rs#L168
error: manually constructing a nul-terminated string
--> ./rust/rust/src/basedetection.rs:168:24
|
168 | .unwrap_or("\x00".as_ptr() as *const ffi::c_char);
| ^^^^^^ help: use a `c""` literal: `c""`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_c_str_literals
= note: `-D clippy::manual-c-str-literals` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(clippy::manual_c_str_literals)]`
|
cargo clippy
Error: Clippy has exited with exit code 101
|