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

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

@ -249,8 +249,8 @@ OPTIONS
--no-default-checkers --no-default-checkers
Deactivates: Default checkers: --annotation-reachability, Deactivates: Default checkers: --annotation-reachability,
--biabduction, --fragment-retains-view, --immutable-cast, --biabduction, --fragment-retains-view, --immutable-cast,
--linters, --liveness, --ownership, --printf-args, --racerd, --linters, --liveness, --ownership, --racerd, --siof, --uninit
--siof, --uninit (Conversely: --default-checkers) See also infer-analyze(1). (Conversely: --default-checkers) See also infer-analyze(1).
--no-default-linters --no-default-linters
Deactivates: Use the default linters for the analysis. 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 --no-print-logs) See also infer-analyze(1), infer-capture(1), infer-report(1), and
infer-run(1). infer-run(1).
--no-printf-args --printf-args
Deactivates: the detection of mismatch between the Java printf Activates: the detection of mismatch between the Java printf
format strings and the argument types For, example, this checker format strings and the argument types For, example, this checker
will warn about the type error in `printf("Hello %d", "world")` 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 --printf-args-only
Activates: Enable --printf-args and disable all other checkers 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)" "[EXPERIMENTAL] Nullable type checker (incomplete: use --eradicate for now)"
and ownership = mk_checker ~long:"ownership" ~default:true "the detection of C++ lifetime bugs" and ownership = mk_checker ~long:"ownership" ~default:true "the detection of C++ lifetime bugs"
and printf_args = 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 \ "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\", \ For, example, this checker will warn about the type error in `printf(\"Hello %d\", \
\"world\")`" \"world\")`"

Loading…
Cancel
Save