Replies: 1 comment
-
Tried on both a MacOS and a ubuntu20.04 docker container. Checked that |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am trying to build a BIL lifter server using the Bap.Std API (v2.5.0) that reads in machine code with their memeory addresses and output BIL strings, but failed at a very first stage.
I have successfully created a test mem variable consists of "90c3" (nop; ret) and an "x86_64" arch.
I tried to disassemble the bytes using Disasm.of_mem and Disasm.insns, but got an empty list.
Then I tried to use the low level API by calling a Disasm_expert.Linear.sweep, but got an exception "Unknown backend: llvm"
I tried to check all availble backends using Disasm_expert.Basic.available_backends (), but got en empty list.
I am confused about the outcomes, and cannot figure out in which step did I make a mistake. I have scanned the API manual, but did not found useful hints.
Can anyone enlighten me or point me to a locaiton of the document?
BTW: I cannot find a way to transfer disassembled instructions into BIL by looking at the BIL API functions. Could anyone teach me which API should I use?
Beta Was this translation helpful? Give feedback.
All reactions