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

Regarding the bap recipe installation #13

Open
anzosasuke opened this issue Aug 21, 2023 · 7 comments
Open

Regarding the bap recipe installation #13

anzosasuke opened this issue Aug 21, 2023 · 7 comments

Comments

@anzosasuke
Copy link

Trying to install bap-toolkit recipes.
Ocaml version: 4.05

ocamlfind: Package 'bap-taint' not found, error

@ivg
Copy link
Member

ivg commented Aug 21, 2023

You need to install bap first, then make sure that opam installation is activated with eval $(opam env). There is also a prebuilt docker image with pre-built toolkit, and see also the dockerfile and readme on how to use it. Feel free to reopen if you still have problems!

@ivg ivg closed this as completed Aug 21, 2023
@anzosasuke
Copy link
Author

I have it installed. i tried bap2.5.0, 2.4.0, 2.3.0 but still got this errors

@ivg
Copy link
Member

ivg commented Aug 21, 2023

I don't think you have it installed (at least because OCaml 4.05 is so ancient version that I don't remember when we dropped it). What does bap --version show?

@ivg
Copy link
Member

ivg commented Aug 21, 2023

Btw, could it be that you have installed it through a debian package? If yes then you can't build bap-toolkit with a debian version, because it just installs the binary, but not the development environment and the necessary toolchain, you have to install bap from opam, following the instructions I referenced above.

@anzosasuke
Copy link
Author

Yeah. That was the case. but used dockerized version of it. Is dockerized version any different?

@ivg
Copy link
Member

ivg commented Sep 14, 2023

Yeah. That was the case. but used dockerized version of it. Is dockerized version any different?

Which dockerized version are you referring to? You can use binaryanalysisplatform/bap as your base image to build anything that requires bap, e.g.,

FROM binaryanalysisplatform/bap:latest

See the toolkit's Dockerfile for the reference.

@anzosasuke
Copy link
Author

The same one the dockerfile mentioned. I built it using that dockerfile.

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

No branches or pull requests

2 participants