angr / angr-dev

Some helper scripts to set up an environment for angr development.
BSD 2-Clause "Simplified" License
116 stars 95 forks source link

Add OS dependencies check to each setup.py #134

Closed rhelmot closed 2 years ago

rhelmot commented 2 years ago

As per giovanni, it would be nice if each package explicitly checked for the libraries and binaries it expects to find, and if it doesn't, make an attempt to show the user a friendly error message with the OS-appropriate install command for them.

twizmwazin commented 2 years ago

One way we could do this is to have a library that acts as a broker for native binaries. A check then could simply be require_binaries("gdb", "qemu-user"). PEP 518 gives us a way to require this library as part of the build system. Such a library could also be used to locate binaries at runtime, and could compliment or replace functionality from shellphish-afl and shellphish-qemu.

github-actions[bot] commented 2 years ago

This issue has been marked as stale because it has no recent activity. Please comment or add the pinned tag to prevent this issue from being closed.

github-actions[bot] commented 2 years ago

This issue has been marked as stale because it has no recent activity. Please comment or add the pinned tag to prevent this issue from being closed.

github-actions[bot] commented 2 years ago

This issue has been closed due to inactivity.