Vector35 / Vector35/binaryninja-api

Option to use terse names for integer/float types

Open
#4,361 0 comments 2 reactions 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

What is the feature you'd like to have?
It would be nice if there was a way to use names like u32 (uint32_t), f32 (float), etc.

Terse builtin type names like these are becoming increasingly popular in newer programming languages (Rust, Zig, others I can't remember off the top of my head) and are much more ergonomic. The underscore in integer type names is particularly unfortunate.

Is your feature request related to a problem?
Just ergonomics.

Are any alternative solutions acceptable?
It's possible to create typedefs to roughly emulate this feature, but the canonical type names in BN are still the C-like names.

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

The issue names no files, tests, or entry points. Start by locating the public API's canonical integer and floating-point type definitions, then determine how type names are represented and exposed. The work is done when a documented, agreed design supports terse names such as u32 and f32 without relying on user-defined typedefs.

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
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.