API to Import type from BNDB

Open
#5,228 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
30/100
Issue type
Feature
Clarity
Needs clarification
Activity status
Stale
Tech stack
python

Research direction

Compare the BNDB load(...).types data with the behavior of bv.define_user_type(name, type) to determine what an equivalent import API must cover. Done means the API can import the relevant types from a BNDB with behavior equivalent to the requested operation.

Written by the indexing model from the issue text.

Description

Component: API Effort: Low Impact: Low

What is the feature you'd like to have?
I want an equivalent API for the following:

image

Additional Information:
I tried the following script, but I'm not sure it's exactly equivalent.

for name, type in load(bndb_path).types.items():
    bv.define_user_type(name, type)
Dominant language
C++
Stars
1.3k
Forks
298
Avg merge
5d 5h
Merged PRs (30d)
19

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.

More from Vector35/binaryninja-api

All issues in Vector35/binaryninja-api

Similar issues

More C++ issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.