[infer] remove the Printf Args checker from the list of analyses run by default

Reviewed By: mbouaziz

Differential Revision: D13375374

fbshipit-source-id: 63fcb0062
master
Jeremy Dubreil 6 years ago committed by Facebook Github Bot
parent 1c4630d370
commit 49e832ed7f

@ -104,8 +104,8 @@ OPTIONS
--no-default-checkers
Deactivates: Default checkers: --annotation-reachability,
--biabduction, --fragment-retains-view, --immutable-cast,
--linters, --liveness, --ownership, --printf-args, --racerd,
--siof, --uninit (Conversely: --default-checkers)
--linters, --liveness, --ownership, --racerd, --siof, --uninit
(Conversely: --default-checkers)
--eradicate
Activates: the eradicate @Nullable checker for Java annotations
@ -212,11 +212,11 @@ OPTIONS
Activates: Also log messages to stdout and stderr (Conversely:
--no-print-logs)
--no-printf-args
Deactivates: the detection of mismatch between the Java printf
--printf-args
Activates: the detection of mismatch between the Java printf
format strings and the argument types For, example, this checker
will warn about the type error in `printf("Hello %d", "world")`
(Conversely: --printf-args)
(Conversely: --no-printf-args)
--printf-args-only
Activates: Enable --printf-args and disable all other checkers

@ -249,8 +249,8 @@ OPTIONS
--no-default-checkers
Deactivates: Default checkers: --annotation-reachability,
--biabduction, --fragment-retains-view, --immutable-cast,
--linters, --liveness, --ownership, --printf-args, --racerd,
--siof, --uninit (Conversely: --default-checkers) See also infer-analyze(1).
--linters, --liveness, --ownership, --racerd, --siof, --uninit
(Conversely: --default-checkers) See also infer-analyze(1).
--no-default-linters
Deactivates: Use the default linters for the analysis.
@ -611,11 +611,11 @@ OPTIONS
--no-print-logs) See also infer-analyze(1), infer-capture(1), infer-report(1), and
infer-run(1).
--no-printf-args
Deactivates: the detection of mismatch between the Java printf
--printf-args
Activates: the detection of mismatch between the Java printf
format strings and the argument types For, example, this checker
will warn about the type error in `printf("Hello %d", "world")`
(Conversely: --printf-args) See also infer-analyze(1).
(Conversely: --no-printf-args) See also infer-analyze(1).
--printf-args-only
Activates: Enable --printf-args and disable all other checkers

@ -249,8 +249,8 @@ OPTIONS
--no-default-checkers
Deactivates: Default checkers: --annotation-reachability,
--biabduction, --fragment-retains-view, --immutable-cast,
--linters, --liveness, --ownership, --printf-args, --racerd,
--siof, --uninit (Conversely: --default-checkers) See also infer-analyze(1).
--linters, --liveness, --ownership, --racerd, --siof, --uninit
(Conversely: --default-checkers) See also infer-analyze(1).
--no-default-linters
Deactivates: Use the default linters for the analysis.
@ -611,11 +611,11 @@ OPTIONS
--no-print-logs) See also infer-analyze(1), infer-capture(1), infer-report(1), and
infer-run(1).
--no-printf-args
Deactivates: the detection of mismatch between the Java printf
--printf-args
Activates: the detection of mismatch between the Java printf
format strings and the argument types For, example, this checker
will warn about the type error in `printf("Hello %d", "world")`
(Conversely: --printf-args) See also infer-analyze(1).
(Conversely: --no-printf-args) See also infer-analyze(1).
--printf-args-only
Activates: Enable --printf-args and disable all other checkers

@ -654,7 +654,7 @@ and ( annotation_reachability
"[EXPERIMENTAL] Nullable type checker (incomplete: use --eradicate for now)"
and ownership = mk_checker ~long:"ownership" ~default:true "the detection of C++ lifetime bugs"
and printf_args =
mk_checker ~long:"printf-args" ~default:true
mk_checker ~long:"printf-args" ~default:false
"the detection of mismatch between the Java printf format strings and the argument types \
For, example, this checker will warn about the type error in `printf(\"Hello %d\", \
\"world\")`"

Loading…
Cancel
Save