Remove -open(Utils) compile flag hack

Summary:public
Eliminate the use of the -open Utils command line option passed to the compiler in favor of `open! Utils` in each source file.  While slightly convenient, this option causes more headaches than it is worth with other tools e.g. merlin.

Reviewed By: jvillard

Differential Revision: D3168193

fb-gh-sync-id: 4285ef6
fbshipit-source-id: 4285ef6
master
Josh Berdine 9 years ago committed by Facebook Github Bot 0
parent 037b27d465
commit e1020c8ebe

@ -18,7 +18,3 @@ us a line at cla@fb.com. Thanks!
`infer/tests/codetoanalyze/` and `infer/tests/codetoanalyze/` and
`infer/tests/{endtoend,frontend}/`. To run the all tests, execute `infer/tests/{endtoend,frontend}/`. To run the all tests, execute
`make test`. `make test`.
## Hacking
* Be aware that the build system implicitly opens the Utils module.

@ -10,6 +10,5 @@ PKG str
PKG unix PKG unix
PKG yojson PKG yojson
PKG zip PKG zip
FLG -open Utils
FLG -principal -safe-string -short-paths -strict-formats -strict-sequence FLG -principal -safe-string -short-paths -strict-formats -strict-sequence
FLG -w +a-4-9-40-41-42-45-48-50 FLG -w +a-4-9-40-41-42-45-48-50

@ -7,6 +7,8 @@
* of patent rights can be found in the PATENTS file in the same directory. * of patent rights can be found in the PATENTS file in the same directory.
*) *)
open! Utils
module F = Format module F = Format
module L = Logging module L = Logging

@ -7,6 +7,8 @@
* of patent rights can be found in the PATENTS file in the same directory. * of patent rights can be found in the PATENTS file in the same directory.
*) *)
open! Utils
(** Module to manage the table of attributes. *) (** Module to manage the table of attributes. *)

@ -8,6 +8,8 @@
* of patent rights can be found in the PATENTS file in the same directory. * of patent rights can be found in the PATENTS file in the same directory.
*) *)
open! Utils
module L = Logging module L = Logging
module F = Format module F = Format

@ -8,6 +8,8 @@
* of patent rights can be found in the PATENTS file in the same directory. * of patent rights can be found in the PATENTS file in the same directory.
*) *)
open! Utils
(** Control Flow Graph for Interprocedural Analysis *) (** Control Flow Graph for Interprocedural Analysis *)
(** {2 ADT node and proc_desc} *) (** {2 ADT node and proc_desc} *)

@ -8,6 +8,8 @@
* of patent rights can be found in the PATENTS file in the same directory. * of patent rights can be found in the PATENTS file in the same directory.
*) *)
open! Utils
(** Module for call graphs *) (** Module for call graphs *)
module L = Logging module L = Logging

@ -8,6 +8,8 @@
* of patent rights can be found in the PATENTS file in the same directory. * of patent rights can be found in the PATENTS file in the same directory.
*) *)
open! Utils
(** Module for call graphs *) (** Module for call graphs *)
type in_out_calls = type in_out_calls =

@ -7,6 +7,8 @@
* of patent rights can be found in the PATENTS file in the same directory. * of patent rights can be found in the PATENTS file in the same directory.
*) *)
open! Utils
(** Internal representation of data structure for Java, Objective-C and C++ classes, (** Internal representation of data structure for Java, Objective-C and C++ classes,
C-style structs struct and union, C-style structs struct and union,
And Objective C protocol *) And Objective C protocol *)

@ -7,6 +7,8 @@
* of patent rights can be found in the PATENTS file in the same directory. * of patent rights can be found in the PATENTS file in the same directory.
*) *)
open! Utils
(** Internal representation of data structure for Java, Objective-C and C++ classes, (** Internal representation of data structure for Java, Objective-C and C++ classes,
C-style structs struct and union, C-style structs struct and union,
And Objective C protocol *) And Objective C protocol *)

@ -8,6 +8,8 @@
* of patent rights can be found in the PATENTS file in the same directory. * of patent rights can be found in the PATENTS file in the same directory.
*) *)
open! Utils
(** Module for Names and Identifiers *) (** Module for Names and Identifiers *)
module L = Logging module L = Logging

@ -8,6 +8,8 @@
* of patent rights can be found in the PATENTS file in the same directory. * of patent rights can be found in the PATENTS file in the same directory.
*) *)
open! Utils
(** Identifiers: program variables and logical variables *) (** Identifiers: program variables and logical variables *)
(** Program and logical variables. *) (** Program and logical variables. *)

@ -7,6 +7,8 @@
* of patent rights can be found in the PATENTS file in the same directory. * of patent rights can be found in the PATENTS file in the same directory.
*) *)
open! Utils
module F = Format module F = Format
module L = Logging module L = Logging

@ -7,6 +7,8 @@
* of patent rights can be found in the PATENTS file in the same directory. * of patent rights can be found in the PATENTS file in the same directory.
*) *)
open! Utils
(** Location in the original source file *) (** Location in the original source file *)
type t = { type t = {
line: int; (** The line number. -1 means "do not know" *) line: int; (** The line number. -1 means "do not know" *)

@ -8,6 +8,8 @@
* of patent rights can be found in the PATENTS file in the same directory. * of patent rights can be found in the PATENTS file in the same directory.
*) *)
open! Utils
(** Module for Mangled Names *) (** Module for Mangled Names *)
module F = Format module F = Format

@ -8,6 +8,8 @@
* of patent rights can be found in the PATENTS file in the same directory. * of patent rights can be found in the PATENTS file in the same directory.
*) *)
open! Utils
(** Module for Mangled Names *) (** Module for Mangled Names *)
(** Type of mangled names *) (** Type of mangled names *)

@ -7,6 +7,8 @@
* of patent rights can be found in the PATENTS file in the same directory. * of patent rights can be found in the PATENTS file in the same directory.
*) *)
open! Utils
(** Attributes of a procedure. *) (** Attributes of a procedure. *)
module L = Logging module L = Logging

@ -7,6 +7,8 @@
* of patent rights can be found in the PATENTS file in the same directory. * of patent rights can be found in the PATENTS file in the same directory.
*) *)
open! Utils
(** Attributes of a procedure. *) (** Attributes of a procedure. *)
type objc_accessor_type = type objc_accessor_type =

@ -8,6 +8,8 @@
* of patent rights can be found in the PATENTS file in the same directory. * of patent rights can be found in the PATENTS file in the same directory.
*) *)
open! Utils
(** Module for Procedure Names *) (** Module for Procedure Names *)
module L = Logging module L = Logging

@ -8,6 +8,8 @@
* of patent rights can be found in the PATENTS file in the same directory. * of patent rights can be found in the PATENTS file in the same directory.
*) *)
open! Utils
(** Module for Procedure Names. *) (** Module for Procedure Names. *)
(** Type of java procedure names. *) (** Type of java procedure names. *)

@ -8,6 +8,8 @@
* of patent rights can be found in the PATENTS file in the same directory. * of patent rights can be found in the PATENTS file in the same directory.
*) *)
open! Utils
(** The Smallfoot Intermediate Language *) (** The Smallfoot Intermediate Language *)
module L = Logging module L = Logging

@ -8,6 +8,8 @@
* of patent rights can be found in the PATENTS file in the same directory. * of patent rights can be found in the PATENTS file in the same directory.
*) *)
open! Utils
(** Program variables. *) (** Program variables. *)
module F = Format module F = Format

@ -8,6 +8,8 @@
* of patent rights can be found in the PATENTS file in the same directory. * of patent rights can be found in the PATENTS file in the same directory.
*) *)
open! Utils
(** The Smallfoot Intermediate Language *) (** The Smallfoot Intermediate Language *)
module L = Logging module L = Logging

@ -8,6 +8,8 @@
* of patent rights can be found in the PATENTS file in the same directory. * of patent rights can be found in the PATENTS file in the same directory.
*) *)
open! Utils
(** The Smallfoot Intermediate Language *) (** The Smallfoot Intermediate Language *)
module F = Format module F = Format

