texlive-tlmgr: add subpackage
[termux-packages] / scripts / check-pie.sh
CommitLineData
59f0d218
FF
1#!/bin/sh
2# check-pie.sh - script to detect non-PIE binaries (which does not work on Android)
3
4cd /data/data/com.termux/files/usr/bin/
5for file in *; do
6 if readelf -h $file 2>/dev/null | grep -q 'Type:[[:space:]]*EXEC'; then
7 echo $file
8 fi
9done