Fix the binary ninja plugin build after the introduction of fmt library into the binary ninja API #122
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
A while ago, we (vector35) added fmt as a dependency in the binaryninja-api and that is breaking the binexport build. I made two fixes to it so the build can work. The two fixes are:
binaryninjacore.h
instead of thebinaryninjaapi.h
in thebinaryninjacore.cc
.binaryninjaapi.h
references fmt as well as many other irrelevant things for the purpose of building a substitute binaryninjacore, so I included thebinaryninjacore.h
which has less distractions.I am testing against the Jordan's binexport build script: https://gist.github.com/psifertex/31d9bc3167eca91e466ebaae4382521c, though I believe it should also fix the build for other script or workflow.
The branch is gonna fail the CI because it does not have access to the workflow secrets. However, it should build just fine if some maintainer triggers the build