BinaryAnalysisPlatform / bap

Binary Analysis Platform
MIT License
2.07k stars 273 forks source link

README: "bapbuild mycode.plugin" reports error message #249

Closed ghost closed 9 years ago

ghost commented 9 years ago

when I tried to run the example code in README with "bapbuild mycode.plugin", it reports:

It seems that it needs module Project in subdirectories of my working directory, I tried "open Project" and to use "-r" in the command, but still failed, what is the problem? Add the module Project in the subdirectory?

ivg commented 9 years ago

You somehow founded an outdated README, look at that one that is on github page.

What concerning the error, just to explain its meaning:

File "mycode.ml", line 6, characters 10-34:
Error: Unbound value Project.register_plugin'
Command exited with code 2.

This was an error. It says, that symbol Project.register_plugin' is unknown. This is because at later versions of bap, it was renamed to Project.register_pass'.

Everything else in the error message is a hint from a build system, that doesn't correspond to the error.