Vector35 / Vector35/binaryninja-api

Smart create enumeration based on its comparison against costant values

Open
#3,497 3 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

Currently, when one wishes to create an enum, the only way is to use the "Create Type" dialog and type in the enum definition. This is ok, but it is not the most convenient way. We should somehow offer a more smooth way of creating enum and its members. What I have in my mind is a UI dialog that allows you to type in the enum name, its members' name (and values). The members and values are optional. The user can also opt to only specify the enum's name and add its members later.

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

Start by examining the existing Create Type dialog and the enum creation flow in Binary Ninja. Define the UI behavior for entering an enum name, optionally adding member names and values, and creating the enum before or after its members are specified.

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
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.