.\" Man page generated from reStructuredText. . . .nr rst2man-indent-level 0 . .de1 rstReportMargin \\$1 \\n[an-margin] level \\n[rst2man-indent-level] level margin: \\n[rst2man-indent\\n[rst2man-indent-level]] - \\n[rst2man-indent0] \\n[rst2man-indent1] \\n[rst2man-indent2] .. .de1 INDENT .\" .rstReportMargin pre: . RS \\$1 . nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin] . nr rst2man-indent-level +1 .\" .rstReportMargin post: .. .de UNINDENT . RE .\" indent \\n[an-margin] .\" old: \\n[rst2man-indent\\n[rst2man-indent-level]] .nr rst2man-indent-level -1 .\" new: \\n[rst2man-indent\\n[rst2man-indent-level]] .in \\n[rst2man-indent\\n[rst2man-indent-level]]u .. .TH "ABILINT" "1" "Feb 05, 2023" "" "Libabigail" .SH NAME abilint \- validate an abigail ABI representation .sp abilint parses the native XML representation of an ABI as emitted by \fI\%abidw\fP\&. Once it has parsed the XML representation of the ABI, \fBabilint\fP builds and in\-memory model from it. It then tries to save it back to an XML form, to standard output. If that read\-write operation succeeds chances are the input XML ABI representation is meaningful. .sp Note that the main intent of this tool to help debugging issues in the underlying Libabigail library. .sp Note also that \fBabilint\fP can also read an \fI\%ELF\fP input file, build the in\-memory model for its ABI, and serialize that model back into XML to standard output. In that case, the \fI\%ELF\fP input file must be accompanied with its debug information in the \fI\%DWARF\fP format. .SH INVOCATION .INDENT 0.0 .INDENT 3.5 .sp .nf .ft C abilint [options] [] .ft P .fi .UNINDENT .UNINDENT .SH OPTIONS .INDENT 0.0 .INDENT 3.5 .INDENT 0.0 .IP \(bu 2 \fB\-\-help\fP .sp Display a short help message and exits. .IP \(bu 2 \fI–version | \-v\fP .sp Display the version of the program and exit. .IP \(bu 2 \fB\-\-debug\-info\-dir\fP <\fIpath\fP> .sp When reading an \fI\%ELF\fP input file which debug information is split out into a separate file, this options tells \fBabilint\fP where to find that separate debug information file. .sp Note that \fIpath\fP must point to the root directory under which the debug information is arranged in a tree\-like manner. Under Red Hat based systems, that directory is usually \fB/usr/lib/debug\fP\&. .sp Note also that this option is not mandatory for split debug information installed by your system’s package manager because then \fBabidiff\fP knows where to find it. .IP \(bu 2 \fB\-\-diff\fP .sp For XML inputs, perform a text diff between the input and the memory model saved back to disk. This can help to spot issues in the handling of the XML format by the underlying Libabigail library. .IP \(bu 2 \fB\-\-noout\fP .sp Do not display anything on standard output. The return code of the command is the only way to know if the command succeeded. .IP \(bu 2 \fB\-\-suppressions | suppr\fP <\fIpath\-to\-suppression\-specifications\-file\fP> .sp Use a \fI\%suppression specification\fP file located at \fIpath\-to\-suppression\-specifications\-file\fP\&. Note that this option can appear multiple times on the command line. In that case, all of the provided suppression specification files are taken into account. ABI artifacts matched by the suppression specifications are suppressed from the output of this tool. .IP \(bu 2 \fB\-\-headers\-dir | \-\-hd\fP .sp Specifies where to find the public headers of the first shared library that the tool has to consider. The tool will thus filter out types that are not defined in public headers. .IP \(bu 2 \fB\-\-header\-file | \-\-hf\fP .sp Specifies where to find one of the public headers of the abi file that the tool has to consider. The tool will thus filter out types that are not defined in public headers. .IP \(bu 2 \fB\-\-stdin | \-\-\fP .sp Read the input content from standard input. .IP \(bu 2 \fB\-\-tu\fP .sp Expect the input XML to represent a single translation unit. .IP \(bu 2 \fB\-\-ctf\fP .sp Extract ABI information from CTF debug information, if present in the given object. .UNINDENT .UNINDENT .UNINDENT .SH AUTHOR Dodji Seketeli .SH COPYRIGHT 2014-2023, Red Hat, Inc. .\" Generated by docutils manpage writer. .