Skip to content

Commit

Permalink
oops
Browse files Browse the repository at this point in the history
  • Loading branch information
radare committed Aug 29, 2024
1 parent d6f4f63 commit ebe7723
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions r2angr/angr
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#!/bin/sh
CWD=$(dirname $0)
echo $CWD
if [ ! -d venv ]; then
python -m venv venv
fi
Expand Down
4 changes: 2 additions & 2 deletions r2angr/r2angr
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/sh
if [ ! -z "$R2_FILE" ]; then
if [ -z "$R2_FILE" ]; then
echo "Run this script from radare2. with !r2angr"
exit 1
fi
angr decompile --functions=${R2_OFFSET} ${R2_FILE} || echo "r2pm -ci angr"
angr decompile --functions=${R2_XOFFSET} ${R2_FILE} || echo "r2pm -ci angr"

0 comments on commit ebe7723

Please sign in to comment.