Closed 1337-42 closed 1 month ago
I am pretty sure this a known issue and we have a duplicate issue for it. Just cannot find it at the moment. Is it https://github.com/Vector35/binaryninja-api/issues/71?
Not sure what has changed since 2015. It could be related to that issue.
Closing this as a duplicate of #71 Back in 2015 this was very difficult because llvm didn't support the nasm-style .org directive. Modern llvm probably supports this now and we might be able to do this without much difficulty.
A work around is that you need to subtract your current offset from the offset provided to the assembler
Version and Platform (required):
Bug Description: Binary Ninja is unable to reassemble its assembly output.
Steps To Reproduce:
Expected Behavior: The output should be the assembled bytes.
Screenshots:
Additional Information: Other instructions seem to assemble just fine. It's only when offsets are used in, for example, branch instructions.