UNIX/コマンド/プログラミング/strip


% ls -l a.out
-rwxr-xr-x    1 s1080134 student      5671 Oct 14 14:32 a.out*
% file a.out
a.out:          ELF 32-bit MSB executable SPARC Version 1, dynamically linked, not stripped
% strip a.out
% file a.out
a.out:          ELF 32-bit MSB executable SPARC Version 1, dynamically linked, stripped
% ls -l a.out
-rwxr-xr-x    1 s1080134 student      3172 Oct 14 14:33 a.out*
% find [path] -type f -perm +a=x | xargs file | fgrep -i `uname -p` | 
fgrep 'not stripped' | cut -d: -f1 | xargs strip


xrea