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 building against latest Binary Ninja API version #134

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

clubby789
Copy link

This adds -DBINEXPORT_BINARYNINJA_LATEST=ON to build against the latest available API.
Additionally, this PR updates the stable/dev pinned versions and stubs.

This fixes #120 and #108

@clubby789
Copy link
Author

Now uses add_custom_command so we only need to run the stub generator once. Added a PS1 script that does the equivalent of the current bash one. I don't have a Windows install available, but running using pwsh this generates exactly the same output.

@WhatTheFuzz
Copy link

WhatTheFuzz commented Oct 3, 2024

Thanks for the PR. I spent way too long trying to modify the project to work with the latest Binja API. Can confirm this PR works with the dev channel (at the time of writing 4.2.6146-dev (d7e28a65)) on macOS arm64.

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.

automatically regenerate_api_stubs when building for BN
3 participants