summaryrefslogtreecommitdiff
path: root/python/typelibrary.py
AgeCommit message (Collapse)Author
2026-03-24[Python] Update function signatures of some type library APIsMason Reed
2026-03-04Add TypeLibrary::Register, to allow loading type libraries from scriptGlenn Smith
2026-02-23[BNTL] Allow decompressing standalone TypeLibrary objectsMason Reed
Previously you must have written the type library to disk
2026-02-23[Python] Add `TypeLibrary.remove_named_object` and ↵Mason Reed
`TypeLibrary.remove_named_type`
2026-02-23[Python] Add missing `TypeLibrary.duplicate` APIMason Reed
2026-01-18fix syntax for note section of newly added api docsJordan Wiens
2026-01-16fix pydoc formatting for recent metadata API changesJordan Wiens
2026-01-16Add get_metadata() method and make query_metadata() raise KeyError consistentlyPeter LaFosse
Introduces a Pythonic get_metadata() method to BinaryView, Function, Project, TypeArchive, and TypeLibrary classes. This method behaves like dict.get(), returning a default value (None by default) when a key doesn't exist, instead of raising a KeyError. Additionally, updates query_metadata() in TypeArchive and TypeLibrary to raise KeyError when a key is not found, making them consistent with BinaryView, Function, and Project. Previously these two classes returned None on missing keys. This breaking change is documented in the method docstrings. This provides a more consistent and Pythonic API for querying metadata across all metadata-supporting classes. Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-01-01update copyrights for 2026Jordan Wiens
2025-03-28missed the older dates!Jordan Wiens
2024-10-30Use idiomatic PythonZerotistic
2024-10-30fix: validate input type in TypeLibrary.add_alternate_name to prevent crashesZerotistic
Fixes Vector35/binaryninja-api#5814. The function now checks if the input is of type . This prevents crashes caused by passing null or non-string values.
2024-07-26Properly check for/log failures and return status on Typelib.write_to_filekat
2024-01-15Add APIs for getting the the base Metadata object for BinaryViews and ↵Peter LaFosse
TypeLibraries
2024-01-08update copyright yearJordan Wiens
2023-11-06Type Containers: API DocsGlenn Smith
2023-11-06Type ContainersGlenn Smith
2023-08-23typelibrary: add methods for dependency infoRyan Snyder
2023-07-10Fix broken python bindingsKyleMiles
2023-04-18Add APIs for dumping the contents of TypeLibrariesPeter LaFosse
2023-04-17Allow TypeLibrary::Finalize() to return true on successPeter LaFosse
2023-01-30Fix Type object leaksRusty Wagner
2023-01-10Fix signature of TypeLibrary.add_named_typeJosh Ferrell
2023-01-05Update copyright to 2023Josh F
2022-04-08Add some small typehint fixes to typelibrary and metadata.pyPeter LaFosse
2022-04-08Properly decode strings for TypeLibrary.platfrom_namesPeter LaFosse
2022-03-28Ensure plugins are loaded before attempting to build type libsPeter LaFosse
2022-03-23Add BNAddTypeLibraryNamedTypeSource APIPeter LaFosse
2022-03-23Fix a bunch of reference miscounts in the C++ and python apisPeter LaFosse
2022-03-16Add type hints to typelibrary.py and fix type hint for get_address_tags_of_typePeter LaFosse
2022-01-28Format All FilesKyleMiles
2022-01-03update copyright yearsJordan Wiens
2021-09-06Commonize _to_core_struct/_from_core_structPeter LaFosse
Improve implementation of immutable_copy/mutable_copy
2021-09-06Fix some comments in typelibrary.pyPeter LaFosse
2021-09-06Remove unnecessary check on typePeter LaFosse
2021-09-05Refactor Python TypesPeter LaFosse
Remove _mutable types
2021-09-05Don't inherit from object anymorePeter LaFosse
2021-09-05Add type hints to basicblock.py, lowlevelil.py, architecture.pyPeter LaFosse
2021-01-18updating copyright yearJordan Wiens
2020-01-01update copyright year to 2020Jordan Wiens
2019-09-30include more tag documentation references to other APIs, fix cross-module ↵Jordan Wiens
doc linking and other small formatting cleanups
2019-09-24typelibrary: add initial documentationRyan Snyder
2019-09-24typelibrary: minimal api commitRyan Snyder