Debian Codegraph @

docs/parsers.rst

raw
1 .. Copyright 2017 David Malcolm <[email protected]>
2 Copyright 2017 Red Hat, Inc.
3
4 This library is free software; you can redistribute it and/or
5 modify it under the terms of the GNU Lesser General Public
6 License as published by the Free Software Foundation; either
7 version 2.1 of the License, or (at your option) any later version.
8
9 This library is distributed in the hope that it will be useful,
10 but WITHOUT ANY WARRANTY; without even the implied warranty of
11 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 Lesser General Public License for more details.
13
14 You should have received a copy of the GNU Lesser General Public
15 License along with this library; if not, write to the Free Software
16 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301
17 USA
18
19 Parsers
20 =======
21
22 There are various parsers that take the output of specific analyzers and
23 turn them into :py:class:`firehose.model.Analysis` instances.
24
25 * clanganalyzer.py
26
27 Parser for the ``.plist`` files emitted by the
28 `clang-static-analyzer <https://clang-analyzer.llvm.org/>`_,
29 when :option:`-plist` is passed as an option to "scan-build" or "clang"
30
31 * cppcheck.py
32
33 Parser for output from `cppcheck <http://cppcheck.sourceforge.net/>`_,
34 specifically, version 2 of its XML format as generated by:
35
36 .. code-block:: sh
37
38 cppcheck PATH_TO_SOURCES --xml --xml-version=2
39
40 * findbugs.py
41
42 Parser for xml output from `findbugs <http://findbugs.sourceforge.net/>`_.
43
44 * frama_c.py
45
46 Parser for warnings emitted by `frama-c <https://frama-c.com/>`_.
47
48 * gcc.py
49
50 Parser for warnings emitted by `GCC <https://gcc.gnu.org/>`_.
51
52 * flawfinder.py
53
54 Parser for warnings emitted by `flawfinder <https://www.dwheeler.com/flawfinder/>`_.
55
56 * splint.py
57
58 Parser for the :option:`-csv` output format from `splint <http://splint.org/>`_.