@ -7,6 +7,8 @@
* of patent rights can be found in the PATENTS file in the same directory. * of patent rights can be found in the PATENTS file in the same directory.
*) *)
open! Utils
(** Module for Type Environments. *) (** Module for Type Environments. *)
(** Hash tables on strings. *) (** Hash tables on strings. *)

@ -7,6 +7,8 @@
* of patent rights can be found in the PATENTS file in the same directory. * of patent rights can be found in the PATENTS file in the same directory.
*) *)
open! Utils
(** Module for Type Environments. *) (** Module for Type Environments. *)
type t (** Type for type environment. *) type t (** Type for type environment. *)

@ -7,6 +7,8 @@
* of patent rights can be found in the PATENTS file in the same directory. * of patent rights can be found in the PATENTS file in the same directory.
*) *)
open! Utils
module F = Format module F = Format
(** Named types. *) (** Named types. *)

@ -7,6 +7,8 @@
* of patent rights can be found in the PATENTS file in the same directory. * of patent rights can be found in the PATENTS file in the same directory.
*) *)
open! Utils
(** Named types. *) (** Named types. *)
type t = type t =
| TN_typedef of Mangled.t | TN_typedef of Mangled.t

@ -40,7 +40,6 @@ OCAMLBUILD_OPTIONS = \
-cflags -strict-sequence \ -cflags -strict-sequence \
-cflags -w,$(OCAML_FATAL_WARNINGS)-4-9-40-41-42-45-48-50 \ -cflags -w,$(OCAML_FATAL_WARNINGS)-4-9-40-41-42-45-48-50 \
-tag-line "<*{clang/clang_ast_*,backend/jsonbug_*}>: warn(-27-32-35-39)" \ -tag-line "<*{clang/clang_ast_*,backend/jsonbug_*}>: warn(-27-32-35-39)" \
-tag-line "not <**/{config,iList,utils}.*>: open(Utils)" \
-pkgs atdgen,extlib,oUnit,str,unix,yojson,zip -pkgs atdgen,extlib,oUnit,str,unix,yojson,zip
ifeq (@ENABLE_OCAML_ANNOT@,yes) ifeq (@ENABLE_OCAML_ANNOT@,yes)

@ -8,6 +8,8 @@
* of patent rights can be found in the PATENTS file in the same directory. * of patent rights can be found in the PATENTS file in the same directory.
*) *)
open! Utils
(** Database of analysis results *) (** Database of analysis results *)
module F = Format module F = Format

@ -8,6 +8,8 @@
* of patent rights can be found in the PATENTS file in the same directory. * of patent rights can be found in the PATENTS file in the same directory.
*) *)
open! Utils
(** Database of analysis results *) (** Database of analysis results *)
(** {2 Filename} *) (** {2 Filename} *)

@ -8,6 +8,8 @@
* of patent rights can be found in the PATENTS file in the same directory. * of patent rights can be found in the PATENTS file in the same directory.
*) *)
open! Utils
(** Implementation of Abstraction Functions *) (** Implementation of Abstraction Functions *)
module L = Logging module L = Logging

@ -8,6 +8,8 @@
* of patent rights can be found in the PATENTS file in the same directory. * of patent rights can be found in the PATENTS file in the same directory.
*) *)
open! Utils
(** Implementation of Abstraction Functions *) (** Implementation of Abstraction Functions *)
(** Abstraction rules discovered *) (** Abstraction rules discovered *)

@ -8,6 +8,8 @@
* of patent rights can be found in the PATENTS file in the same directory. * of patent rights can be found in the PATENTS file in the same directory.
*) *)
open! Utils
(** Abstraction for Arrays *) (** Abstraction for Arrays *)
module L = Logging module L = Logging

@ -8,6 +8,8 @@
* of patent rights can be found in the PATENTS file in the same directory. * of patent rights can be found in the PATENTS file in the same directory.
*) *)
open! Utils
(** Abstraction for Arrays *) (** Abstraction for Arrays *)
(** Apply array abstraction and check the result *) (** Apply array abstraction and check the result *)

@ -8,6 +8,8 @@
* of patent rights can be found in the PATENTS file in the same directory. * of patent rights can be found in the PATENTS file in the same directory.
*) *)
open! Utils
(** Generate unit tests automatically from specs *) (** Generate unit tests automatically from specs *)
module L = Logging module L = Logging

