Vector35 / Vector35/binaryninja-api

Ability to add typelibrary for a different platform

Open
#7,570 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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?
Currently AFAIK there is no way to add typelib for another platform, however in some cases it is actually needed - for example in ios sdk there is no definitions of CS_* constants, those constants (for some reason) only defined in the macos sdk, but it still can be used in ios code, thus sometimes we need to add typelib for macos into the db with ios binary.

Additional Information:
But the obvious problem i see in this feature is that added typelib may shadow primary one, so may be the feature should be something like - adding only certain types from desired typelib, despite of its platform, but i think it's kinda different feature in this case

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 files, tests, or entry points are named. Start by locating the typelib platform validation and database insertion paths, then determine how an iOS binary could accept macOS definitions without shadowing its primary typelib. Done should include a decided API shape and tests covering cross-platform addition and conflict behavior.

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.