summaryrefslogtreecommitdiff
path: root/binaryninjacore.h
AgeCommit message (Collapse)Author
2026-04-14Plugin Manifest V2 Support0cyn
2026-04-13types: fragment type API support (C++, Python)Ryan Snyder
2026-04-08Fix crash with native architecture hooksBrandon Miller
2026-03-30Add a hook to allow BinaryView subclasses to run code after snapshot data is ↵Mark Rowe
applied Snapshot data is applied when loading from a database, rebasing the view, etc.
2026-03-19Add TransformSession constructor that adopts an existing TransformContext.Brian Potchik
2026-03-19Fix operand list iterators being validated when appending new instructionsMark Rowe
The iterators now store an offset into the operand storage, rather than a pointer. Deferencing the iterator retrieves the value at that offset from the IL function. This issue existed prior to the operand list storage refactor, but became easier to hit after that change. The separate operand list vector is smaller and thus more likely to reallocate when a new instruction is appended.
2026-03-17Bump ABI versions after change to operand list representationMark Rowe
2026-03-16Represent operand lists and label maps more efficiently within IL instructionsMark Rowe
Rather than using chains of `UNDEF` instructions, the contents of these lists are in a vector alongside the instructions. The instruction itself stores the entry count and offset into this second vector at which the associated items can be found. This improves analysis performance by around 2% and decreases memory usage by around 5%.
2026-03-11Enhance MemoryMap bindings and add support to re-enable disabled regions in ↵Brian Potchik
the UI.
2026-03-04Add TypeLibrary::Register, to allow loading type libraries from scriptGlenn Smith
2026-02-23Add global plugin command typeMason Reed
Register plugins which are available outside the context of a binary view
2026-02-23[BNTL] Allow decompressing standalone TypeLibrary objectsMason Reed
Previously you must have written the type library to disk
2026-02-23[BNTL] Add API to remove dataMason Reed
Useful when relocating information between type libraries before finalization
2026-02-20Allow calling conventions to specify a list of registers that are required ↵Rusty Wagner
to be considered for heuristic calling convention detection
2026-02-16Share context between BB recovery, lifing, and disassemblyBrandon Miller
Adds a GetInstructionTextWithContext callback to the architecture class that can be used to pass data from AnalyzeBasicBlocks. This same context is also supplied to LiftFunction and allows for supplying shared function and/or binary view level information across basic block analysis, function lifting, and disassembly text rendering
2026-02-06Add FileMetadata::GetDisplayName API to convey synthesized filenames for ↵Brian Potchik
container file entries.
2026-01-30Improve filename handling for container files.Brian Potchik
2026-01-28Add session settings override support to Transform system and clean up ↵Brian Potchik
documentation.
2026-01-27Perform function lifting and inlining in arch pluginsBrandon Miller
This change allows architecture plugins to override the LiftFunction callback to iterate a function's basic block list and lift entire functions at once. This is required for architectures such as TMS320 C6x, which have non-traditional "delay slots" in that branches, loads, and other instructions take multiple cycles to complete, and branch instructions can reside within the delay slots of other branches.
2026-01-14Allow controlling which address is used for instructions created when ↵Mark Rowe
inlining during analysis Previously the address of the instruction in the function being inlined was used as the new instruction's address when copying it during inlining. Now there is an additional option: use the address of the call instruction that is being replaced as the new instruction's address. This new mode is useful when inlining thunks or stub functions, but care must be taken if using it beyond that. The benefit is that it ensures that when a function contains multiple calls to the same stub function, each inlined copy ends up with distinct addresses. This ensures that call type adjustments and other overrides that are stored on the function and keyed by address can be applied independently to each callsite that was inlined. The trade-off is that if the function being inlined contains non-trivial logic, all of the inlined instructions sharing an address will limit what type of adjustments can be applied to them. The Objective-C and shared cache workflows are updated to take advantage of this new mode when they enable inlining of stub functions. This will make it possible for multiple calls to the same runtime function within a single function to have separate call type adjustments applied in the future.
2026-01-01update copyrights for 2026Jordan Wiens
2025-12-15Add PossibleValueSet operation APIs and fixes to PVS python APIJosh Ferrell
2025-12-12Generator: Detect flag enums and use IntFlag insteadGlenn Smith
Made possible by the new attributes in binja's type system.
2025-12-11Specify fixed underlying types for enums exposed by coreMark Rowe
This allows a few widely-used enums to be shrunk from 4 bytes to 1 byte, improving packing when they're used as struct members. To remain compatible with C, we follow CoreFoundation's approach and use a macro when defining the enum: ``` #if defined(__cplusplus) || __has_extension(c_fixed_enum) #define BN_ENUM(type, name) enum name : type #else #define BN_ENUM(type, name) typedef type name; enum #endif BN_ENUM(uint8_t, SomeEnum) { ... } ``` In C++ and C23 this will expand to an enum with a fixed underlying type. In older C language versions, this will result in the enum type being a typedef of the underlying type, with an unnamed enum providing the enum values. Minor changes were needed within the Python bindings to update places that made assumptions about the underlying type of the enums.
2025-11-25Add SectionMap with bulk operations and batch section APIs.Brian Potchik
2025-11-24Add APIs for getting files in a project folderJosh Ferrell
2025-11-24Add AnalysisContext FFI for SectionMap queries.Brian Potchik
2025-11-23Add IsOffsetReadOnlySemantics API.Brian Potchik
2025-11-23Unify SettingsCache and MemoryMap access under immutable snapshots for ↵Brian Potchik
consistent, lock-free AnalysisContext queries.
2025-11-04Add auto downloading of project file dependencies, clean up download APIsJosh Ferrell
2025-11-04Add project file dependenciesJosh Ferrell
2025-11-04Remove indenting APIs from Logger. These are thread unsafe by design.Rusty Wagner
Loggers are not owned by a specific thread and many are used by multiple threads. The indenting APIs could not be made to be thread safe in any way as they exist, so they have been removed. The data races caused by the indenting APIs are actually an important stability issue that could cause the indentation level to go out of bounds and crash the product. If you were using the indentation APIs, you will need to rewrite the usage to manually manage the indentation level in a thread safe way.
2025-11-03Revert "Refactor Plugin Load/Management to support upcoming changes"0cyn
This reverts commit 72fcf44f3731ade3cf1310da55f633f1cb9069ce.
2025-10-31Add optional display name field for memory regions.Brian Potchik
2025-10-29Add ZipPython transform as a reference container example.Brian Potchik
2025-10-29Refactor Plugin Load/Management to support upcoming changes0cyn
2025-10-28Add transform override support to the container browswer.Brian Potchik
2025-10-23Fix lost type attributes in TypeBulider Python APIRusty Wagner
2025-10-23Bump core ABIMason 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-22Add API to dereference named type referencesRusty Wagner
2025-10-22Add interactive mode support to the container browser.Brian Potchik
2025-10-22Add Type::SetIgnored APIPeter LaFosse
2025-10-21Add derived strings and string recognizer APIRusty Wagner
2025-10-21Add constant renderer APIRusty Wagner
2025-10-16Add GetTypeCount APIPeter LaFosse
Add note about type_names not being sorted anymore
2025-10-16Add BNRunUnitTests APIPeter LaFosse
2025-10-15Required API changes for Enterprise find files.Alexander Taylor
2025-10-12Improve error handling in project apisJosh Ferrell
2025-10-10Add password prompting for encrypted containers in Container Browser.Brian Potchik