angr / angr-dev

Some helper scripts to set up an environment for angr development.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add OS dependencies check to each setup.py

rhelmot opened this issue · comments

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.

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.

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.

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.

This issue has been closed due to inactivity.