summaryrefslogtreecommitdiff
path: root/plugins/rtti
AgeCommit message (Collapse)Author
2026-05-28[RTTI] Add a fast-fail to the Itanium RTTI parser for large unbacked sectionsMason Reed
2026-04-13[RTTI] Fix Itanium RTTI scan failing to symbolize objects with extern typeinfoMason Reed
The issue stems from the gnu3 demangler changing in https://github.com/Vector35/binaryninja-api/commit/260ca61d94134b6743807e29f64b5ce4f6918d73 Fixes https://github.com/Vector35/binaryninja-api/issues/8080
2026-02-23[RTTI] Scope loggers to the associated viewMason Reed
2026-01-13[RTTI] Improve virtual function discoveryMason Reed
- Allow extern functions to show up in a MSVC vtable - Fix https://github.com/Vector35/binaryninja-api/issues/7871 - Share code between itanium and msvc vft analysis, it is the same logic basically
2026-01-07Fix Windows buildXusheng
2025-12-20Fix many of the warnings that show up when compiling with GCC 15.2Mark Rowe
2025-12-08Introduce an RAII type for managing bulk symbol modificationsMark Rowe
Fixes https://github.com/Vector35/binaryninja-api/issues/7666. Correctly managing the state of bulk symbol modifications via `BeginBulkModifySymbols` / `EndBulkModifySymbols` is error-prone in the face of exceptions and early returns. Leaking a bulk symbol modification can leave the view in a state where no further changes to symbols will be applied. All users of the C++ API are encouraged to move from `BeginBulkModifySymbols` / `EndBulkModifySymbols` to the new `BulkSymbolModification` class.
2025-12-01[RTTI] Add more error checking for malformed PE binariesMason Reed
Fixes https://github.com/Vector35/binaryninja-api/issues/7705 RTTI processing with malformed sections can still cause prolonged analysis, in extreme cases like the binary in the issue needing the user to stop the RTTI processing once it gets to the Itanium RTTI pass. More work to be done, I would like to solve this with some section heuristics using the sections/segments entropy.
2025-12-01[RTTI] Skip MSVC VFT sweep if we never collected any class information in ↵Mason Reed
the previous pass
2025-08-20Deprecate Workflow::Instance in favor of Workflow::Get and Workflow::GetOrCreateMark Rowe
Calls to `Workflow::Instance` that were looking up a built-in workflow name are updated to use `Workflow::Get`. Others use `Workflow::GetOrCreate`.
2025-08-01Add LogForException APIs to pass stack trace information separate from the ↵Rusty Wagner
message
2025-07-30[CMake] Specify CONFIGURE_DEPENDS for all file(GLOB ..)Mark Rowe
This ensures that CMake detects when files that match the glob are added or removed.
2025-07-29Add support for declarative downstream dependencies to workflow system.Brian Potchik
2025-07-08[RTTI] Fix leak of BackgroundTaskMark Rowe
2025-07-04[RTTI] Fix vtables straddling section boundaries causing a OOB exceptionMason Reed
This fixes an issue with certain shared cache binaries where a VFT was placed at the tail of the const data section
2025-06-27[RTTI] Fix itanium vft analysis adding misaligned functions for thumb2Mason Reed
Fixes https://github.com/Vector35/binaryninja-api/issues/6959
2025-06-25Update CXX_STANDARD to 20.Alexander Taylor
Also update minimum CMake version.
2025-06-25Remove implicit conversions from Confidence to underlying type, these can ↵Rusty Wagner
cause bugs and also issues with C++20
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-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-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 Itanium RTTI skipping type info with stripped root type info objectMason Reed
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-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-03-29Remove ineffective call to UpdateAnalysis in VFT plugin.Brian Potchik
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
2025-03-19Handle statically linked Itanium RTTIMason Reed
I have a heavy dislike for this, but I also don't really have a better way of doing this without merging the VFT processing.
2025-03-19Demote timing logs in RTTI plugin to debug levelMason Reed
No reason to show this every time you load a binary, if someone feels strongly about seeing this say something!
2025-03-19Update RTTI README.mdMason Reed
2025-03-19Handle base class VFT processing better for MSVC RTTIMason Reed
Still need to allow NTR's to work in the base structure attribute. There is still a bit of extra work that needs to be done to polish this up but there are no regressions using this.
2025-03-19Refactor and fixup MSVC and Itanium RTTIMason Reed
Bunch of misc fixes and performance improvements