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

feat: detect lookup switch labels in search results #812

Merged
merged 1 commit into from
Jun 25, 2024

Conversation

Jydett
Copy link
Contributor

@Jydett Jydett commented Jun 25, 2024

What's new

Allow the search to match switch labels, and allow the result to be displayed in the result panel as 'lookupswitch'.

In my usecase, I have a huge codebase with a lot of 'switch' but I can't search for their labels in Recaf 4.X (they are number):
image

Results:
image
Without the edit in BlwUtil, the instruction is passed to ``execute(Instruction instruction)` and thus nothing is displayed.
image

 - SimpleInstruction are displayed as 'Xswitch' in result view (better than nothing)
@Jydett Jydett force-pushed the feature/allow_search_switch_labels branch from e007135 to 2e7db3c Compare June 25, 2024 20:31
@Col-E
Copy link
Owner

Col-E commented Jun 25, 2024

👍

@Col-E Col-E merged commit 2db9169 into Col-E:dev4 Jun 25, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants