You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
514 lines
18 KiB
514 lines
18 KiB
5 years ago
|
<!-- Creator : groff version 1.22.4 -->
|
||
|
<!-- CreationDate: Tue May 12 16:45:49 2020 -->
|
||
5 years ago
|
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
|
||
|
"http://www.w3.org/TR/html4/loose.dtd">
|
||
|
<html>
|
||
|
<head>
|
||
|
<meta name="generator" content="groff -Thtml, see www.gnu.org">
|
||
|
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
|
||
|
<meta name="Content-Style" content="text/css">
|
||
|
<style type="text/css">
|
||
|
p { margin-top: 0; margin-bottom: 0; vertical-align: top }
|
||
|
pre { margin-top: 0; margin-bottom: 0; vertical-align: top }
|
||
|
table { margin-top: 0; margin-bottom: 0; vertical-align: top }
|
||
|
h1 { text-align: center }
|
||
|
</style>
|
||
|
<title>infer-report</title>
|
||
|
|
||
|
</head>
|
||
|
<body>
|
||
|
|
||
|
<h1 align="center">infer-report</h1>
|
||
|
|
||
|
<a href="#NAME">NAME</a><br>
|
||
|
<a href="#SYNOPSIS">SYNOPSIS</a><br>
|
||
|
<a href="#DESCRIPTION">DESCRIPTION</a><br>
|
||
|
<a href="#OPTIONS">OPTIONS</a><br>
|
||
5 years ago
|
<a href="#HOISTING OPTIONS">HOISTING OPTIONS</a><br>
|
||
5 years ago
|
<a href="#ENVIRONMENT">ENVIRONMENT</a><br>
|
||
|
<a href="#FILES">FILES</a><br>
|
||
|
<a href="#SEE ALSO">SEE ALSO</a><br>
|
||
|
|
||
|
<hr>
|
||
|
|
||
|
|
||
|
<h2>NAME
|
||
|
<a name="NAME"></a>
|
||
|
</h2>
|
||
|
|
||
|
|
||
|
<p style="margin-left:11%; margin-top: 1em">infer-report -
|
||
|
compute and manipulate infer results</p>
|
||
|
|
||
|
<h2>SYNOPSIS
|
||
|
<a name="SYNOPSIS"></a>
|
||
|
</h2>
|
||
|
|
||
|
|
||
|
<p style="margin-left:11%; margin-top: 1em"><b>infer
|
||
|
report</b> <i>[options]</i> [<i>file.specs</i>...]</p>
|
||
|
|
||
|
<h2>DESCRIPTION
|
||
|
<a name="DESCRIPTION"></a>
|
||
|
</h2>
|
||
|
|
||
|
|
||
|
<p style="margin-left:11%; margin-top: 1em">Read, convert,
|
||
|
and print .specs files in the results directory. Each spec
|
||
|
is printed to standard output unless option -q is used.</p>
|
||
|
|
||
|
<p style="margin-left:11%; margin-top: 1em">If no specs
|
||
|
file are passed on the command line, process all the .specs
|
||
|
in the results directory.</p>
|
||
|
|
||
|
<h2>OPTIONS
|
||
|
<a name="OPTIONS"></a>
|
||
|
</h2>
|
||
|
|
||
|
|
||
|
|
||
5 years ago
|
<p style="margin-left:11%; margin-top: 1em"><b>--censor-report</b>
|
||
5 years ago
|
<i>+string</i></p>
|
||
|
|
||
5 years ago
|
<p style="margin-left:17%;">Specify a filter for issues to
|
||
|
be censored by adding a 'censored_reason' field in the json
|
||
|
report. Infer will not report censored issues on the console
|
||
|
output and in bugs.txt, but tools that post-process the json
|
||
|
report can take them into account. If multiple filters are
|
||
|
specified, they are applied in the order in which they are
|
||
|
specified. Each filter is applied to each issue detected,
|
||
|
and only issues which are accepted by all filters are
|
||
|
reported. Each filter is of the form:
|
||
|
’<issue_type_regex>:<filename_regex>:<reason_string>’.
|
||
|
The first two components are OCaml Str regular expressions,
|
||
|
with an optional ’!’ character prefix. If a
|
||
|
regex has a ’!’ prefix, the polarity is
|
||
|
inverted, and the filter becomes a "blacklist"
|
||
|
instead of a "whitelist". Each filter is
|
||
|
interpreted as an implication: an issue matches if it does
|
||
|
not match the ’issue_type_regex’ or if it does
|
||
|
match the ’filename_regex’. The filenames that
|
||
|
are tested by the regex are relative to the
|
||
|
’--project-root’ directory. The
|
||
|
’<reason_string>’ is a non-empty string
|
||
|
used to explain why the issue was filtered.</p>
|
||
5 years ago
|
|
||
|
<p style="margin-left:11%;"><b>--debug</b>,<b>-g</b></p>
|
||
|
|
||
|
<p style="margin-left:17%;">Activates: Debug mode (also
|
||
|
sets <b>--debug-level 2</b>, <b>--developer-mode</b>,
|
||
|
<b>--no-filtering</b>, <b>--print-buckets</b>,
|
||
|
<b>--print-types</b>, <b>--reports-include-ml-loc</b>,
|
||
|
<b>--no-only-cheap-debug</b>, <b>--trace-error</b>,
|
||
|
<b>--write-dotty</b>, <b>--write-html</b>) (Conversely:
|
||
|
<b>--no-debug</b> | <b>-G</b>)</p>
|
||
|
|
||
|
<p style="margin-left:11%;"><b>--debug-level</b>
|
||
|
<i>level</i></p>
|
||
|
|
||
|
<p style="margin-left:17%;">Debug level (sets
|
||
|
<b>--bo-debug</b> <i>level</i>,
|
||
|
<b>--debug-level-analysis</b> <i>level</i>,
|
||
|
<b>--debug-level-capture</b> <i>level</i>,
|
||
|
<b>--debug-level-linters</b> <i>level</i>):</p>
|
||
|
|
||
|
<p style="margin-left:11%;">- 0: only basic debugging
|
||
|
enabled <br>
|
||
|
- 1: verbose debugging enabled <br>
|
||
|
- 2: very verbose debugging enabled <b><br>
|
||
|
--debug-level-analysis</b> <i>int</i></p>
|
||
|
|
||
|
<p style="margin-left:17%;">Debug level for the analysis.
|
||
5 years ago
|
See <b>--debug-level</b> for accepted values.</p>
|
||
5 years ago
|
|
||
|
<p style="margin-left:11%;"><b>--debug-level-capture</b>
|
||
|
<i>int</i></p>
|
||
|
|
||
|
<p style="margin-left:17%;">Debug level for the capture.
|
||
5 years ago
|
See <b>--debug-level</b> for accepted values.</p>
|
||
5 years ago
|
|
||
|
<p style="margin-left:11%;"><b>--debug-level-linters</b>
|
||
|
<i>int</i></p>
|
||
|
|
||
|
<p style="margin-left:17%;">Debug level for the linters.
|
||
5 years ago
|
See <b>--debug-level</b> for accepted values.</p>
|
||
5 years ago
|
|
||
|
|
||
|
<p style="margin-left:11%;"><b>--differential-filter-files</b>
|
||
|
<i>string</i></p>
|
||
|
|
||
|
<p style="margin-left:17%;">Specify the file containing the
|
||
|
list of source files for which a differential report is
|
||
|
desired. Source files should be specified relative to
|
||
|
project root or be absolute</p>
|
||
|
|
||
|
<p style="margin-left:11%;"><b>--disable-issue-type</b>
|
||
|
<i>+issue_type</i></p>
|
||
|
|
||
|
<p style="margin-left:17%;">Do not show reports coming from
|
||
|
this type of issue. Each checker can report a range of issue
|
||
|
types. This option provides fine-grained filtering over
|
||
|
which types of issue should be reported once the checkers
|
||
|
have run. In particular, note that disabling issue types
|
||
|
does not make the corresponding checker not run.</p>
|
||
|
|
||
5 years ago
|
<p style="margin-left:11%;">Available issue types are as
|
||
|
follows: <br>
|
||
|
ALLOCATION_COMPLEXITY_INCREASE (enabled by default), <br>
|
||
|
ALLOCATION_COMPLEXITY_INCREASE_COLD_START (enabled by
|
||
|
default), <br>
|
||
|
ANALYSIS_STOPS (disabled by default), <br>
|
||
|
ARRAY_OUT_OF_BOUNDS_L1 (disabled by default), <br>
|
||
|
ARRAY_OUT_OF_BOUNDS_L2 (disabled by default), <br>
|
||
|
ARRAY_OUT_OF_BOUNDS_L3 (disabled by default), <br>
|
||
|
Abduction_case_not_implemented (enabled by default), <br>
|
||
|
Array_of_pointsto (enabled by default), <br>
|
||
|
Assert_failure (enabled by default), <br>
|
||
|
BUFFER_OVERRUN_L1 (enabled by default), <br>
|
||
|
BUFFER_OVERRUN_L2 (enabled by default), <br>
|
||
|
BUFFER_OVERRUN_L3 (enabled by default), <br>
|
||
|
BUFFER_OVERRUN_L4 (disabled by default), <br>
|
||
|
BUFFER_OVERRUN_L5 (disabled by default), <br>
|
||
|
BUFFER_OVERRUN_R2 (enabled by default), <br>
|
||
|
BUFFER_OVERRUN_S2 (enabled by default), <br>
|
||
|
BUFFER_OVERRUN_U5 (disabled by default), <br>
|
||
|
Bad_footprint (enabled by default), <br>
|
||
|
CHECKERS_ALLOCATES_MEMORY (enabled by default), <br>
|
||
|
CHECKERS_ANNOTATION_REACHABILITY_ERROR (enabled by default),
|
||
5 years ago
|
<br>
|
||
5 years ago
|
CHECKERS_CALLS_EXPENSIVE_METHOD (enabled by default), <br>
|
||
|
CHECKERS_EXPENSIVE_OVERRIDES_UNANNOTATED (enabled by
|
||
|
default), <br>
|
||
|
CHECKERS_FRAGMENT_RETAINS_VIEW (enabled by default), <br>
|
||
|
CHECKERS_IMMUTABLE_CAST (enabled by default), <br>
|
||
|
CHECKERS_PRINTF_ARGS (enabled by default), <br>
|
||
|
CLASS_CAST_EXCEPTION (disabled by default), <br>
|
||
|
CLASS_LOAD (enabled by default), <br>
|
||
|
COMPARING_FLOAT_FOR_EQUALITY (enabled by default), <br>
|
||
|
COMPONENT_FACTORY_FUNCTION (enabled by default), <br>
|
||
|
COMPONENT_FILE_CYCLOMATIC_COMPLEXITY (enabled by default),
|
||
5 years ago
|
<br>
|
||
5 years ago
|
COMPONENT_FILE_LINE_COUNT (enabled by default), <br>
|
||
|
COMPONENT_INITIALIZER_WITH_SIDE_EFFECTS (enabled by
|
||
|
default), <br>
|
||
|
COMPONENT_WITH_MULTIPLE_FACTORY_METHODS (enabled by
|
||
|
default), <br>
|
||
|
COMPONENT_WITH_UNCONVENTIONAL_SUPERCLASS (enabled by
|
||
|
default), <br>
|
||
|
CONDITION_ALWAYS_FALSE (disabled by default), <br>
|
||
|
CONDITION_ALWAYS_TRUE (disabled by default), <br>
|
||
|
CREATE_INTENT_FROM_URI (enabled by default), <br>
|
||
|
CROSS_SITE_SCRIPTING (enabled by default), <br>
|
||
|
Cannot_star (enabled by default), <br>
|
||
|
Codequery (enabled by default), <br>
|
||
|
DANGLING_POINTER_DEREFERENCE (disabled by default), <br>
|
||
|
DEADLOCK (enabled by default), <br>
|
||
|
DEAD_STORE (enabled by default), <br>
|
||
|
DEALLOCATE_STACK_VARIABLE (enabled by default), <br>
|
||
|
DEALLOCATE_STATIC_MEMORY (enabled by default), <br>
|
||
|
DEALLOCATION_MISMATCH (enabled by default), <br>
|
||
|
DIVIDE_BY_ZERO (disabled by default), <br>
|
||
|
DO_NOT_REPORT (enabled by default), <br>
|
||
|
EMPTY_VECTOR_ACCESS (enabled by default), <br>
|
||
|
ERADICATE_CONDITION_REDUNDANT (enabled by default), <br>
|
||
|
ERADICATE_CONDITION_REDUNDANT_NONNULL (enabled by default),
|
||
5 years ago
|
<br>
|
||
5 years ago
|
ERADICATE_FIELD_NOT_INITIALIZED (enabled by default), <br>
|
||
|
ERADICATE_FIELD_NOT_MUTABLE (enabled by default), <br>
|
||
|
ERADICATE_FIELD_NOT_NULLABLE (enabled by default), <br>
|
||
|
ERADICATE_FIELD_OVER_ANNOTATED (enabled by default), <br>
|
||
|
ERADICATE_FIELD_VALUE_ABSENT (enabled by default), <br>
|
||
|
ERADICATE_INCONSISTENT_SUBCLASS_PARAMETER_ANNOTATION
|
||
|
(enabled <br>
|
||
|
by default), <br>
|
||
|
ERADICATE_INCONSISTENT_SUBCLASS_RETURN_ANNOTATION (enabled
|
||
|
by <br>
|
||
|
default), <br>
|
||
|
ERADICATE_NULLABLE_DEREFERENCE (enabled by default), <br>
|
||
|
ERADICATE_PARAMETER_NOT_NULLABLE (enabled by default), <br>
|
||
|
ERADICATE_PARAMETER_VALUE_ABSENT (enabled by default), <br>
|
||
|
ERADICATE_RETURN_NOT_NULLABLE (enabled by default), <br>
|
||
|
ERADICATE_RETURN_OVER_ANNOTATED (enabled by default), <br>
|
||
|
ERADICATE_RETURN_VALUE_NOT_PRESENT (enabled by default),
|
||
|
<br>
|
||
|
ERADICATE_VALUE_NOT_PRESENT (enabled by default), <br>
|
||
|
EXECUTION_TIME_COMPLEXITY_INCREASE (enabled by default),
|
||
|
<br>
|
||
|
EXECUTION_TIME_COMPLEXITY_INCREASE_COLD_START (enabled by
|
||
|
<br>
|
||
|
default), <br>
|
||
|
EXPENSIVE_ALLOCATION (disabled by default), <br>
|
||
|
EXPENSIVE_ALLOCATION_COLD_START (disabled by default), <br>
|
||
|
EXPENSIVE_EXECUTION_TIME (disabled by default), <br>
|
||
|
EXPENSIVE_EXECUTION_TIME_COLD_START (disabled by default),
|
||
|
<br>
|
||
|
EXPENSIVE_LOOP_INVARIANT_CALL (enabled by default), <br>
|
||
|
EXPOSED_INSECURE_INTENT_HANDLING (enabled by default), <br>
|
||
|
Failure_exe (enabled by default), <br>
|
||
|
GLOBAL_VARIABLE_INITIALIZED_WITH_FUNCTION_OR_METHOD_CALL
|
||
|
<br>
|
||
|
(disabled by default), <br>
|
||
|
GRAPHQL_FIELD_ACCESS (enabled by default), <br>
|
||
|
GUARDEDBY_VIOLATION (enabled by default), <br>
|
||
|
INEFFICIENT_KEYSET_ITERATOR (enabled by default), <br>
|
||
|
INFERBO_ALLOC_IS_BIG (enabled by default), <br>
|
||
|
INFERBO_ALLOC_IS_NEGATIVE (enabled by default), <br>
|
||
|
INFERBO_ALLOC_IS_ZERO (enabled by default), <br>
|
||
|
INFERBO_ALLOC_MAY_BE_BIG (enabled by default), <br>
|
||
|
INFERBO_ALLOC_MAY_BE_NEGATIVE (enabled by default), <br>
|
||
|
INFINITE_ALLOCATION (disabled by default), <br>
|
||
|
INFINITE_EXECUTION_TIME (disabled by default), <br>
|
||
|
INHERENTLY_DANGEROUS_FUNCTION (enabled by default), <br>
|
||
|
INSECURE_INTENT_HANDLING (enabled by default), <br>
|
||
|
INTEGER_OVERFLOW_L1 (enabled by default), <br>
|
||
|
INTEGER_OVERFLOW_L2 (enabled by default), <br>
|
||
|
INTEGER_OVERFLOW_L5 (disabled by default), <br>
|
||
|
INTEGER_OVERFLOW_R2 (enabled by default), <br>
|
||
|
INTEGER_OVERFLOW_U5 (disabled by default), <br>
|
||
|
INTERFACE_NOT_THREAD_SAFE (enabled by default), <br>
|
||
|
INVARIANT_CALL (enabled by default), <br>
|
||
|
IVAR_NOT_NULL_CHECKED (enabled by default), <br>
|
||
|
Internal_error (enabled by default), <br>
|
||
|
JAVASCRIPT_INJECTION (enabled by default), <br>
|
||
|
LOCK_CONSISTENCY_VIOLATION (enabled by default), <br>
|
||
|
LOGGING_PRIVATE_DATA (enabled by default), <br>
|
||
|
Leak_after_array_abstraction (enabled by default), <br>
|
||
|
Leak_in_footprint (enabled by default), <br>
|
||
|
MEMORY_LEAK (enabled by default), <br>
|
||
|
MISSING_REQUIRED_PROP (enabled by default), <br>
|
||
|
MUTABLE_LOCAL_VARIABLE_IN_COMPONENT_FILE (enabled by
|
||
|
default), <br>
|
||
|
Missing_fld (enabled by default), <br>
|
||
|
NULLSAFE_FIELD_NOT_NULLABLE (enabled by default), <br>
|
||
|
NULLSAFE_NULLABLE_DEREFERENCE (enabled by default), <br>
|
||
|
NULL_DEREFERENCE (enabled by default), <br>
|
||
|
NULL_TEST_AFTER_DEREFERENCE (disabled by default), <br>
|
||
|
PARAMETER_NOT_NULL_CHECKED (enabled by default), <br>
|
||
|
POINTER_SIZE_MISMATCH (enabled by default), <br>
|
||
|
PRECONDITION_NOT_FOUND (enabled by default), <br>
|
||
|
PRECONDITION_NOT_MET (enabled by default), <br>
|
||
|
PREMATURE_NIL_TERMINATION_ARGUMENT (enabled by default),
|
||
|
<br>
|
||
|
PURE_FUNCTION (enabled by default), <br>
|
||
|
QUANDARY_TAINT_ERROR (enabled by default), <br>
|
||
|
REGISTERED_OBSERVER_BEING_DEALLOCATED (enabled by default),
|
||
|
<br>
|
||
|
RESOURCE_LEAK (enabled by default), <br>
|
||
|
RETAIN_CYCLE (enabled by default), <br>
|
||
|
RETURN_EXPRESSION_REQUIRED (enabled by default), <br>
|
||
|
RETURN_STATEMENT_MISSING (enabled by default), <br>
|
||
|
RETURN_VALUE_IGNORED (disabled by default), <br>
|
||
|
SHELL_INJECTION (enabled by default), <br>
|
||
|
SHELL_INJECTION_RISK (enabled by default), <br>
|
||
|
SKIP_FUNCTION (enabled by default), <br>
|
||
|
SKIP_POINTER_DEREFERENCE (enabled by default), <br>
|
||
|
SQL_INJECTION (enabled by default), <br>
|
||
|
SQL_INJECTION_RISK (enabled by default), <br>
|
||
|
STACK_VARIABLE_ADDRESS_ESCAPE (disabled by default), <br>
|
||
|
STARVATION (enabled by default), <br>
|
||
|
STATIC_INITIALIZATION_ORDER_FIASCO (enabled by default),
|
||
|
<br>
|
||
|
STRICT_MODE_VIOLATION (enabled by default), <br>
|
||
|
Symexec_memory_error (enabled by default), <br>
|
||
|
TAINTED_BUFFER_ACCESS (enabled by default), <br>
|
||
|
TAINTED_MEMORY_ALLOCATION (enabled by default), <br>
|
||
|
THREAD_SAFETY_VIOLATION (enabled by default), <br>
|
||
|
TOPL_ERROR (enabled by default), <br>
|
||
|
UNARY_MINUS_APPLIED_TO_UNSIGNED_EXPRESSION (disabled by <br>
|
||
|
default), <br>
|
||
|
UNINITIALIZED_VALUE (enabled by default), <br>
|
||
|
UNREACHABLE_CODE (enabled by default), <br>
|
||
|
UNSAFE_GUARDED_BY_ACCESS (enabled by default), <br>
|
||
|
UNTRUSTED_BUFFER_ACCESS (disabled by default), <br>
|
||
|
UNTRUSTED_DESERIALIZATION (enabled by default), <br>
|
||
|
UNTRUSTED_DESERIALIZATION_RISK (enabled by default), <br>
|
||
|
UNTRUSTED_ENVIRONMENT_CHANGE_RISK (enabled by default), <br>
|
||
|
UNTRUSTED_FILE (enabled by default), <br>
|
||
|
UNTRUSTED_FILE_RISK (enabled by default), <br>
|
||
|
UNTRUSTED_HEAP_ALLOCATION (disabled by default), <br>
|
||
|
UNTRUSTED_INTENT_CREATION (enabled by default), <br>
|
||
|
UNTRUSTED_URL_RISK (enabled by default), <br>
|
||
|
UNTRUSTED_VARIABLE_LENGTH_ARRAY (enabled by default), <br>
|
||
|
USER_CONTROLLED_SQL_RISK (enabled by default), <br>
|
||
|
USE_AFTER_DELETE (enabled by default), <br>
|
||
|
USE_AFTER_FREE (enabled by default), <br>
|
||
|
USE_AFTER_LIFETIME (enabled by default), <br>
|
||
|
Unknown_proc (enabled by default), <br>
|
||
|
VECTOR_INVALIDATION (enabled by default), <br>
|
||
|
Wrong_argument_number (enabled by default), <br>
|
||
|
ZERO_ALLOCATION (disabled by default), <br>
|
||
|
ZERO_EXECUTION_TIME (disabled by default). <b><br>
|
||
5 years ago
|
--enable-issue-type</b> <i>+issue_type</i></p>
|
||
|
|
||
|
<p style="margin-left:17%;">Show reports coming from this
|
||
|
type of issue. By default, all issue types are enabled
|
||
|
except the ones listed in <b>--disable-issue-type</b>. Note
|
||
|
that enabling issue types does not make the corresponding
|
||
|
checker run; see individual checker options to turn them on
|
||
|
or off.</p>
|
||
|
|
||
|
|
||
|
<p style="margin-left:11%;"><b>--no-filtering</b>,<b>-F</b></p>
|
||
|
|
||
|
<p style="margin-left:17%;">Deactivates: Do not show the
|
||
|
experimental and blacklisted issue types (Conversely:
|
||
|
<b>--filtering</b> | <b>-f</b>)</p>
|
||
|
|
||
|
<p style="margin-left:11%;"><b>--from-json-report</b>
|
||
|
<i>report.json</i></p>
|
||
|
|
||
|
<p style="margin-left:17%;">Load analysis results from a
|
||
|
report file (default is to load the results from the specs
|
||
|
files generated by the analysis).</p>
|
||
|
|
||
|
<p style="margin-left:11%;"><b>--help</b></p>
|
||
|
|
||
|
<p style="margin-left:17%;">Show this manual</p>
|
||
|
|
||
|
<p style="margin-left:11%;"><b>--help-format</b> <i>{ auto
|
||
|
| groff | pager | plain }</i></p>
|
||
|
|
||
|
<p style="margin-left:17%;">Show this help in the specified
|
||
|
format. <b>auto</b> sets the format to <b>plain</b> if the
|
||
|
environment variable <b>TERM</b> is "dumb" or
|
||
5 years ago
|
undefined, and to <b>pager</b> otherwise.</p>
|
||
5 years ago
|
|
||
|
<p style="margin-left:11%;"><b>--help-full</b></p>
|
||
|
|
||
|
<p style="margin-left:17%;">Show this manual with all
|
||
|
internal options in the INTERNAL OPTIONS section</p>
|
||
|
|
||
|
<p style="margin-left:11%;"><b>--issues-fields</b>
|
||
5 years ago
|
<i>,-separated sequence of { bug_type | bucket | qualifier
|
||
5 years ago
|
<br>
|
||
5 years ago
|
| severity | line | column | procedure |
|
||
|
procedure_start_line | file | <br>
|
||
|
bug_trace | key | hash | line_offset | <br>
|
||
5 years ago
|
qualifier_contains_potential_exception_note }</i></p>
|
||
|
|
||
|
<p style="margin-left:17%;">Fields to emit with
|
||
5 years ago
|
<b>--issues-tests</b></p>
|
||
5 years ago
|
|
||
|
<p style="margin-left:11%;"><b>--issues-tests</b>
|
||
|
<i>file</i></p>
|
||
|
|
||
|
<p style="margin-left:17%;">Write a list of issues in a
|
||
|
format suitable for tests to <i>file</i></p>
|
||
|
|
||
|
<p style="margin-left:11%;"><b>--issues-txt</b>
|
||
|
<i>file</i></p>
|
||
|
|
||
|
<p style="margin-left:17%;">Write a list of issues in text
|
||
|
format to <i>file</i> (default: infer-out/bugs.txt)</p>
|
||
|
|
||
|
<p style="margin-left:11%;"><b>--print-logs</b></p>
|
||
|
|
||
|
<p style="margin-left:17%;">Activates: Also log messages to
|
||
|
stdout and stderr (Conversely: <b>--no-print-logs</b>)</p>
|
||
|
|
||
|
|
||
|
<p style="margin-left:11%;"><b>--project-root</b>,<b>-C</b>
|
||
|
<i>dir</i></p>
|
||
|
|
||
|
<p style="margin-left:17%;">Specify the root directory of
|
||
5 years ago
|
the project</p>
|
||
5 years ago
|
|
||
|
<p style="margin-left:11%;"><b>--quiet</b>,<b>-q</b></p>
|
||
|
|
||
|
<p style="margin-left:17%;">Activates: Do not print specs
|
||
|
on standard output (default: only print for the
|
||
|
<b>report</b> command) (Conversely: <b>--no-quiet</b> |
|
||
|
<b>-Q</b>)</p>
|
||
|
|
||
5 years ago
|
|
||
|
<p style="margin-left:11%;"><b>--report-blacklist-files-containing</b>
|
||
|
<i>+string</i></p>
|
||
|
|
||
|
<p style="margin-left:17%;">blacklist files containing the
|
||
|
specified string for the given analyzer (see
|
||
|
<b>--analyzer</b> for valid values)</p>
|
||
|
|
||
|
|
||
|
<p style="margin-left:11%;"><b>--report-blacklist-path-regex</b>
|
||
|
<i>+path_regex</i></p>
|
||
|
|
||
|
<p style="margin-left:17%;">blacklist the analysis of files
|
||
|
whose relative path matches the specified OCaml-style regex
|
||
|
(to whitelist:
|
||
|
<b>--<analyzer>-whitelist-path-regex</b>)</p>
|
||
|
|
||
5 years ago
|
<p style="margin-left:11%;"><b>--report-formatter</b> <i>{
|
||
|
none | phabricator }</i></p>
|
||
|
|
||
|
<p style="margin-left:17%;">Which formatter to use when
|
||
5 years ago
|
emitting the report</p>
|
||
|
|
||
|
|
||
|
<p style="margin-left:11%;"><b>--report-suppress-errors</b>
|
||
|
<i>+error_name</i></p>
|
||
|
|
||
|
<p style="margin-left:17%;">do not report a type of
|
||
|
errors</p>
|
||
5 years ago
|
|
||
|
<p style="margin-left:11%;"><b>--results-dir</b>,<b>-o</b>
|
||
|
<i>dir</i></p>
|
||
|
|
||
|
<p style="margin-left:17%;">Write results and internal
|
||
5 years ago
|
files in the specified directory</p>
|
||
5 years ago
|
|
||
|
|
||
|
<p style="margin-left:11%;"><b>--skip-analysis-in-path-skips-compilation</b></p>
|
||
|
|
||
|
<p style="margin-left:17%;">Activates: Whether paths in
|
||
|
--skip-analysis-in-path should be compiled or not
|
||
|
(Conversely:
|
||
|
<b>--no-skip-analysis-in-path-skips-compilation</b>)</p>
|
||
|
|
||
5 years ago
|
<h2>HOISTING OPTIONS
|
||
|
<a name="HOISTING OPTIONS"></a>
|
||
|
</h2>
|
||
|
|
||
|
|
||
|
|
||
|
<p style="margin-left:11%; margin-top: 1em"><b>--no-hoisting-report-only-expensive</b></p>
|
||
|
|
||
|
<p style="margin-left:17%;">Deactivates: [Hoisting] Report
|
||
|
loop-invariant calls only when the function is expensive,
|
||
|
i.e. at least linear (Conversely:
|
||
|
<b>--hoisting-report-only-expensive</b>)</p>
|
||
|
|
||
5 years ago
|
<h2>ENVIRONMENT
|
||
|
<a name="ENVIRONMENT"></a>
|
||
|
</h2>
|
||
|
|
||
|
|
||
|
|
||
|
<p style="margin-left:11%; margin-top: 1em"><b>INFER_ARGS</b>,
|
||
|
<b>INFERCONFIG</b>, <b>INFER_STRICT_MODE</b></p>
|
||
|
|
||
|
<p style="margin-left:17%;">See the ENVIRONMENT section in
|
||
|
the manual of <b>infer</b>(1).</p>
|
||
|
|
||
|
<h2>FILES
|
||
|
<a name="FILES"></a>
|
||
|
</h2>
|
||
|
|
||
|
|
||
|
|
||
|
<p style="margin-left:11%; margin-top: 1em"><b>.inferconfig</b></p>
|
||
|
|
||
|
<p style="margin-left:17%;">See the FILES section in the
|
||
|
manual of <b>infer</b>(1).</p>
|
||
|
|
||
|
<h2>SEE ALSO
|
||
|
<a name="SEE ALSO"></a>
|
||
|
</h2>
|
||
|
|
||
|
|
||
|
|
||
|
<p style="margin-left:11%; margin-top: 1em"><b>infer-reportdiff</b>(1),
|
||
|
<b>infer-run</b>(1)</p>
|
||
|
<hr>
|
||
|
</body>
|
||
|
</html>
|