infer-debug(1)
π infer-debug(1) β Infer Debug, bestie edition
okay so this is infer-debug, from the Infer Debug manual β it's the page where you peek behind the curtain and print out infer's internal data structures β¨ ngl it's giving "backstage pass at the concert" energy.
π¦ NAME
infer-debug β print internal infer data structures π
β¨ SYNOPSIS
infer debug --global-tenv
infer debug --procedures [options]
infer debug --source-files [options]
πΈ DESCRIPTION
ok so here's the vibe check on this one, bestie π
- If
--proceduresis passed, print information about each procedures captured by infer. - If
--source-filesis passed, print information about captured source files. - If
--global-tenvis passed, print the global type environment (if any).
π¨ and like, at least one of the above options must be passed. no options = no tea, no info, no nothing. periodt.
π OPTIONS
--helpβ Show this manual π--help-format { auto | groff | pager | plain }β Show this help in the specified format.autosets the format toplainif the environment variableTERMis"dumb"or undefined, and topagerotherwise. iykyk π«Ά--help-fullβ Show this manual with all internal options in the INTERNAL OPTIONS section π₯--preanalysis-htmlβ Activates: Whether the HTML node printing for preanalysis is enabled or not. Set tofalseby default since this helps focus on debugging just the enabled analyses. (Conversely:--no-preanalysis-html) π--select (N|all)β Select option number N or all of them. If omitted, prompt for input. so like, you get to pick π
π DEBUG GLOBAL TYPE ENVIRONMENT
--global-tenvβ Activates: Print the global type environment. (Conversely:--no-global-tenv) β
π DEBUG PROCEDURES
--dump-json-specialized-call-graphβ Activates: Directly output the json export of the specialized call graph in<output-dir>/specialized_call_graph.json(Conversely:--no-dump-json-specialized-call-graph)--dump-json-summariesβ Activates: Directly output the json export of each analyzed procedures in<output-dir>/all_summaries.json(Conversely:--no-dump-json-summaries)--proceduresβ Activates: Print functions and methods discovered by infer (Conversely:--no-procedures)--procedures-attributesβ Activates: Print the attributes of each procedure in the output of--procedures(Conversely:--no-procedures-attributes)--procedures-call-graphβ Activates: Output a dotty file ininfer-out/captured/syntactic-call-graph.dot. The graph is the syntactic call graph reachable from either all captured procedures or those determined by the option--changed-files-index. (Conversely:--no-procedures-call-graph) π₯--procedures-calleesβ Activates: Print the static callees of each procedure in the output of--procedures(Conversely:--no-procedures-callees)--procedures-cfgβ Activates: Output a dotty file ininfer-out/captured/<file_name>/<proc_name>.dotfor each procedure in the output of--procedures(Conversely:--no-procedures-cfg)--no-procedures-definednessβ Deactivates: Include procedures definedness in the output of--procedures, i.e. whether the procedure definition was found, or only the procedure declaration, or the procedure is an auto-generated Objective-C accessor (Conversely:--procedures-definedness) π§--procedures-filter filterβ With--procedures, only print functions and methods (procedures) matching the specified filter. A procedure filter is of the formpath_pattern:procedure_name. Patterns are interpreted as OCaml Str regular expressions. For instance, to keep only methods named"foo", one can use the filter".*:foo", or"foo"for short. π--procedures-nameβ Activates: Include procedures names in the output of--procedures(Conversely:--no-procedures-name)--no-procedures-source-fileβ Deactivates: Include the source file in which the procedure definition or declaration was found in the output of--procedures(Conversely:--procedures-source-file)--procedures-summaryβ Activates: Print the summaries of each procedure in the output of--procedures. See also--procedures-summary-skip-empty. (Conversely:--no-procedures-summary)--procedures-summary-jsonβ Activates: Emit the summaries of each procedure in the output of--proceduresas JSON (Conversely:--no-procedures-summary-json)--procedures-summary-skip-emptyβ Activates: Completely skip procedures that do not have summaries. Useful when analyzing a small part of a big project. (To use in conjunction with--procedures-summaryor--procedures-summary-json. See also--changed-files-index.) (Conversely:--no-procedures-summary-skip-empty) π
π¦ DEBUG SOURCE FILES
--complete-capture-from pathβ Provide the path to an infer results directory containing a capture database. The capture database specified with--results-dir(which must exist) will be completed from the input database and according to themissing-*files in the results directory. The exit code will be equal to the number of rows added to the capture database. π--export-textual stringβ Export textual SIL fromcapture.dbto the specified output directory. Writes one.silfile per source file and amanifest.jsonmapping source file paths to their.silfilenames. Requires a prior capture with--dump-textualor--store-textual. β¨--extract-capture-from pathβ Provide the path to an infer results directory containing a capture database. Together with a list of files provided through the obligatory use of--changed-files-index, create a new capture database containing only the artefacts related to these files (in the location specified with--results-dir). πΈ--source-filesβ Activates: Print source files discovered by infer (Conversely:--no-source-files)--source-files-call-graphβ Activates: Output a dotty file ininfer-out/captured/file-call-graph.dot. The graph is the file-based syntactic call graph of all captured procedures (with known translation units). (Conversely:--no-source-files-call-graph)--source-files-call-graph-partition intβ The number of partitions to divide the set of captured source files, using static call graph information. The generated file lists are found underinfer-out/captured/workerXX.idx. Not setting this option skips partitioning. This is used for distributed analysis. π«Ά--source-files-cfgβ Activates: Output a dotty file ininfer-out/capturedfor each source file in the output of--source-files(Conversely:--no-source-files-cfg)--source-files-filter filterβ With--source-files, only print source files matching the specified filter. The filter is a pattern that should match the file path. Patterns are interpreted as OCaml Str regular expressions. π--source-files-freshly-capturedβ Activates: Print whether the source file has been captured in the most recent capture phase in the output of--source-files. (Conversely:--no-source-files-freshly-captured)--source-files-procedure-namesβ Activates: Print the names of procedure of each source file in the output of--source-files(Conversely:--no-source-files-procedure-names)--source-files-type-environmentβ Activates: Print the type environment of each source file in the output of--source-files(Conversely:--no-source-files-type-environment) β
π ENVIRONMENT
INFER_ARGS,INFERCONFIG,INFER_STRICT_MODEβ See the ENVIRONMENT section in the manual ofinfer(1). π
π§ FILES
.inferconfigβ See the FILES section in the manual ofinfer(1). π
π SEE ALSO
infer-explore(1), infer-report(1) β go read those too bestie, they're iconic π
and that's the whole page, no cap π«Ά this was v1.3.0-unknown, dated 2026-10-27 β mwah, stan infer-debug(1) π β¨
π¦ where this page comes from
- nixpkgs unstable: infer 1.3.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms