summaryrefslogtreecommitdiff
path: root/plugins
AgeCommit message (Collapse)Author
2025-05-27Misc rust formattingMason Reed
2025-05-27update idb_import idb-rs to 0.1.10rbran
2025-05-26Fix crash when exporting DWARF failsJosh Ferrell
2025-05-23Add aliases for the RTTI/VFT analysis activities.Brian Potchik
2025-05-23[RTTI] Fix exception in binary with a erroneous class hierarchy descriptorMason Reed
2025-05-23[RTTI] Fix typo in some log callsMason Reed
2025-05-22[RTTI] Catch uncaught exceptions to let analysis finish in the event of an ↵Mason Reed
thrown exception Probably should have done this sooner, just lets the user continue analysis, rtti exceptions are continuable from the view of analysis.
2025-05-17[RTTI] Fix crash with zeroed base class descriptorMason Reed
Fixes https://github.com/Vector35/binaryninja-api/issues/6837
2025-05-16Fix crash with invalid vtable info when processing MSVC vftablesMason Reed
Found when a vtable is constrained to a size less than the base vft, indicating a bad base vft associating most likely. Fixes https://github.com/Vector35/binaryninja-api/issues/6840
2025-05-13[CMake] Report compatibility with 3.15 to silence deprecation warningsGlenn Smith
2025-05-12[Rust] Remove `NonSSAVariant` bound from `LowLevelILFunction`Mason Reed
We don't do enough with the lifted il != non lifted il to justify the bound. This makes modifying IL much less work as the historical lifted il bound is gone.
2025-05-12[Rust] Implement custom interactive handlerrbran
2025-05-12[Rust] Reduce usage of `IntoCStr` in function signaturesMason Reed
This is being done to reduce complexity in function signatures, specifically many of the strings we are passing ultimately should be new types themselves instead of "just strings", things such as type ids. Another place which was confusing was dealing with filesystem related APIs, this commit turns most of those params into a stricter `Path` type. This is bringing the rust api more inline with both python and C++, where the wrapper eagerly converts the string into the languages standard string type. Special consideration must be made for symbols or other possible non utf-8 objects. This commit will be followed up with one that adds the `IntoCStr` bound on API's we want to keep as invalid utf-8 so we can for example, get section by name on a section with invalid utf-8.
2025-05-12[Rust] More cleanup regarding `BnString`Mason Reed
- Removed `to_string` shortcut from `BnString`. - Misc formatting
2025-05-12[Rust] Misc clippy lintsMason Reed
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-09[RTTI] Loosen section semantic sanity checks in Itanium RTTI processingMason Reed
We need to do this for RTTI info that resides in DefaultSectionSemantic sections, which will happen for some binaries where the data is placed in non-generic sections.
2025-05-09[RTTI] Handle type names emitted by GCC with a leading `*`Mark Rowe
GCC emits a leading `*` to indicate that the type info is internal and its name can be compared via pointer equality. It is not part of the type name. This was only being handled when followed with `N`, but it can apply to any mangled name. Additionally, this updates some `std::string::find(...) == 0` calls in the adjacent code to use `std::string::rfind(..., 0) == 0` as that bails out of the string comparison as soon as the prefix does not match, rather than continuing to search the entire string.
2025-05-09[RTTI] Handle cxxabi vtables being referenced via RELOC_COPYMark Rowe
32-bit ELF binaries that are dynamically linked to the C++ runtime may use a copy relocation for the vtable. The vtable itself will be defined in the `.bss` section, and the copy relocation will cause the dynamic linker to populate it at load time from the C++ runtime library. Detect this by looking for a symbol pointing to the start of the vtable data, two pointers before the vtable address.
2025-05-08Implement EFI resolver as a module workflowBrandon Miller
2025-05-07[Rust] Fix a pre-existing formatting issue CI is complaining aboutMark Rowe
2025-05-04Add a setting to disable creating a backing memory region for SVD regionsMason Reed
This is apart of https://github.com/Vector35/binaryninja-api/issues/6678
2025-05-02Add core decompiler loop as a dependency of VFT analysis to ensure newly ↵Brian Potchik
introduced analysis is processed before pipeline completion.
2025-04-26Fix some RTTI information being overwritten by empty class infoMason Reed
Finish verifying VMI base class info before applying data variable and symbol
2025-04-26Demangle more types in Itanium RTTIMason Reed
2025-04-25Fix misc rust formattingMason Reed
2025-04-25Fix Itanium RTTI skipping type info with stripped root type info objectMason Reed
2025-04-23Various DWARF fixesJosh Ferrell
- Do not add binary base to function address twice when a symbol with that function's raw name already exists - Load eh_frame/debug_frame from base bv instead of debug bv and make calculated cie offset ranges relative to bv start - Fix dwarf raw name resolution not resolving specification - Try to load eh_frame/debug_frame from both raw and normal views in dwarf import
2025-04-23Fix Stack Render Layer availability in Free editionGlenn Smith
2025-04-21Fix Itanium VFT analysis crashing when possible VFT at section start boundaryMason Reed
The vft will have a few fields above it, we did not verify that when we read those fields that they were readable. Fixes https://github.com/Vector35/binaryninja-api/issues/6694
2025-04-21Fix misc invalid root type info construction in Itanium RTTIMason Reed
Fixes https://github.com/Vector35/binaryninja-api/issues/6692
2025-04-15Include RTTI analysis in free versionMason Reed
2025-04-15Include SVD loader in free versionMason Reed
2025-04-14Set vendor for .eh_frame parsing for aarch64 binariesJosh Ferrell
2025-04-10Fix function type construction leaking in Rust APIMason Reed
2025-04-09Fix capitalization of AArch64.Alexander Taylor
2025-04-08Improve MSVC VFT analysis speed and accuracyMason Reed
Also adds more information to the progress text when processing vfts for both msvc and itanium
2025-04-08Add misc cancellation points in RTTI analysisMason Reed
Some missing checks in case there is a billion segments (see .obj files)
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-01DWARF Parser: Remove error log and ignore lexical ranges that start and end at 0ElykDeer
2025-03-29Remove ineffective call to UpdateAnalysis in VFT plugin.Brian Potchik
2025-03-28belated copyright year updateJordan Wiens
2025-03-27RTTI: Add background task back and make it cancellableMason Reed
If the background task gets stuck, this is the commit to ponder at
2025-03-27RTTI: Get rid of useless log messageMason Reed
Not even going to check the git blame i know this was committed at 3 in the morning
2025-03-23Fix misc crashes with Itanium RTTI and improve 32bit supportMason Reed
32bit support still needs some fixes for the VMI offsets and other things, but its better than it was before. Likely need to do a little refactoring after this release to make the code less horrendous, but its fine for now.
2025-03-23Make sure to trigger analysis updates after VFT analysisMason Reed
Unlikely to be the last for initial analysis, still a good idea to check.
2025-03-20Rename msvc_rtti plugin to rtti pluginMason Reed
2025-03-20Fix misc Itanium RTTI OOB read on binary viewMason Reed
We really need a IsValidRange function
2025-03-19Fallback to GNU3 demangler in Itanium RTTIMason Reed