@ -8,6 +8,8 @@
* of patent rights can be found in the PATENTS file in the same directory. * of patent rights can be found in the PATENTS file in the same directory.
*) *)
open! Utils
(** Generate unit tests automatically from specs *) (** Generate unit tests automatically from specs *)
(** type of generated code *) (** type of generated code *)

@ -8,6 +8,8 @@
* of patent rights can be found in the PATENTS file in the same directory. * of patent rights can be found in the PATENTS file in the same directory.
*) *)
open! Utils
(** Classify bugs into buckets *) (** Classify bugs into buckets *)
module L = Logging module L = Logging

@ -8,6 +8,8 @@
* of patent rights can be found in the PATENTS file in the same directory. * of patent rights can be found in the PATENTS file in the same directory.
*) *)
open! Utils
(** Classify bugs into buckets *) (** Classify bugs into buckets *)
(** Classify the bucket of an error desc using Location.access and nullable information *) (** Classify the bucket of an error desc using Location.access and nullable information *)

@ -7,6 +7,8 @@
* of patent rights can be found in the PATENTS file in the same directory. * of patent rights can be found in the PATENTS file in the same directory.
*) *)
open! Utils
(** Module for builtin functions with their symbolic execution handler *) (** Module for builtin functions with their symbolic execution handler *)
type args = { type args = {

@ -7,6 +7,8 @@
* of patent rights can be found in the PATENTS file in the same directory. * of patent rights can be found in the PATENTS file in the same directory.
*) *)
open! Utils
(** Module for builtin functions with their symbolic execution handler *) (** Module for builtin functions with their symbolic execution handler *)
type args = { type args = {

@ -7,6 +7,8 @@
* of patent rights can be found in the PATENTS file in the same directory. * of patent rights can be found in the PATENTS file in the same directory.
*) *)
open! Utils
module L = Logging module L = Logging
(** Module to register and invoke callbacks *) (** Module to register and invoke callbacks *)

@ -7,6 +7,8 @@
* of patent rights can be found in the PATENTS file in the same directory. * of patent rights can be found in the PATENTS file in the same directory.
*) *)
open! Utils
(** Module to register and invoke callbacks *) (** Module to register and invoke callbacks *)
type proc_callback_args = { type proc_callback_args = {

@ -7,6 +7,8 @@
* of patent rights can be found in the PATENTS file in the same directory. * of patent rights can be found in the PATENTS file in the same directory.
*) *)
open! Utils
module L = Logging module L = Logging
module F = Format module F = Format

@ -7,6 +7,8 @@
* of patent rights can be found in the PATENTS file in the same directory. * of patent rights can be found in the PATENTS file in the same directory.
*) *)
open! Utils
module F = Format module F = Format
(** Module to process clusters of procedures. *) (** Module to process clusters of procedures. *)

@ -7,6 +7,8 @@
* of patent rights can be found in the PATENTS file in the same directory. * of patent rights can be found in the PATENTS file in the same directory.
*) *)
open! Utils
module L = Logging module L = Logging
module F = Format module F = Format

@ -8,6 +8,8 @@
* of patent rights can be found in the PATENTS file in the same directory. * of patent rights can be found in the PATENTS file in the same directory.
*) *)
open! Utils
(** Operators for the abstract domain. In particular, join and meet. *) (** Operators for the abstract domain. In particular, join and meet. *)
module L = Logging module L = Logging

@ -8,6 +8,8 @@
* of patent rights can be found in the PATENTS file in the same directory. * of patent rights can be found in the PATENTS file in the same directory.
*) *)
open! Utils
(** Join and Meet Operators *) (** Join and Meet Operators *)
(** {2 Join Operators} *) (** {2 Join Operators} *)

@ -8,6 +8,8 @@
* of patent rights can be found in the PATENTS file in the same directory. * of patent rights can be found in the PATENTS file in the same directory.
*) *)
open! Utils
module L = Logging module L = Logging
module F = Format module F = Format

