Vector35 / Vector35/binaryninja-api

Allow storing Metadata/Tags on Types

Open
#4,453 1 comment 6 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

What is the feature you'd like to have?
I want the ability to add tags (or general metadata, that's fine too) to Types in my analysis-- NOT to variables and things using the types, but to the types directly. Stuff like comments, plate comments, etc could be a derived feature from this, but is a bit fancier than what I'm thinking.

Is your feature request related to a problem?
My PDB loader can make lots of types with potential issues and the only way I know which ones are Spicy is by looking at the warnings when it loaded the first time. Afterwards, I have to guess and there's no persistent way to mark a type as "maybe wrong."

Are any alternative solutions acceptable?
I could rename all the types to Foo___idk_uses_virtual_stuff but that seems rather cumbersome

Additional Information:
Instead of 6 different types of metadata why not just centralize it all into Tags? Give them some more uses :)
Related to #1244 #4069

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

No implementation file or test is named. Start by reviewing related issues #1244 and #4069, then trace the public Type and tag concepts described in the request. Done should allow metadata or tags to be attached to types directly, persist after loading, and remain distinct from metadata on variables or other type users.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
devtools, reverse-engineering
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.