chiark
/
gitweb
/
~mdw
/
termux-packages
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blame
|
history
|
raw
|
HEAD
preload-hacks: Some patches to make it work.
[termux-packages]
/
scripts
/
check-pie.sh
1
#!/bin/sh
2
# check-pie.sh - script to detect non-PIE binaries (which does not work on Android)
3
4
cd /data/data/com.termux/files/usr/bin/
5
for file in *; do
6
if readelf -h $file 2>/dev/null | grep -q 'Type:[[:space:]]*EXEC'; then
7
echo $file
8
fi
9
done