@ -8,6 +8,8 @@
* of patent rights can be found in the PATENTS file in the same directory. * of patent rights can be found in the PATENTS file in the same directory.
*) *)
open! Utils
(** Pretty printing functions in dot format. *) (** Pretty printing functions in dot format. *)
(** {2 Propositions} *) (** {2 Propositions} *)

@ -8,6 +8,8 @@
* of patent rights can be found in the PATENTS file in the same directory. * of patent rights can be found in the PATENTS file in the same directory.
*) *)
open! Utils
(** Create descriptions of analysis errors *) (** Create descriptions of analysis errors *)
module L = Logging module L = Logging

@ -8,6 +8,8 @@
* of patent rights can be found in the PATENTS file in the same directory. * of patent rights can be found in the PATENTS file in the same directory.
*) *)
open! Utils
(** Create descriptions of analysis errors *) (** Create descriptions of analysis errors *)
(** find the dexp, if any, where the given value is stored (** find the dexp, if any, where the given value is stored

@ -7,6 +7,8 @@
* of patent rights can be found in the PATENTS file in the same directory. * of patent rights can be found in the PATENTS file in the same directory.
*) *)
open! Utils
module L = Logging module L = Logging
module F = Format module F = Format

@ -7,6 +7,8 @@
* of patent rights can be found in the PATENTS file in the same directory. * of patent rights can be found in the PATENTS file in the same directory.
*) *)
open! Utils
(** Module for error logs. *) (** Module for error logs. *)
(** Element of a loc trace *) (** Element of a loc trace *)

@ -7,6 +7,8 @@
* of patent rights can be found in the PATENTS file in the same directory. * of patent rights can be found in the PATENTS file in the same directory.
*) *)
open! Utils
(** Escape a string for use in a CSV or XML file: replace reserved (** Escape a string for use in a CSV or XML file: replace reserved
characters with escape sequences *) characters with escape sequences *)

@ -7,6 +7,8 @@
* of patent rights can be found in the PATENTS file in the same directory. * of patent rights can be found in the PATENTS file in the same directory.
*) *)
open! Utils
(** Escape a string for use in a CSV or XML file: replace reserved (** Escape a string for use in a CSV or XML file: replace reserved
characters with escape sequences *) characters with escape sequences *)

@ -8,6 +8,8 @@
* of patent rights can be found in the PATENTS file in the same directory. * of patent rights can be found in the PATENTS file in the same directory.
*) *)
open! Utils
module L = Logging module L = Logging
module F = Format module F = Format

@ -8,6 +8,8 @@
* of patent rights can be found in the PATENTS file in the same directory. * of patent rights can be found in the PATENTS file in the same directory.
*) *)
open! Utils
(** Functions for logging and printing exceptions *) (** Functions for logging and printing exceptions *)
type exception_visibility = (** visibility of the exception *) type exception_visibility = (** visibility of the exception *)

@ -8,6 +8,8 @@
* of patent rights can be found in the PATENTS file in the same directory. * of patent rights can be found in the PATENTS file in the same directory.
*) *)
open! Utils
(** Support for Execution environments *) (** Support for Execution environments *)
module L = Logging module L = Logging

@ -8,6 +8,8 @@
* of patent rights can be found in the PATENTS file in the same directory. * of patent rights can be found in the PATENTS file in the same directory.
*) *)
open! Utils
(** Support for Execution environments *) (** Support for Execution environments *)
(** initial state, used to add cg's *) (** initial state, used to add cg's *)

@ -8,6 +8,8 @@
* of patent rights can be found in the PATENTS file in the same directory. * of patent rights can be found in the PATENTS file in the same directory.
*) *)
open! Utils
(** Main module for the analysis after the capture phase *) (** Main module for the analysis after the capture phase *)
module L = Logging module L = Logging

@ -8,4 +8,6 @@
* of patent rights can be found in the PATENTS file in the same directory. * of patent rights can be found in the PATENTS file in the same directory.
*) *)
open! Utils
(** Main module for the analysis after the capture phase *) (** Main module for the analysis after the capture phase *)

@ -7,6 +7,8 @@
* of patent rights can be found in the PATENTS file in the same directory. * of patent rights can be found in the PATENTS file in the same directory.
*) *)
open! Utils
module L = Logging module L = Logging
(** Look up a key in a json file containing a list of strings *) (** Look up a key in a json file containing a list of strings *)

@ -7,6 +7,8 @@
* of patent rights can be found in the PATENTS file in the same directory. * of patent rights can be found in the PATENTS file in the same directory.
*) *)
open! Utils
(** get the path to the .inferconfig file *) (** get the path to the .inferconfig file *)
val inferconfig : unit -> string val inferconfig : unit -> string

@ -8,6 +8,8 @@
* of patent rights can be found in the PATENTS file in the same directory. * of patent rights can be found in the PATENTS file in the same directory.
*) *)
open! Utils
module L = Logging module L = Logging
module F = Format module F = Format
open Jsonbug_j open Jsonbug_j

@ -8,6 +8,8 @@
* of patent rights can be found in the PATENTS file in the same directory. * of patent rights can be found in the PATENTS file in the same directory.
*) *)
open! Utils
(** Interprocedural Analysis *) (** Interprocedural Analysis *)
module L = Logging module L = Logging

@ -8,6 +8,8 @@
* of patent rights can be found in the PATENTS file in the same directory. * of patent rights can be found in the PATENTS file in the same directory.
*) *)
open! Utils
(** Interprocedural Analysis *) (** Interprocedural Analysis *)
(** Perform the analysis of an exe_env *) (** Perform the analysis of an exe_env *)

@ -8,6 +8,8 @@
* of patent rights can be found in the PATENTS file in the same directory. * of patent rights can be found in the PATENTS file in the same directory.
*) *)
open! Utils
(** Module to handle IO. Includes html and xml modules. *) (** Module to handle IO. Includes html and xml modules. *)
module F = Format module F = Format

@ -8,6 +8,8 @@
* of patent rights can be found in the PATENTS file in the same directory. * of patent rights can be found in the PATENTS file in the same directory.
*) *)
open! Utils
(** Module to handle IO. Includes html and xml modules. *) (** Module to handle IO. Includes html and xml modules. *)
module Html : sig module Html : sig

@ -7,6 +7,8 @@
* of patent rights can be found in the PATENTS file in the same directory. * of patent rights can be found in the PATENTS file in the same directory.
*) *)
open! Utils
(** Object representing the status of the join operation *) (** Object representing the status of the join operation *)
type mode = type mode =

@ -7,6 +7,8 @@
* of patent rights can be found in the PATENTS file in the same directory. * of patent rights can be found in the PATENTS file in the same directory.
*) *)
open! Utils
(** Object representing the status of the join operation *) (** Object representing the status of the join operation *)
type mode = type mode =

@ -8,6 +8,8 @@
* of patent rights can be found in the PATENTS file in the same directory. * of patent rights can be found in the PATENTS file in the same directory.
*) *)
open! Utils
module F = Format module F = Format
(** Produce output in latex *) (** Produce output in latex *)

@ -8,6 +8,8 @@
* of patent rights can be found in the PATENTS file in the same directory. * of patent rights can be found in the PATENTS file in the same directory.
*) *)
open! Utils
type style = type style =
| Boldface | Boldface
| Roman | Roman

@ -8,6 +8,8 @@
* of patent rights can be found in the PATENTS file in the same directory. * of patent rights can be found in the PATENTS file in the same directory.
*) *)
open! Utils
(** Support for localisation *) (** Support for localisation *)
module F = Format module F = Format

@ -8,6 +8,8 @@
* of patent rights can be found in the PATENTS file in the same directory. * of patent rights can be found in the PATENTS file in the same directory.
*) *)
open! Utils
(** Support for localisation *) (** Support for localisation *)
(** type of string used for localisation *) (** type of string used for localisation *)

@ -8,6 +8,8 @@
* of patent rights can be found in the PATENTS file in the same directory. * of patent rights can be found in the PATENTS file in the same directory.
*) *)
open! Utils
(** log messages at different levels of verbosity *) (** log messages at different levels of verbosity *)
module F = Format module F = Format

