Vector35 / Vector35/binaryninja-api

Scripting Provider File-Type Registration

Open
#7,372 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Component: Core Component: UI Effort: Low Impact: Low
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 am working on a Lua scripting provider for Binary Ninja. I would like to be able to register a new file-type to be associated with my provider when the user uses the "Run script..." action. @emesare has confirmed in Slack that currently the file-picker dialog is hard coded to only accept Python.

Are any alternative solutions acceptable?
I have considered working on some QT/UI bindings to register my own "Run Lua Script..." action, but I think it is more appropriate for ScriptingProviders to use a standardized approach.

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 or tests are named. Start by locating the hard-coded Python filter in the "Run script..." file-picker action and the ScriptingProvider registration API. Done means a provider can register an associated file type and the action accepts it.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp, lua
Domain
desktop, 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.