Module IBase.Config
type os_type=|Unix|Win32|Cygwintype build_system=|BAnt|BBuck|BClang|BGradle|BJava|BJavac|BMake|BMvn|BNdk|BXcodetype scheduler=|File|Restart|SyntacticCallGraph
val build_system_of_exe_name : string -> build_systemval string_of_build_system : build_system -> stringval env_inside_maven : IStdlib.IStd.Unix.env
Constant configuration values
val anonymous_block_num_sep : stringval anonymous_block_prefix : stringval append_buck_flavors : string listval assign : stringval biabduction_models_sql : stringval biabduction_models_jar : stringval bin_dir : stringval bound_error_allowed_in_procedure_call : boolval buck_java_flavor_suppress_config : boolval clang_exe_aliases : string listval clang_initializer_prefix : stringval clang_inner_destructor_prefix : stringval clang_plugin_path : stringval classpath : string optionval default_failure_name : stringval dotty_frontend_output : stringval etc_dir : stringval fail_on_issue_exit_code : intval fcp_dir : stringval idempotent_getters : boolval initial_analysis_time : floatval ivar_attributes : stringval java_lambda_marker_infix : stringmarker to recognize methods generated by javalib to eliminate lambdas
val lib_dir : stringval load_average : float optionval max_narrows : intval max_widens : intval meet_level : intval nsnotification_center_checker_backend : boolval os_type : os_typeval passthroughs : boolval patterns_modeled_expensive : string * Yojson.Basic.tval patterns_never_returning_null : string * Yojson.Basic.tval patterns_skip_implementation : string * Yojson.Basic.tval patterns_skip_translation : string * Yojson.Basic.tval pp_version : Stdlib.Format.formatter -> unit -> unitval property_attributes : stringval relative_path_backtrack : intval report : boolval report_custom_error : boolval report_force_relative_path : boolval report_immutable_modifications : boolval report_nullable_inconsistency : boolval save_compact_summaries : boolval smt_output : boolval source_file_extentions : string listval kotlin_source_extension : stringval sourcepath : string optionval sources : string listval trace_absarray : boolval unsafe_unret : stringval incremental_analysis : boolval weak : stringval whitelisted_cpp_classes : string listval whitelisted_cpp_methods : string listval wrappers_dir : string
Configuration values specified by command-line options
val abs_struct : intval abs_val : intval allow_leak : boolval annotation_reachability_cxx : Yojson.Basic.tval annotation_reachability_cxx_sources : Yojson.Basic.tval annotation_reachability_custom_pairs : Yojson.Basic.tval array_level : intval biabduction_models_mode : boolval bo_debug : intval bo_field_depth_limit : int optionval bootclasspath : string optionval buck : boolval buck_blacklist : string listval buck_build_args : string listval buck_build_args_no_inline : string listval buck_cache_mode : boolval buck_java_heap_size_gb : int optionval buck_merge_all_deps : boolval buck_mode : BuckMode.t optionval buck_out_gen : stringval buck_targets_blacklist : string listval call_graph_schedule : boolval capture : boolval capture_blacklist : string optionval cfg_json : string optionval censor_report : ((bool * Str.regexp) * (bool * Str.regexp) * string) listval changed_files_index : string optionval check_version : string optionval clang_ast_file : [ `Biniou of string | `Yojson of string ] optionval clang_compound_literal_init_limit : intval clang_extra_flags : string listval clang_blacklisted_flags : string listval clang_blacklisted_flags_with_arg : string listval clang_ignore_regex : string optionval clang_isystem_to_override_regex : Str.regexp optionval clang_idirafter_to_override_regex : Str.regexp optionval clang_libcxx_include_to_override_regex : string optionval command : ATDGenerated.InferCommand.tval continue_analysis : boolval continue_capture : boolval costs_current : string optionval cost_issues_tests : string optionval cost_scuba_logging : boolval costs_previous : string optionval cost_suppress_func_ptr : boolval cost_tests_only_autoreleasepool : boolval cxx : boolval cxx_scope_guards : Yojson.Basic.tval deduplicate : boolval debug_exceptions : boolval debug_level_analysis : intval debug_level_capture : intval debug_level_linters : intval debug_level_test_determinator : intval debug_mode : boolval default_linters : boolval dependency_mode : boolval developer_mode : boolval differential_filter_files : string optionval differential_filter_set : [ `Introduced | `Fixed | `Preexisting ] listval dotty_cfg_libs : boolval dump_duplicate_symbols : boolval eradicate_condition_redundant : boolval eradicate_field_over_annotated : boolval eradicate_return_over_annotated : boolval eradicate_verbose : boolval fail_on_bug : boolval fcp_apple_clang : string optionval fcp_syntax_only : boolval file_renamings : string optionval filter_paths : boolval filtering : boolval force_delete_results_dir : boolval force_integration : build_system optionval from_json_report : stringval from_json_costs_report : stringval frontend_stats : boolval frontend_tests : boolval function_pointer_specialization : boolval generated_classes : string optionval genrule_mode : boolval get_linter_doc_url : linter_id:string -> string optionval help_checker : Checker.t listval help_issue_type : IssueType.t listval hoisting_report_only_expensive : boolval html : boolval global_tenv : boolval icfg_dotty_outfile : string optionval infer_is_clang : boolval infer_is_javac : boolval implicit_sdk_root : string optionval inclusive_cost : boolval inferconfig_file : string optionval inferconfig_dir : string optionval is_checker_enabled : Checker.t -> boolval issues_tests : string optionval issues_tests_fields : IssuesTestField.t listval iterations : intval java_debug_source_file_info : string optionval java_jar_compiler : string optionval java_source_parser_experimental : boolval java_version : int optionval javac_classes_out : stringval job_id : string optionval jobs : intval join_cond : intval keep_going : boolval linter : string optionval linters_def_file : string listval linters_def_folder : string listval linters_developer_mode : boolval linters_ignore_clang_failures : boolval linters_validate_syntax_only : boolval list_checkers : boolval list_issue_types : boolval liveness_dangerous_classes : Yojson.Basic.tval liveness_ignored_constant : string listval max_nesting : int optionval memtrace_analysis : boolval memtrace_sampling_rate : floatval merge : boolval method_decls_info : string optionval ml_buckets : [ `MLeak_all | `MLeak_arc | `MLeak_cf | `MLeak_cpp | `MLeak_no_arc | `MLeak_unknown ] listval modified_lines : string optionval monitor_prop_size : boolval nelseg : boolval no_translate_libs : boolval nullable_annotation : string optionval nullsafe_annotation_graph : boolval nullsafe_disable_field_not_initialized_in_nonstrict_classes : boolval nullsafe_optimistic_third_party_in_default_mode : boolval nullsafe_third_party_signatures : string optionval nullsafe_third_party_location_for_messaging_only : string optionval nullsafe_strict_containers : boolval oom_threshold : int optionval only_cheap_debug : boolval only_footprint : boolval pmd_xml : boolval print_active_checkers : boolval print_builtins : boolval print_jbir : boolval print_logs : boolval print_types : boolval print_using_diff : boolval procedures : boolval procedures_attributes : boolval procedures_cfg : boolval procedures_definedness : boolval procedures_filter : string optionval procedures_name : boolval procedures_source_file : boolval procedures_summary : boolval procedures_summary_json : boolval process_clang_ast : boolval clang_frontend_action_string : stringval profiler_samples : string optionval progress_bar : [ `MultiLine | `Plain | `Quiet ]val project_root : stringval pulse_cut_to_one_path_procedures_pattern : Str.regexp optionval pulse_intraprocedural_only : boolval pulse_isl : boolval pulse_max_disjuncts : intval pulse_model_abort : string listval pulse_model_alloc_pattern : Str.regexp optionval pulse_model_release_pattern : Str.regexp optionval pulse_model_return_nonnull : Str.regexp optionval pulse_model_skip_pattern : Str.regexp optionval pulse_model_transfer_ownership_namespace : (string * string) listval pulse_model_transfer_ownership : string listval pulse_report_latent_issues : boolval pulse_recency_limit : intval pulse_widen_threshold : intval pulse_nullsafe_report_npe : boolval pure_by_default : boolval quandary_endpoints : Yojson.Basic.tval quandary_sanitizers : Yojson.Basic.tval quandary_sinks : Yojson.Basic.tval quandary_sources : Yojson.Basic.tval quiet : boolval racerd_guardedby : boolval reactive_mode : boolval reanalyze : boolval report_blacklist_files_containing : string listval report_console_limit : int optionval report_current : string optionval report_formatter : [ `No_formatter | `Phabricator_formatter ]val report_path_regex_blacklist : string listval report_path_regex_whitelist : string listval report_previous : string optionval report_suppress_errors : string listval reports_include_ml_loc : boolval rest : string listval results_dir : stringval scheduler : schedulerval scuba_logging : boolval scuba_normals : string IStdlib.IStd.String.Map.tval scuba_tags : string list IStdlib.IStd.String.Map.tval seconds_per_iteration : float optionval select : [ `All | `Select of int ] optionval show_buckets : boolval siof_check_iostreams : boolval siof_safe_methods : string listval skip_analysis_in_path : string listval skip_analysis_in_path_skips_compilation : boolval skip_duplicated_types : boolval skip_translation_headers : string listval source_files : boolval source_files_cfg : boolval source_files_filter : string optionval source_files_freshly_captured : boolval source_files_procedure_names : boolval source_files_type_environment : boolval source_preview : boolval sqlite_cache_size : intval sqlite_page_size : intval sqlite_lock_timeout : intval sqlite_vfs : string optionval starvation_skip_analysis : Yojson.Basic.tval starvation_strict_mode : boolval starvation_whole_program : boolval subtype_multirange : boolval summaries_caches_max_size : intval suppress_lint_ignore_types : boolval symops_per_iteration : int optionval tenv_json : string optionval test_determinator : boolval export_changed_functions : boolval test_filtering : boolval testing_mode : boolval threadsafe_aliases : Yojson.Basic.tval topl_max_conjuncts : intval topl_max_disjuncts : intval topl_properties : string listval trace_error : boolval trace_events : boolval trace_join : boolval trace_ondemand : boolval trace_rearrange : boolval trace_topl : boolval tv_commit : string optionval tv_limit : intval tv_limit_filtered : intval type_size : boolval uninit_interproc : boolval unsafe_malloc : boolval worklist_mode : intval workspace : string optionval write_dotty : boolval write_html : boolval write_html_whitelist_regex : string listval write_website : string optionval xcode_developer_dir : string optionval xcode_isysroot_suffix : string optionval xcpretty : bool
Configuration values derived from command-line options
val dynamic_dispatch : boolval toplevel_results_dir : stringIn some integrations, eg Buck, infer subprocesses started by the build system (started by the toplevel infer process) will have their own results directory; this points to the results directory of the toplevel infer process, which can be useful for, eg, storing debug info. In other cases this is equal to
results_dir.
val is_in_custom_symbols : string -> string -> boolDoes named symbol match any prefix in the named custom symbol list?
val scuba_execution_id : IStdlib.IStd.Int64.t optiona random number to (hopefully) uniquely identify this run