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

Test framework does not call Bap_main.init #333

Open
codyroux opened this issue Jul 14, 2021 · 0 comments
Open

Test framework does not call Bap_main.init #333

codyroux opened this issue Jul 14, 2021 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@codyroux
Copy link
Contributor

It is technically "undefined behavior" to call any BAP function without first having called Bap_main.init to load a number of things, including Lisp semantics and disassemblers.

We either need to publish a run_unit : unit -> unit in the lib and call it in the plugin, or do something akin to here: https://github.com/BinaryAnalysisPlatform/bap/blob/master/lib_test/bap/run_tests.ml

@codyroux codyroux added the bug Something isn't working label Jul 14, 2021
@codyroux codyroux self-assigned this Jul 14, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant