check-abi [--help] [--version] [--verbose] [--quiet] [--silent] [--inconsistencies] [--ignore-unknown] [--ignore-ABI|enum|FORTIFY|stack-prot] [--readelf=path] [--tmpdir=dir] [--] file...
The check-abi script reports any potential ABI conflicts in the files specified. This includes the use of the -fshort-enums option, the -fstack-protector option and the -D_FORTIFY_SOURCE option. All of these can affect passing data between functions and hence should be used uniformly throughout the binary.
The script accepts the following command line options:
--help-hDisplays the usage of the script and then exits.
--version-vDisplays the version of the script.
--verbose-VEnables verbose mode, causing the script to detail each action it takes.
--quiet-qDo not include the name of script in the out generated by the script.
--silent-sProduce no output. Just return an exit status.
--inconsistencies-iOnly report files with potential ABI problems.
--ignore-unknownDo not report file types that are not supported or recognised.
--ignore-ABI|enum|FORTIFY|stack-protDisables individual ABI checks. Multiple occurrences of this option accumulate. Possible option values are:
Disable checks of the general ABI information.
Disable checks of the -fshort-enum option.
Disable checks of the ‘-D_FORTIFY_SOURCE’ option.
Disable checks of the -fstack-protect option.
--tmpdir=dir-t dirDirectory to use to store temporary files.
--readelf=path-r=pathUse the specified program to read the notes from the files.
--Stop accumulating command line options. This allows the script to be run on files whose names starts with a dash.