1CHECK-ABI(1) RPM Development Tools CHECK-ABI(1)
2
3
4
6 check-abi - ABI Checking
7
9 check-abi
10 [--help]
11 [--version]
12 [--verbose]
13 [--quiet]
14 [--silent]
15 [--inconsistencies]
16 [--ignore-unknown]
17 [--ignore-ABI|enum|FORTIFY|stack-prot]
18 [--readelf=path]
19 [--tmpdir=dir]
20 [--]
21 file...
22
24 The check-abi script reports any potential ABI conflicts in the files
25 specified. This includes the use of the -fshort-enums option, the
26 -fstack-protector option and the -D_FORTIFY_SOURCE option. All of
27 these can affect passing data between functions and hence should be
28 used uniformly throughout the binary.
29
30 The script accepts the following command line options:
31
32 --help
33 -h Displays the usage of the script and then exits.
34
35 --version
36 -v Displays the version of the script.
37
38 --verbose
39 -V Enables verbose mode, causing the script to detail each action it
40 takes.
41
42 --quiet
43 -q Do not include the name of script in the out generated by the
44 script.
45
46 --silent
47 -s Produce no output. Just return an exit status.
48
49 --inconsitencies
50 -i Only report files with potential ABI problems.
51
52 --ignore-unknown
53 Do not report file types that are not supported or recognised.
54
55 --ignore-ABI|enum|FORTIFY|stack-prot
56 Disables individual ABI checks. Multiple occurences of this option
57 accumulate. Possible option values are:
58
59 ABI Disable checks of the general ABI information.
60
61 enum
62 Disable checks of the -fshort-enum option.
63
64 FORTIFY
65 Disable checks of the -D_FORTIFY_SOURCE option.
66
67 stack-prot
68 Disable checks of the -fstack-protect option.
69
70 --tmpdir=dir
71 -t=dir
72 Directory to use to store temporary files.
73
74 --readelf=path
75 -r=path
76 Use the specified program to read the notes from the files.
77
78 -- Stop accumulating command line options. This allows the script to
79 be run on files whose names starts with a dash.
80
83 Copyright (c) 2018 Red Hat.
84
85 Permission is granted to copy, distribute and/or modify this document
86 under the terms of the GNU Free Documentation License, Version 1.3 or
87 any later version published by the Free Software Foundation; with no
88 Invariant Sections, with no Front-Cover Texts, and with no Back-Cover
89 Texts. A copy of the license is included in the section entitled "GNU
90 Free Documentation License".
91
92
93
94annobin-1 2018-09-12 CHECK-ABI(1)