angr/archr

Datascout bow fails to get argv when the target binary is in another directory

balbassam opened this issue · 1 comments

I get this error archr.errors.ArchrError: DataScout failed to get argv from the target process. stdout: b'' stderr: b'setarch: ././test_binaries/vulnerable: No such file or directory\n' in an angr project bow

The following short script reproduces the issue

#!/usr/bin/env python3
import archr

source = './test_binaries/vulnerable'
with archr.targets.LocalTarget([source]).build().start() as t:
    dsb = archr.arsenal.DataScoutBow(t)
    project = archr.arsenal.angrProjectBow(t, dsb).fire()

This issue does not appear when I copy the file to the same directory and use './vulnerable' instead as source.

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.