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

Binary view type selection from "Open with Options" #5838

Merged
merged 3 commits into from
Oct 3, 2024

Conversation

zznop
Copy link
Member

@zznop zznop commented Aug 8, 2024

This PR adds the IsForceLoadable method to the BinaryViewType class. This was done to allow selection of binary view types for raw binary formats. It allows users to select binary views from the "Open with Options" UI regardless of whether or not BinaryViewType->IsValidForData returns true. IsForceLoadable returns false for all existing views, but can be overridden in new views for binary formats that don't contain any header information that can be used to detect compatibility.

Related PR: https://github.com/Vector35/binaryninja/pull/811

@zznop zznop requested a review from rssor August 12, 2024 12:56
@zznop zznop force-pushed the test_force_load_bv_type branch from 4a8b1a8 to add762c Compare October 2, 2024 12:22
@zznop zznop force-pushed the test_force_load_bv_type branch from add762c to f3de187 Compare October 3, 2024 11:44
@zznop zznop merged commit e8488aa into dev Oct 3, 2024
2 checks passed
@zznop zznop deleted the test_force_load_bv_type branch October 10, 2024 20:03
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

Successfully merging this pull request may close these issues.

1 participant