infer-debug(1)

πŸ“¦ version 1.3.0, in nixpkgs unstable

πŸ’… 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 --procedures is passed, print information about each procedures captured by infer.
  • If --source-files is passed, print information about captured source files.
  • If --global-tenv is 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. auto sets the format to plain if the environment variable TERM is "dumb" or undefined, and to pager otherwise. 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 to false by 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 in infer-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 in infer-out/captured/<file_name>/<proc_name>.dot for 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 form path_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 --procedures as 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-summary or --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 the missing-* 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 from capture.db to the specified output directory. Writes one .sil file per source file and a manifest.json mapping source file paths to their .sil filenames. Requires a prior capture with --dump-textual or --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 in infer-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 under infer-out/captured/workerXX.idx. Not setting this option skips partitioning. This is used for distributed analysis. 🫢
  • --source-files-cfg β€” Activates: Output a dotty file in infer-out/captured for 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 of infer(1). πŸ’œ

🧚 FILES

  • .inferconfig β€” See the FILES section in the manual of infer(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