Summary: Cleaner + makes it easier to change details of the implementation.
Reviewed By: da319
Differential Revision: D28125725
fbshipit-source-id: ac9258908
master
Jules Villard4 years agocommitted byFacebook GitHub Bot
(* defined in two parts to avoid exporting internal APIs to the .mli *)
moduletypeBaseDomainSig_=sig
includeBaseDomainSig
valempty:t
@ -46,7 +51,7 @@ type base_domain = BaseDomain.t =
(** represents the post abstract state at each program point *)
modulePostDomain:sig
includeBaseDomainSig
includeBaseDomainSig_
valinitialize:AbstractValue.t->t->t
end=struct
@ -87,7 +92,7 @@ end
(* NOTE: [PreDomain] and [Domain] theoretically differ in that [PreDomain] should be the inverted lattice of [Domain], but since we never actually join states or check implication the two collapse into one. *)
(** represents the inferred pre-condition at each program point, biabduction style *)