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

Build errors on macOS 10.13.3 #9

Closed
lanza opened this issue Feb 26, 2018 · 4 comments
Closed

Build errors on macOS 10.13.3 #9

lanza opened this issue Feb 26, 2018 · 4 comments

Comments

@lanza
Copy link

lanza commented Feb 26, 2018

Sorry, I know absolutely nothing about ocaml to even begin diagnosing the issue, so I'll just copy paste the errors to a gist.

https://gist.github.com/lanza/bf176c06bbad4f7f5c12ddd45b148d69

@m4b
Copy link
Owner

m4b commented Feb 26, 2018

Bytes need to be switched to String or vice versa.

I don’t maintain this project anymore but I suppose I’ll merge a PR that fixes this. (I will not work on it though)

@ivg
Copy link

ivg commented Feb 26, 2018

@lanza, my suggestion would be to use less fresh OCaml compiler. You're using 4.06 that is the latest and where they finally enforced the separation between bytes and strings. E.g., if you're using opam, then you can do

opam switch 4.05.0
eval `opam config env`

and then install rdr.

@m4b the hotfix could be adding -unsafe-string option to the compiler.

@m4b
Copy link
Owner

m4b commented Feb 26, 2018

@lanza If you want a cli tool similar to rdr but better/maintained try https://github.com/m4b/bingrep

If you want to mess around with binary stuff in ocaml then I suggest you to the bap project: https://Github.com/binaryanalysisplatform/bap

@ivg
Copy link

ivg commented Feb 26, 2018

the latter link should be https://github.com/BinaryAnalysisPlatform/bap or just http://bap.ece.cmu.edu :)

@lanza lanza closed this as completed Oct 10, 2021
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

3 participants