Vector35 / Vector35/binaryninja-api

Guess prototypes for functions if a type library missing for them

Open
#4,923 0 comments 3 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

When BN does not have a type library for a function (let's say it is imported from a custom library) it should guess its prototype as accurate as it can according to its usage in the code.

Functions with no type makes decompiler output corrupt in some cases. Also We shouldn't waste time defining them one by one.

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. First clarify how Binary Ninja should infer prototypes for functions without type libraries, then identify representative custom-library calls and validate that inferred prototypes prevent corrupted decompiler output without requiring manual definitions.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.