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.
27 lines
1021 B
27 lines
1021 B
8 years ago
|
(*
|
||
|
* Copyright (c) 2015 - present Facebook, Inc.
|
||
|
* All rights reserved.
|
||
|
*
|
||
|
* This source code is licensed under the BSD style license found in the
|
||
|
* LICENSE file in the root directory of this source tree. An additional grant
|
||
|
* of patent rights can be found in the PATENTS file in the same directory.
|
||
|
*)
|
||
|
|
||
|
(** Module to manage the table of attributes. *)
|
||
|
|
||
|
open! IStd
|
||
|
|
||
8 years ago
|
val store : ProcAttributes.t -> unit
|
||
8 years ago
|
(** Save .attr file for the procedure into the attributes database. *)
|
||
8 years ago
|
|
||
8 years ago
|
val load : Typ.Procname.t -> ProcAttributes.t option
|
||
|
(** Load the attributes for the procedure from the attributes database. *)
|
||
8 years ago
|
|
||
8 years ago
|
val load_defined : Typ.Procname.t -> ProcAttributes.t option
|
||
|
(** Load attributes for the procedure but only if is_defined is true *)
|
||
8 years ago
|
|
||
8 years ago
|
val find_file_capturing_procedure : Typ.Procname.t -> (SourceFile.t * [`Include | `Source]) option
|
||
8 years ago
|
(** Find the file where the procedure was captured, if a cfg for that file exists.
|
||
8 years ago
|
Return also a boolean indicating whether the procedure is defined in an
|
||
8 years ago
|
include file. *)
|