Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Automatic project creation for archive formats #6166

Open
emesare opened this issue Nov 20, 2024 · 0 comments
Open

Automatic project creation for archive formats #6166

emesare opened this issue Nov 20, 2024 · 0 comments
Labels
Component: Projects Issue needs changes to how we handle projects Effort: Low Issue should take < 1 week Impact: Low Issue is a papercut or has a good, supported workaround Type: Enhancement Issue is a small enhancement to existing functionality

Comments

@emesare
Copy link
Member

emesare commented Nov 20, 2024

What is the feature you'd like to have?
When dealing with static libraries (.lib, .a, .rlib) the current workflow is to manually unarchive and load individual object/binary files, possibly into a project. This is especially cumbersome for producers of WARP signatures as they either have to use a headless script or run signature generation for each of the possibly thousands of object files.

A possible solution to this would be to have a handler where when an archive of files is opened with Binary Ninja we create a project including all the files of the archive. This would have to be a separate behavior to the open file handlers as they return a single BinaryView.

Is your feature request related to a problem?
Currently WARP uses an external "script" (see: sigem.rs) to generate signatures for static libraries. This is not user friendly as you need to go and build it and use separately from the Binary Ninja UI. A better workflow would be:

  1. Open mylib.lib in Binary Ninja
  2. Automatically create project with the object files
  3. Run "WARP\Create signatures for project"
@emesare emesare added Type: Enhancement Issue is a small enhancement to existing functionality Effort: Low Issue should take < 1 week Component: Projects Issue needs changes to how we handle projects labels Nov 20, 2024
@xusheng6 xusheng6 added the Impact: Low Issue is a papercut or has a good, supported workaround label Nov 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Component: Projects Issue needs changes to how we handle projects Effort: Low Issue should take < 1 week Impact: Low Issue is a papercut or has a good, supported workaround Type: Enhancement Issue is a small enhancement to existing functionality
Projects
None yet
Development

No branches or pull requests

2 participants