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

Allow mass "Apply Signature" functionality to many matches in the BSim overview #7902

Open
alexdevsec opened this issue Mar 12, 2025 · 1 comment

Comments

@alexdevsec
Copy link

Is your feature request related to a problem? Please describe.

I would like an easy way to "Apply Signature and Data Types" to multiple symbols at a time.

Right now, I have to make that change by using the BSIM function overview, right click to "Search selected function", then right click to apply changes. This is fine for a few symbols, but not feasible for dozens.

Describe the solution you'd like
A clear and concise description of what you want to happen.

I have a dream. The dream has two parts.

  1. Show the matching function names in the BSim overview

To the right of the Self Significance column, add a "Matches" column. It's a text field that lists the executable and functions that matched. If there's too many matches, it lists only the first 5 of them, followed by "...".

  1. Allow "Apply Signature and Data Types" for multiple items

Add a column for checkboxes to apply changes. By default they're all off, but there's a "Select all" button.

At the bottom, there's a button titled "Apply signature and data types for all selected".

That is my dream.

(My dreams do not consider performance impact)

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

I expect there's a way to do this with the existing Java or Python interface. If you gave me some leads, my be able to just script it myself.

Additional context
These things are especially useful when analyzing large applications that include entire statically linked libraries.

@KooShnoo
Copy link
Contributor

I believe, in the BSim search results window, you can Shift + Click or Cmd/Ctrl + Click to select multiple matches, then RMB > Apply [...]. It should Apply for all selected matches. So, you can do smth like

  1. select many functions
    • you can highlight functions easily in places like symbol table, and RMB > make a selection. it should say smth like "four zillion adddresses selected!" or smth
  2. BSim > Perform Overview...
  3. select all the overview funcitons (probably above a certain threshold)
  4. search
  5. select all
  6. apply

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants