Vector35 / Vector35/binaryninja-api
Improve function inliner to continue inlining at basic blocks that fallthrough to other functions
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 1.3k
- Forks
- 298
- Avg merge
- 5d 5h
- Merged PRs (30d)
- 19
Description
The function inliner should check for fallthrough blocks and continue inlining the function that the block falls through to. See the screenshot below. Currently, if the user inlines _restgpr_27_x the inliner only inlines the basic block from _restgpr_27_x and doesn't inline _restgpr_28_x, _restgpr_29_x, and so-on.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No source file, test, or entry point is named. Locate the function inliner and its handling of basic-block fallthrough, then reproduce the _restgpr_27_x case; done means inlining also follows _restgpr_28_x, _restgpr_29_x, and subsequent fallthrough functions.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- reverse-engineering
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100