Vector35 / Vector35/binaryninja-api

Types are not updated after `add_type_library` is called.

Open
#6,755 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Component: Core Effort: Medium Impact: Low
Dominant language
C++
Stars
1.3k
Forks
298
Avg merge
5d 5h
Merged PRs (30d)
19

Description

Version and Platform (required):

  • Binary Ninja Version: 5.1.7347-dev (c5ea5795)
  • OS: NixOS
  • CPU Architecture: x64

Bug Description:

A plugin call to add_type_library adding a new type library is successful and add the library correctly, but the GUI doesn't update the types tab, not showing the user the nearly added library, giving the impression that an error occur.

The type will show if a new type (like struct) is created and deleted manually on the GUI.

Steps To Reproduce:
Use a plugin that create and add a TypeLibrary, or use the idb_import branch: https://github.com/rbran/binaryninja-api/tree/use-type-library and import a TIL file.

Expected Behavior:
The GUI is expected to show the type library after the add_type_library call is returned.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the problem using the idb_import branch and a TIL file, then trace the add_type_library call through the GUI types tab refresh path. Confirm the library appears immediately after the call without creating and deleting another type, and verify the existing import workflow still works.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
api, desktop, reverse-engineering
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.