Vector35 / Vector35/binaryninja-api

Ability to open files with load options from CLI

Open
#8,218 0 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Component: UI Effort: Low Impact: Medium
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?
I want to be able to specify load options when opening a file from the CLI. Basically, an equivalent to what I could specify via Open with Options, passed via a command-line parameter.

Is your feature request related to a problem?
Improving the ability to automate analysis in the UI

Are any alternative solutions acceptable?
I could make an entirely separate BN_USER_DIRECTORY with the specific options in a new settings.json file, which is quite onerous and tends itself to other problems.
I could write an entire wrapper harness ala banteg/bn which seems overkill for something like this.

Additional Information:
Opened from customer request in Slack

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 by tracing the CLI entry point that opens files and compare it with the existing Open with Options flow. Identify how load options are represented and passed during file opening. Done means a command-line parameter can supply those options and automated CLI analysis uses them without a separate user directory or wrapper.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
cli, reverse-engineering
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.