@ -8,6 +8,8 @@
* of patent rights can be found in the PATENTS file in the same directory. * of patent rights can be found in the PATENTS file in the same directory.
*) *)
open! Utils
(** log messages at different levels of verbosity *) (** log messages at different levels of verbosity *)
(** type of printable elements *) (** type of printable elements *)

@ -8,6 +8,8 @@
* of patent rights can be found in the PATENTS file in the same directory. * of patent rights can be found in the PATENTS file in the same directory.
*) *)
open! Utils
(** Functions for "Smart" Pattern Matching *) (** Functions for "Smart" Pattern Matching *)
module L = Logging module L = Logging

@ -8,6 +8,8 @@
* of patent rights can be found in the PATENTS file in the same directory. * of patent rights can be found in the PATENTS file in the same directory.
*) *)
open! Utils
(** Implementation of "Smart" Pattern Matching for higher order singly-linked list predicate. (** Implementation of "Smart" Pattern Matching for higher order singly-linked list predicate.
Used for detecting on a given program if some data scructures are matching some predefined higher-order list predicates. When it is the case, these predicates can be used as possible candidates for abstracting the data-structures. Used for detecting on a given program if some data scructures are matching some predefined higher-order list predicates. When it is the case, these predicates can be used as possible candidates for abstracting the data-structures.

@ -7,6 +7,8 @@
* of patent rights can be found in the PATENTS file in the same directory. * of patent rights can be found in the PATENTS file in the same directory.
*) *)
open! Utils
module L = Logging module L = Logging
module F = Format module F = Format

@ -8,6 +8,8 @@
* of patent rights can be found in the PATENTS file in the same directory. * of patent rights can be found in the PATENTS file in the same directory.
*) *)
open! Utils
(** This module handles buckets of memory leaks in Objective-C/C++ *) (** This module handles buckets of memory leaks in Objective-C/C++ *)
let objc_arc_flag = "objc_arc" let objc_arc_flag = "objc_arc"

@ -7,6 +7,8 @@
* of patent rights can be found in the PATENTS file in the same directory. * of patent rights can be found in the PATENTS file in the same directory.
*) *)
open! Utils
(** This module handles buckets of memory leaks in Objective-C *) (** This module handles buckets of memory leaks in Objective-C *)
val objc_arc_flag : string val objc_arc_flag : string

@ -7,6 +7,8 @@
* of patent rights can be found in the PATENTS file in the same directory. * of patent rights can be found in the PATENTS file in the same directory.
*) *)
open! Utils
(** Models for the builtin functions supported *) (** Models for the builtin functions supported *)
open SymExec open SymExec

@ -7,6 +7,8 @@
* of patent rights can be found in the PATENTS file in the same directory. * of patent rights can be found in the PATENTS file in the same directory.
*) *)
open! Utils
(** Models for the builtin functions supported *) (** Models for the builtin functions supported *)
val __assert_fail : Procname.t val __assert_fail : Procname.t

@ -7,6 +7,8 @@
* of patent rights can be found in the PATENTS file in the same directory. * of patent rights can be found in the PATENTS file in the same directory.
*) *)
open! Utils
(** This module handles C or Objective-C types for which there are special rules for memory management *) (** This module handles C or Objective-C types for which there are special rules for memory management *)
(** This module models special c struct types from the Apple's Core Foundation libraries (** This module models special c struct types from the Apple's Core Foundation libraries

@ -7,6 +7,8 @@
* of patent rights can be found in the PATENTS file in the same directory. * of patent rights can be found in the PATENTS file in the same directory.
*) *)
open! Utils
(** This module models special c struct types from the Apple's Core Foundation libraries (** This module models special c struct types from the Apple's Core Foundation libraries
for which there are particular rules for memory management. *) for which there are particular rules for memory management. *)

@ -7,6 +7,8 @@
* of patent rights can be found in the PATENTS file in the same directory. * of patent rights can be found in the PATENTS file in the same directory.
*) *)
open! Utils
(** Module for on-demand analysis. *) (** Module for on-demand analysis. *)
module L = Logging module L = Logging

