1CSDIFF(1)                        User Commands                       CSDIFF(1)
2
3
4

NAME

6       csdiff  -  take  two  lists of defects and output either added or fixed
7       ones
8

SYNOPSIS

10       csdiff [options] old.err new.err, where options are:
11

DESCRIPTION

13       -x [ --fixed ]
14              print fixed defects (just swaps the arguments)
15
16       -z [ --ignore-path ]
17              ignore directory structure when matching
18
19       -i [ --show-internal ]
20              include internal warnings in the output
21
22       -q [ --quiet ]
23              do not report any parsing errors
24
25       -c [ --coverity-output ]
26              write the result in Coverity format
27
28       -j [ --json-output ]
29              write the result in JSON format
30
31       --html-output
32              write the result in HTML format
33
34       -s [ --file-rename ] arg
35              account the file base-name change, [OLD,NEW] (*testing*)
36
37       -f [ --filter-file ] arg
38              read custom filtering rules from a file in JSON format
39
40       --color
41              use colorized console output (default if connected to  a  termiā€
42              nal)
43
44       --no-color
45              do not use colorized console output
46
47       --help produce help message
48
49       --version
50              print version
51

OPTIONS

53       The  --filter-file  option  takes a list of JSON files in the following
54       format.  Missing replace entry is equal to replace : "".
55
56           {
57               "msg-filter" : [
58                   {
59                        "checker" : "DIVINE|SYMBIOTIC",
60                        "regexp" : "memory"
61                   },
62                   {
63                        "checker" : "COMPILER_WARNING",
64                        "regexp" : "called on unallocated object",
65                        "replace" : "called correctly, no UB here"
66                   }
67               ]
68           }
69

EXIT STATUS

71       csdiff exits with status 0 if arguments are valid and input  files  are
72       parsed  successfully.   It  does  not  matter  whether any defects were
73       matched or not.
74
75
76
77csdiff 2.6.0                       June 2022                         CSDIFF(1)
Impressum