You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
9 lines
248 B
9 lines
248 B
#!/bin/sh
|
|
# check-pie.sh - script to detect non-PIE binaries (which does not work on Android)
|
|
|
|
cd /data/data/com.termux/files/usr/bin/
|
|
for file in *; do
|
|
if readelf -h $file 2>/dev/null | grep -q 'Type:[[:space:]]*EXEC'; then
|
|
echo $file
|
|
fi
|
|
done
|
|
|