summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2025-04-07[SharedCache] Dont apply invalid symbols in the stub workflowWeiN76LQh
2025-04-07[SharedCache] Resolve original file path and name from project database fileMason Reed
Fixes https://github.com/Vector35/binaryninja-api/issues/6582 More considerations might need to be made for databases saved without the original file path. Likely solved through some shared cache specific metadata.
2025-04-07fix broken link in get_llils_at docsJordan Wiens
2025-04-06[SharedCache] Add mutex to guard `m_namedSymbols`Mason Reed
It is modified on a worker thread so if a user tries to call `GetSymbolWithName` after view init but before the processing on the worker thread finishes, there would have been issues!
2025-04-06[SharedCache] Prevent some unneeded copies when processingMason Reed
Also swapped out CacheEntry::m_images to a vector as its never actually used as a lookup
2025-04-06[SharedCache] Replace write log with callback registration for reapplying ↵Mason Reed
slide info This improves performance by ~10x with the only real issue being a copy of the cache entry existing for each weak ref. Also fixes - Some old TODO's that are no longer relevant - Some function signatures not being const - FileAccessorCache not evicting enough accessors to fit under an adjusted cache size - Added a warning if we are over the global cache size in view initialization - Logger name not having a `.` in `SlideInfoProcessor::SlideInfoProcessor` - Re-added the accessor dirty check before applying slide info to fix https://github.com/Vector35/binaryninja-api/issues/6570
2025-04-06[SharedCache] Prevent all functions from being queued up for reanalysis when ↵Mason Reed
adding new images and regions Within the user section creation we will assume that because a non-default section was added, we should mark all functions for reanalysis. From initial testing this isn't an extreme slowdown, but with the addition of more images the number of queued up functions becomes much greater, even if those are unmarked immediately and processing of those functions isn't slow it is unneeded and might lead to other non-obvious slowdowns. To be clear, we do not need to queue up functions from already analyzed images to be analyzed again, there is no benefit, our workflow handles cross images calls already, so those places will already be queued up, and if they aren't, that is the issue to solve, not this.
2025-04-06[SharedCache] Add a named symbol mapMason Reed
Fixes https://github.com/Vector35/binaryninja-api/issues/6561 - Also tightens the SharedCache class to move only, to prevent accidental copies. - Also removes some extra copies in FFI when should pass by ref - Also adds `get_symbol_with_name` to python API The current named symbol map is populated in a worker thread spawned in the view init. This is because populating the map can take about 1 second. If we are fine with another 1 second added to the view init time then we can add it serially but I don't think this way is _that_ bad, no analysis consults this, however a user might add a workflow that would be racing this. So we need to add a mutex.
2025-04-06fix get_llils?_at documentationJordan Wiens
2025-04-06fix moved URLs in documentationJordan Wiens
2025-04-05Add current_il_expr and current_il_expr_index magic varsGlenn Smith
2025-04-04Add Load Image by Address context menu action.Alexander Taylor
Slight reimplementation of PR #6517 since the PR was from before our refactor.
2025-04-04Also include library in triage imports filter.Alexander Taylor
Closes #6563.
2025-04-03Change warning to info for undetermined base class for objective-c categoryMason Reed
More informative than a warning
2025-04-03[SharedCache] Misc triage view bug fixesMason Reed
- Fix the inconsistent column sizing - Stop trying to show cross reference at 0
2025-04-03Render address relative to data start optionGlenn Smith
2025-04-03add M-CORE to settingJordan Wiens
2025-04-03update settings for 5.0 and include enterprise/collab this timeJordan Wiens
2025-04-03Implement Kernel64 path for Chained Fixups in Mach-O Viewkat
2025-04-03Warning cleanup in KernelCache codekat
2025-04-03default image width narrower on fwn docsJordan Wiens
2025-04-03remove experimental from objc docsJordan Wiens
2025-04-03compress fwn doc imagesJordan Wiens
2025-04-03[SharedCache] Log the time it takes to load initial images in the viewMason Reed
2025-04-03[SharedCache] Identify unloaded symbols that are called in standard functionsMason Reed
Fixes https://github.com/Vector35/binaryninja-api/issues/6550
2025-04-03[SharedCache] Fix detection of the class name of categoriesMark Rowe
The logic for determining the class name of a category did not correctly handle classes defined in other images in the shared cache. There were two problems: 1. If the class is defined in another image that is already loaded, `ObjCProcessor` has already renamed the symbol from `_OBJC_CLASS_$_` to `cls_`. Both forms of symbol name are now handled. 2. If the class is defined in an image that is not yet loaded, no symbol name is available. The category's class is now looked up in the shared cache symbol table, and the symbol's name is parsed as if it were an import symbol. This fixes almost all cases of "Failed to determine base classname for category" that I have come across. Mason Reed: Fixed up to make objective-c processor always consult GetSymbol
2025-04-03Update bug_report.md to include malware upload instructionsfosdick.io
2025-04-03Firmware Ninja user guide documentationBrandon Miller
2025-04-03Fix user platform override between armv7 and thumbBrandon Miller
Only override the default platform based on the entry point architecture in cases where the user didn't explicitly set loader.platform
2025-04-02Add context menu for shared cache view.Alexander Taylor
Also addresses some lints that I thought were possibly worth it.
2025-04-02Styling for data in shared cache view.Alexander Taylor
2025-04-02Use standard buttons in shared cache view.Alexander Taylor
2025-04-02Add filtering for mappings in shared cache view.Alexander Taylor
2025-04-02Use correct icon in shared cache view.Alexander Taylor
2025-04-02[SharedCache] Misc fixes and commentsMason Reed
2025-04-02[SharedCache] Fix old slide info mapping format not getting the mapped ↵Mason Reed
address for the file offset This would result in the virtual memory trying to access an unmapped region, failing to apply slide info
2025-04-02[SharedCache] Fix thrown exception in stub function analysis with mismatched ↵Mason Reed
expression operation
2025-04-02[SharedCache] Improve FileAccessorWriteLog performanceMason Reed
Just use a vector. In the future we can turn off the write log if the system has given us ample descriptors, and we can also add a page based cache.
2025-04-02[SharedCache] Misc formattingMason Reed
2025-04-02[SharedCache] Fix loading entries on linuxMason Reed
2025-04-02[SharedCache] Fix not adding type libraries in the macho processorMason Reed
2025-04-02[SharedCache] Fix metadata not being loadedMason Reed
Apparently the view metadata is not available until after view init
2025-04-02[SharedCache] Consistent logger naming and misc changesMason Reed
2025-04-02[SharedCache] Fix multi-row image selection not respecting the visibility of ↵Mason Reed
rows Before this we would load all images between the end and beginning because the model is does not have a filter proxy, but just hides the rows instead, we should move to a proxy
2025-04-02[SharedCache] Fix __auth_got section not having read only section semanticsMason Reed
Stopped some stub calls resolving the target
2025-04-02[SharedCache] Fix linear sweep picking up basically every function and ↵Mason Reed
removing it
2025-04-02[SharedCache] Refactor workflowMason Reed
2025-04-02[SharedCache] Improper nesting in workflowMason Reed
oops!
2025-04-02[SharedCache] Add python get_symbol_atMason Reed
2025-04-02[SharedCache] Fix some of the workflow issuesMason Reed
Still have the issue with newer IOS stubs not having their direct function address taken