syd-elf - print executable file information
syd-elf [-36dhpstxX] binary|script
Given a binary, print file name and ELF information.
Given a script, print file name and "SCRIPT".
The information line is a list of fields delimited by colons.
-h |
Display help and exit. |
-3 |
Exit with success if the given binary is 32-bit. |
-6 |
Exit with success if the given binary is 64-bit. |
-d |
Exit with success if the given binary is dynamically linked. |
-s |
Exit with success if the given binary is statically linked. |
-p |
Exit with success if the given binary is a Position Independent
Executable (PIE). |
-t |
Print the type of the file as an abbreviation. |
-x |
Exit with success if the given executable is a script. |
-X |
Exit with success if the given binary has executable stack. |