summaryrefslogtreecommitdiff
path: root/rust/tests
AgeCommit message (Collapse)Author
2026-05-27Rust APIs for custom function liftersBrandon Miller
2026-05-10[Rust] Update repository API unit tests following recent changesMason Reed
2026-05-10[Rust] Refactor `binary_view` moduleMason Reed
- Remove the "viral" `BinaryViewExt` trait and its blanket impl - Split up the binary view type from the custom trait impl - Simplify and fix bugs regarding custom binary view initialization - Rewrite Minidump binary view example, parses the PE headers to create proper sections now - Add some extra documentation - Add unit test for custom binary view
2026-05-04Re-add license text field to API0cyn
2026-03-24[Rust] Misc project module cleanupMason Reed
2026-02-23[Rust] Misc documentation and cleanupMason Reed
2026-02-23[Rust] Ensure proper lifetime management of `WebsocketClientCallback` objectsMason Reed
2026-02-23[Rust] Misc TypeLibrary API improvementsMason Reed
2025-12-15[Rust] Misc `QualifiedName` cleanupMason Reed
- Added some unit tests - Improved documentation - Made `QualifiedName::new` and `QualifiedName::new_with_separator` generic over `Into<String>`
2025-12-15[Rust] Restructure type APIs into `types` moduleMason Reed
This helps with documentation, giving a single module for those working with types to find related APIs Also split out enumeration and structure APIs into their own file, since they have their own backing data separate from `Type`.
2025-12-11[Rust] Implement data notification APIRubens Brandão
2025-12-10[Rust] New type for `TypeArchiveId`Mason Reed
Prevents type confusions considering there are at times, three different id types being referred to in the type archive API
2025-12-10[Rust] Refactor `AnalysisProgress` returned from ↵Mason Reed
`BinaryViewExt::analysis_progress`
2025-12-10[Rust] Add string reader helpers and fix `analysis_info`Mason Reed
- `analysis_info` was causing a double free with function refs, also did not need to be wrapped in a Result
2025-12-10[Rust] Add simple architecture testsMason Reed
Still need to add a custom architecture for unit tests like in python
2025-12-10[Rust] Add `LowLevelILSSARegister` type (#7745)Mason Reed
2025-12-04Pass arch to finalized LowLevelILFunction (#7729)Truman Kilen
Co-authored-by: Mason Reed <mason@vector35.com>
2025-11-03Revert "Refactor Plugin Load/Management to support upcoming changes"0cyn
This reverts commit 72fcf44f3731ade3cf1310da55f633f1cb9069ce.
2025-10-29[Rust] Update repository API following updated Core API'sMason Reed
2025-10-23Support bitfields in type systemMason Reed
Also adds support for parsing bitfields in PDB, DWARF and SVD plugins WIP: API needs to be considered more, also need to find type related apis that may need to be rethought.
2025-10-22[Rust] Fix custom `SecretsProvider` impl requiring data to be passed back in ↵Mason Reed
`get_data` We want to provide no value in the case of the key not having an associated value
2025-10-22[Rust] Refactor download provider module to allow for custom implementationsMason Reed
2025-10-07[Rust] Implement custom data renderer APILukBukkit
Also adds an example plugin and misc rust fixes / documentation. This is a continuation of https://github.com/Vector35/binaryninja-api/pull/6721 Co-authored-by: rbran <lgit@rubens.io>
2025-10-07[Rust] Fix save file dialog not respecting default file pathMason Reed
Fixes https://github.com/Vector35/binaryninja-api/issues/7268
2025-10-02[Rust] Improvements to LLIL flag and intrinsic operationsJames Johnson
2025-09-24Fix HighLevelILInstruction CoreArrayProvider using instr index instead of ↵Josh Ferrell
expr index
2025-08-13[Rust] Add builder API for creating workflowsMark Rowe
`Workflow::new` is replaced by `Workflow::build` that returns a `Builder` type that supports the operations that mutate a workflow, such as registering activities. `Workflow::instance` is replaced by `Workflow::get` to make clear that it is intended to look up an existing workflow. `Workflow::cloned` is introduced to wrap the common pattern of retrieving an existing workflow and cloning it with the same name in order to modify it. `Builder::activity_before` / `Builder::activity_after` are introduced to wrap the common pattern of registering an activity then inserting it before or after a given activity.
2025-08-06[Rust] Take download callbacks by reference to avoid boxingMason Reed
2025-07-17[Rust] Misc fixes / formattingMason Reed
- Fix cmake clean not cleaning target docs - Fix not prioritizing enterprise remote in collab tests - Some misc formatting - Fix incorrect assert in binary loading
2025-07-15[Rust] Update some testsMason Reed
2025-07-15[Rust] Add `BinaryView::search` and friendsMason Reed
2025-07-06[Rust] Make `ReportCollection::add_*` optionally take a viewMason Reed
To allow for creating reports outside the context of a view
2025-07-03Add get_files_by_path_in_project and get_path_in_project to C++ and python APIsAlexander Khosrowshahi
2025-07-03[Rust] Add simple binary view tags testMason Reed
2025-07-02[Rust] Fixup some unit testsMason Reed
2025-07-02[Rust] Remove redundant `Result` from `Project::folders`Mason Reed
Also make `Project::file_by_path` take a `Path`.
2025-07-02[Rust] Misc changes to `test_deterministic_functions`Mason Reed
The function name is redundant, just pull from the symbol
2025-07-02[Rust] Format codeMason Reed
2025-07-02Add test_deterministic_functions to Rust API unit testsMason Reed
This test makes sure that initial analysis is not tainting functions
2025-06-13[Rust] Add `BinaryViewExt::strings` and `BinaryViewExt::strings_in_range`Mason Reed
2025-06-13Require a default platform to create functions for a given Binary ViewMason Reed
This affects mainly users creating an empty raw view headlessly and adding a function.
2025-05-31[Rust] Retrieve architecture if missing from location passed to ↵Mason Reed
`MediumLevelILFunction::instruction_from_index` Fixes https://github.com/Vector35/binaryninja-api/issues/6876
2025-05-30[Rust] Finish out the `PossibleValueSet` implementation to include range and ↵Mason Reed
lists of values This requires us to allocate on the rust side of the API, this is quite easy to mess up but the usage of it is limited.
2025-05-30[Rust] Express expression vs instruction index for MLIL and HLIL APIsMason Reed
This was done to fix unintended behavior using an instruction or expression index in place of the other. Fixes https://github.com/Vector35/binaryninja-api/issues/6897
2025-05-19Implement function level metadataBrandon Miller
2025-05-17[Rust] Re-open type archive in unit test to verifyMason Reed
2025-05-12[Rust] Add type library testsMason Reed
2025-05-12[Rust] Add type printer testsMason Reed
2025-05-12[Rust] Simplify operand list retrieval for MLIL and HLILMason Reed
2025-05-12[Rust] Check lifted call for params and output in mlil testMason Reed