summaryrefslogtreecommitdiff
path: root/rust
AgeCommit message (Collapse)Author
2025-05-12[Rust] Return `String` instead of `BnString` for cases where lossy ↵Mason Reed
conversion can be tolerated Still need to go and audit all usage, but realistically the most important places to give the user control are with symbols, where the data can come from non utf8 sources This is still incomplete, I just looked for usage of -> BnString so any other variant was omitted.
2025-05-12[Rust] Remove Architecture trait bound on LLIL related structuresMason Reed
2025-05-12[Rust] Pretty print LLIL sub expressionsMason Reed
2025-05-07[Rust] Add Function::variable_typeMark Rowe
2025-05-04[Rust] Fix a pre-existing formatting issueMark Rowe
CI is complaining about it.
2025-05-04[Rust] Avoid leaking a reference within {Medium,High}LevelILFunction::ssa_formMark Rowe
Return a Ref<_> so that the underlying core object will have its reference count decremented when the caller drops the object.
2025-04-29Fix memory leak in when calling `Metadata::get_value_store` in Rust APIMason Reed
Forgot to free the `BNMetadataValueStore` object returned by core
2025-04-26Misc rust formattingMason Reed
2025-04-26Add generate_ssa_form to LowLevelILFunctionMark Rowe
2025-04-25std::function<bool(size_t,size_t)> ==> ProgressFunctionGlenn Smith
2025-04-23Add Function::Analyze API to perform on-demand function analysis.Brian Potchik
2025-04-10Fix function type construction leaking in Rust APIMason Reed
2025-04-10Add debug info rust testMason Reed
2025-04-08Misc rust formattingMason Reed
2025-04-08Fix workflow Rust API not returning refcounted objectsMason Reed
IDK why this was not done prior, leaking the returned core activity and workflow object.
2025-04-01Rust: Better support for floating licensesGlenn Smith
2025-03-28belated copyright year updateJordan Wiens
2025-03-19Fix possible double free with platform recognizer in Rust APIMason Reed
2025-03-10Add missing nullptr check for `cb_free_type_list` in Rust APIMason Reed
2025-03-06Add API to insert Activities after a specified Activity.Brian Potchik
2025-02-26Remove module level `Session` initialization in Rust unit testsMason Reed
This was preventing the enterprise license checkout from dropping, also the initialization story is much better than it was when we added the rstest fixtures, we can get away with initialization in parallel more broadly.
2025-02-25Misc Rust formattingMason Reed
2025-02-25Check for enterprise keychain environment variable in Rust ↵Mason Reed
`headless::license_location` We also likely need to check the _actual_ keychain (not the environment variable) later.
2025-02-25Fix misc rust doc testMason Reed
2025-02-25Make `register_platform_recognizer` return by ref in Rust APIMason Reed
2025-02-25Fix BnString usage of `as_ref` instead of `as_str`Mason Reed
Fixes `BnString::len` and `BnString::is_empty` incorrectly reporting 1 and true on empty null terminated string.
2025-02-24Fix clippy lints applying to `binaryninjacore-sys`Mason Reed
This should _hopefully_ fix clippy checking the output of bindgen.
2025-02-24Remove `is_floating_point` from `Type` impl DebugMason Reed
It is unnecessary
2025-02-24Add SVD Loader PluginMason Reed
2025-02-24Fix default scope for settings QueryOptions in Rust APIMason Reed
2025-02-24Add `BinaryViewExt::comment_at` and `BinaryViewExt::set_comment_at`Mason Reed
How did we not have this before?
2025-02-24Implement Rust MemoryMapMason Reed
Also split out SegmentFlags and fix some UB with the section creation
2025-02-24Add platform recognizer to Rust APIMason Reed
2025-02-18Remove function from Debug impl of MediumLevelILLiftedInstruction in Rust APIMason Reed
Causing unneeded noise in the debug print
2025-02-18Fix the lifted GotoLabel in Rust printing the function in Debug implMason Reed
This was causing a lot of extra noise, where the function is kept just to ref for the tag name
2025-02-18Fix Rust TagReference incorrectly holding a Tag referenceMason Reed
This caused a crash when a user called function.tags() on a function with tags
2025-02-17Fix misc Rust formattingMason Reed
2025-02-17Fix some misc Rust CMakeLists.txt issuesMason Reed
GLOB_RECURSE has been cut down a little bit to make configuring times reasonable
2025-02-14uidf refactorRyan Snyder
2025-02-13Add missing test binaries for Rust APIMason Reed
2025-02-13Fix base detection in rust API failing on auto arch detectionMason Reed
Also added actual test for base address detection
2025-02-13Add licensing check for Rust codeMason Reed
If we add new rust dependencies we should now be alerted when a new license type is added.
2025-02-13Fix leaking BNDataVariableAndName when calling BNGetDebugDataVariableBy ↵Mason Reed
functions
2025-02-11Rust API misc formattingMason Reed
2025-02-11Fix FlowGraph::low_level_il crash in Rust APi with no LLIL function objectMason Reed
2025-02-11Do not load user or repo plugins by default when initializing a headless ↵Mason Reed
instance in Rust API
2025-02-11Fix Rust InstructionTextTokenKind not consulting the string token contextMason Reed
This caused a crash if we visited a builtin with a "fake" string. Where the token value is not actually the string type.
2025-02-11Add AsMut impl for Ref in Rust APIMason Reed
2025-02-07Fix misc Rust example unused varMason Reed
2025-02-07Implement Rust BaseAddressDetectionRubens Brandao