summaryrefslogtreecommitdiff
path: root/rust/src
AgeCommit message (Collapse)Author
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-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-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-14uidf refactorRyan Snyder
2025-02-13Fix base detection in rust API failing on auto arch detectionMason Reed
Also added actual test for base address detection
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-07Implement Rust BaseAddressDetectionRubens Brandao
2025-02-07Implement Rust DisassemblyTextRendererRubens Brandao
2025-02-07Implement Rust WebsocketProviderRubens Brandao
2025-02-07Fix incorrect casts in Rust RepositoryPluginMason Reed
Was causing linux arm builds to fail
2025-02-07Add server error to EnterpriseCheckoutError::RefreshExpiredLicenseFailedMason Reed
2025-02-07Move session registration for Rust headless initialization to be immediateMason Reed
This fixes a possible race if another thread can successfully shutdown before the current thread can register its session
2025-02-07Fix Rust LinearDisassemblyLine not freeing properlyMason Reed
2025-02-06Fix BinaryReader and BinaryWriter not respecting image base in Rust APIMason Reed
2025-02-06Misc rust API formattingMason Reed
2025-02-06Correctly quote the string in the Debug impl for BnStringMason Reed
2025-02-06Implement Rust RepositoryRubens Brandao
2025-02-06Implement Rust SecretsProviderRubens Brandao
2025-02-06Add ability to query IL functions in FlowGraph for Rust APIMason Reed
2025-02-06Add After variants for looking up variables at instructionsGlenn Smith
Fixes #6397
2025-02-02Fix Rust apply_to_linear_object logic applying non basic block backed disasm ↵Mason Reed
lines
2025-01-31Fix double free in CoreCallingConvention::callee_saved_registersMason Reed
Also added an assertion in the types unit test to catch it Fixes #6379
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-31Remove FlowGraphNode lifetime in Rust APIMason Reed
2025-01-31Fix misc clippy lintsMason Reed
2025-01-31Add lock on enterprise checkout code in Rust APIMason Reed
This is being done as a preventative measure against possible races in checkout code. This is more so just peace of mind, the enterprise code that is touched in this function only locks on a single mutex so this is probably useless, but I would rather have this assurance than have to debug some issue in this code.
2025-01-31Improve headless initialization in Rust APIMason Reed
- Add option to disable loading of user and repo plugins - Prevent shutting down the core while other sessions are still running The reason we need to prevent shutting down the core is if one session is dropped and another session has worker actions queued than they would be cleared prematurely, and also the enterprise license would be revoked prematurely as well.
2025-01-31Add LLIL_REG_STACK_POP and LLIL_REG_STACK_PUSH to Rust APIMason Reed
These were unhandled and x87 register stack LLIL would emit a bunch of warnings
2025-01-31Rust remove function ref from HighLevelILLiftedInstruction impl DebugMason Reed