Vector35 / Vector35/binaryninja-api

add warning about headless batch upgrades

Open
#3,329 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

If you open an old BNDB in Binary Ninja you will be asked whether to convert to the new format. Selecting "Yes" will automatically overwrite the old BNDB.

If you open a file via headless you are not given this choice and it will automatically be overwritten:

  • headless should have a setting that lets you not automatically do this and if set it should trigger an exception
  • this behavior should be better documented here

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 with the headless batch documentation at docs.binary.ninja/dev/batch.html and inspect the headless path that opens an old BNDB. Done means headless mode can be configured to avoid automatic overwrite and raises an exception when that option is set, with the behavior documented on the linked page.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
documentation, tooling
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.