@ -7,6 +7,8 @@
* of patent rights can be found in the PATENTS file in the same directory. * of patent rights can be found in the PATENTS file in the same directory.
*) *)
open! Utils
(** Module for on-demand analysis. *) (** Module for on-demand analysis. *)
(** Optional set of source dirs to analyze in on-demand mode. *) (** Optional set of source dirs to analyze in on-demand mode. *)

@ -8,6 +8,8 @@
* of patent rights can be found in the PATENTS file in the same directory. * of patent rights can be found in the PATENTS file in the same directory.
*) *)
open! Utils
(** Execution Paths *) (** Execution Paths *)
module L = Logging module L = Logging

@ -8,6 +8,8 @@
* of patent rights can be found in the PATENTS file in the same directory. * of patent rights can be found in the PATENTS file in the same directory.
*) *)
open! Utils
(** Execution Paths *) (** Execution Paths *)
module Path : sig module Path : sig

@ -8,6 +8,8 @@
* of patent rights can be found in the PATENTS file in the same directory. * of patent rights can be found in the PATENTS file in the same directory.
*) *)
open! Utils
module L = Logging module L = Logging
(** find all the predecessors of nodes, using exception links *) (** find all the predecessors of nodes, using exception links *)

@ -8,6 +8,8 @@
* of patent rights can be found in the PATENTS file in the same directory. * of patent rights can be found in the PATENTS file in the same directory.
*) *)
open! Utils
(** Preanalysis for eliminating dead local variables *) (** Preanalysis for eliminating dead local variables *)
(** Perform liveness analysis *) (** Perform liveness analysis *)

@ -7,6 +7,8 @@
* of patent rights can be found in the PATENTS file in the same directory. * of patent rights can be found in the PATENTS file in the same directory.
*) *)
open! Utils
module F = Format module F = Format
(** Wrappers for making pretty-printable modules *) (** Wrappers for making pretty-printable modules *)

@ -7,6 +7,8 @@
* of patent rights can be found in the PATENTS file in the same directory. * of patent rights can be found in the PATENTS file in the same directory.
*) *)
open! Utils
module F = Format module F = Format
(** Wrappers for making pretty-printable modules *) (** Wrappers for making pretty-printable modules *)

@ -8,6 +8,8 @@
* of patent rights can be found in the PATENTS file in the same directory. * of patent rights can be found in the PATENTS file in the same directory.
*) *)
open! Utils
(** Printers for the analysis results *) (** Printers for the analysis results *)
module L = Logging module L = Logging

@ -8,6 +8,8 @@
* of patent rights can be found in the PATENTS file in the same directory. * of patent rights can be found in the PATENTS file in the same directory.
*) *)
open! Utils
(** Printers for the analysis results *) (** Printers for the analysis results *)
(** Module to read specific lines from files. (** Module to read specific lines from files.

@ -8,6 +8,8 @@
* of patent rights can be found in the PATENTS file in the same directory. * of patent rights can be found in the PATENTS file in the same directory.
*) *)
open! Utils
(** Functions for Propositions (i.e., Symbolic Heaps) *) (** Functions for Propositions (i.e., Symbolic Heaps) *)
module L = Logging module L = Logging

@ -8,6 +8,8 @@
* of patent rights can be found in the PATENTS file in the same directory. * of patent rights can be found in the PATENTS file in the same directory.
*) *)
open! Utils
(** Functions for Propositions (i.e., Symbolic Heaps) *) (** Functions for Propositions (i.e., Symbolic Heaps) *)
open Sil open Sil

@ -8,6 +8,8 @@
* of patent rights can be found in the PATENTS file in the same directory. * of patent rights can be found in the PATENTS file in the same directory.
*) *)
open! Utils
(** Propositions seen as graphs *) (** Propositions seen as graphs *)
module F = Format module F = Format

@ -8,6 +8,8 @@
* of patent rights can be found in the PATENTS file in the same directory. * of patent rights can be found in the PATENTS file in the same directory.
*) *)
open! Utils
(** Propositions seen as graphs *) (** Propositions seen as graphs *)
type t (** prop considered as a graph *) type t (** prop considered as a graph *)

Some files were not shown because too many files have changed in this diff Show More

Loading…
Cancel
Save