sylhare/Flag

/bin/true doesn't exist on Mac OSX

Closed this issue · 2 comments

For the tutorial on Angr:
https://docs.angr.io/core-concepts/toplevel

The /bin/true binary is not found.

However the true function exists

It is in /usr/bin/true

When I tried to load /usr/bin/true on macOS, angr complained about executable loader. I was able to get around with additional parameters.

proj = angr.Project('/usr/bin/true', main_opts={'backend': 'blob', 'arch': 'amd64'})