summaryrefslogtreecommitdiff
path: root/rust/src/render_layer.rs
AgeCommit message (Collapse)Author
2025-05-12[Rust] Simplify usage surrounding c stringsMason Reed
`cstring.as_ref().as_ptr() as *const c_char` -> `cstring.as_ptr()` `cstring.as_ref().as_ptr() as *mut _` -> `cstring.as_ptr()` `cstring.as_ptr() as *const c_char` -> `cstring.as_ptr()` With a few fixes for cstrings that might be dropped prematurely.
2025-05-12[Rust] Simplify `BnStrCompatible` traitMason Reed
Followup to https://github.com/Vector35/binaryninja-api/pull/5897/ This simplifies usage of the trait in user code, should just be able to `to_cstr` to get the cstr repr and then call `as_ptr`. Co-authored-by: Michael Krasnitski <michael.krasnitski@gmail.com>
2025-02-02Fix Rust apply_to_linear_object logic applying non basic block backed disasm ↵Mason Reed
lines
2025-01-31Update Render Layer registration in Rust APIMason Reed
The unit tests were not updated and the enum was kept with extremely long names, so I just added a simple wrapper.
2025-01-31Fix misc clippy lintsMason Reed
2025-01-30Render LayersGlenn Smith