|
|
@ -1774,89 +1774,30 @@ let prop_reset_inst inst_map prop =
|
|
|
|
replace_sigma_footprint sigma_fp' (replace_sigma sigma' prop)
|
|
|
|
replace_sigma_footprint sigma_fp' (replace_sigma sigma' prop)
|
|
|
|
|
|
|
|
|
|
|
|
(** {2 Attributes} *)
|
|
|
|
(** {2 Attributes} *)
|
|
|
|
|
|
|
|
module Attribute = struct
|
|
|
|
|
|
|
|
|
|
|
|
(** Return the exp and attribute marked in the atom if any, and return None otherwise *)
|
|
|
|
(** Return the exp and attribute marked in the atom if any, and return None otherwise *)
|
|
|
|
let atom_get_attribute atom =
|
|
|
|
let atom_get atom =
|
|
|
|
match atom with
|
|
|
|
match atom with
|
|
|
|
| Sil.Apred _ | Anpred _ -> Some atom
|
|
|
|
| Sil.Apred _ | Anpred _ -> Some atom
|
|
|
|
| _ -> None
|
|
|
|
| _ -> None
|
|
|
|
|
|
|
|
|
|
|
|
(** Check whether an atom is used to mark an attribute *)
|
|
|
|
(** Check whether an atom is used to mark an attribute *)
|
|
|
|
let atom_is_attribute a =
|
|
|
|
let atom_is a =
|
|
|
|
atom_get_attribute a <> None
|
|
|
|
atom_get a <> None
|
|
|
|
|
|
|
|
|
|
|
|
(** Get the attribute associated to the expression, if any *)
|
|
|
|
(** Add an attribute associated to the argument expressions *)
|
|
|
|
let get_attributes prop exp =
|
|
|
|
let add ?(footprint = false) ?(polarity = true) prop attr args =
|
|
|
|
let nexp = exp_normalize_prop prop exp in
|
|
|
|
prop_atom_and ~footprint prop
|
|
|
|
let atom_get_attr attributes atom =
|
|
|
|
(if polarity then Sil.Apred (attr, args) else Sil.Anpred (attr, args))
|
|
|
|
match atom with
|
|
|
|
|
|
|
|
| Sil.Apred (_, es) | Anpred (_, es) when IList.mem Exp.equal nexp es -> atom :: attributes
|
|
|
|
|
|
|
|
| _ -> attributes in
|
|
|
|
|
|
|
|
IList.fold_left atom_get_attr [] prop.pi
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
let attributes_in_same_category attr1 attr2 =
|
|
|
|
let attributes_in_same_category attr1 attr2 =
|
|
|
|
let cat1 = PredSymb.to_category attr1 in
|
|
|
|
let cat1 = PredSymb.to_category attr1 in
|
|
|
|
let cat2 = PredSymb.to_category attr2 in
|
|
|
|
let cat2 = PredSymb.to_category attr2 in
|
|
|
|
PredSymb.category_equal cat1 cat2
|
|
|
|
PredSymb.category_equal cat1 cat2
|
|
|
|
|
|
|
|
|
|
|
|
let get_attribute prop exp category =
|
|
|
|
|
|
|
|
let atts = get_attributes prop exp in
|
|
|
|
|
|
|
|
try
|
|
|
|
|
|
|
|
Some
|
|
|
|
|
|
|
|
(IList.find (function
|
|
|
|
|
|
|
|
| Sil.Apred (att, _) | Anpred (att, _) ->
|
|
|
|
|
|
|
|
PredSymb.category_equal (PredSymb.to_category att) category
|
|
|
|
|
|
|
|
| _ -> false
|
|
|
|
|
|
|
|
) atts)
|
|
|
|
|
|
|
|
with Not_found -> None
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
let get_undef_attribute prop exp =
|
|
|
|
|
|
|
|
get_attribute prop exp PredSymb.ACundef
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
let get_resource_attribute prop exp =
|
|
|
|
|
|
|
|
get_attribute prop exp PredSymb.ACresource
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
let get_taint_attribute prop exp =
|
|
|
|
|
|
|
|
get_attribute prop exp PredSymb.ACtaint
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
let get_autorelease_attribute prop exp =
|
|
|
|
|
|
|
|
get_attribute prop exp PredSymb.ACautorelease
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
let get_objc_null_attribute prop exp =
|
|
|
|
|
|
|
|
get_attribute prop exp PredSymb.ACobjc_null
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
let get_div0_attribute prop exp =
|
|
|
|
|
|
|
|
get_attribute prop exp PredSymb.ACdiv0
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
let get_observer_attribute prop exp =
|
|
|
|
|
|
|
|
get_attribute prop exp PredSymb.ACobserver
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
let get_retval_attribute prop exp =
|
|
|
|
|
|
|
|
get_attribute prop exp PredSymb.ACretval
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
let has_dangling_uninit_attribute prop exp =
|
|
|
|
|
|
|
|
let la = get_attributes prop exp in
|
|
|
|
|
|
|
|
IList.exists (function
|
|
|
|
|
|
|
|
| Sil.Apred (a, _) -> PredSymb.equal a (Adangling DAuninit)
|
|
|
|
|
|
|
|
| _ -> false
|
|
|
|
|
|
|
|
) la
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
(** Get all the attributes of the prop *)
|
|
|
|
|
|
|
|
let get_all_attributes prop =
|
|
|
|
|
|
|
|
let res = ref [] in
|
|
|
|
|
|
|
|
let do_atom a = match atom_get_attribute a with
|
|
|
|
|
|
|
|
| Some attr -> res := attr :: !res
|
|
|
|
|
|
|
|
| None -> () in
|
|
|
|
|
|
|
|
IList.iter do_atom prop.pi;
|
|
|
|
|
|
|
|
IList.rev !res
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
(** Set an attribute associated to the argument expressions *)
|
|
|
|
|
|
|
|
let set_attribute ?(footprint = false) ?(polarity = true) prop attr args =
|
|
|
|
|
|
|
|
prop_atom_and ~footprint prop
|
|
|
|
|
|
|
|
(if polarity then Sil.Apred (attr, args) else Sil.Anpred (attr, args))
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
(** Replace an attribute associated to the expression *)
|
|
|
|
(** Replace an attribute associated to the expression *)
|
|
|
|
let add_or_replace_attribute_check_changed check_attribute_change prop atom0 =
|
|
|
|
let add_or_replace_check_changed check_attribute_change prop atom0 =
|
|
|
|
match atom0 with
|
|
|
|
match atom0 with
|
|
|
|
| Sil.Apred (att0, ((_ :: _) as exps0)) | Anpred (att0, ((_ :: _) as exps0)) ->
|
|
|
|
| Sil.Apred (att0, ((_ :: _) as exps0)) | Anpred (att0, ((_ :: _) as exps0)) ->
|
|
|
|
let nexps = IList.map (fun e -> exp_normalize_prop prop e) exps0 in
|
|
|
|
let nexps = IList.map (fun e -> exp_normalize_prop prop e) exps0 in
|
|
|
@ -1877,31 +1818,99 @@ let add_or_replace_attribute_check_changed check_attribute_change prop atom0 =
|
|
|
|
| _ ->
|
|
|
|
| _ ->
|
|
|
|
prop
|
|
|
|
prop
|
|
|
|
|
|
|
|
|
|
|
|
let add_or_replace_attribute prop atom =
|
|
|
|
let add_or_replace prop atom =
|
|
|
|
(* wrapper for the most common case: do nothing *)
|
|
|
|
(* wrapper for the most common case: do nothing *)
|
|
|
|
let check_attr_changed = (fun _ _ -> ()) in
|
|
|
|
let check_attr_changed = (fun _ _ -> ()) in
|
|
|
|
add_or_replace_attribute_check_changed check_attr_changed prop atom
|
|
|
|
add_or_replace_check_changed check_attr_changed prop atom
|
|
|
|
|
|
|
|
|
|
|
|
(** mark Exp.Var's or Exp.Lvar's as undefined *)
|
|
|
|
(** Get all the attributes of the prop *)
|
|
|
|
let mark_vars_as_undefined prop vars_to_mark callee_pname ret_annots loc path_pos =
|
|
|
|
let get_all prop =
|
|
|
|
let att_undef = PredSymb.Aundef (callee_pname, ret_annots, loc, path_pos) in
|
|
|
|
let res = ref [] in
|
|
|
|
let mark_var_as_undefined exp prop =
|
|
|
|
let do_atom a = match atom_get a with
|
|
|
|
match exp with
|
|
|
|
| Some attr -> res := attr :: !res
|
|
|
|
| Exp.Var _ | Lvar _ -> add_or_replace_attribute prop (Apred (att_undef, [exp]))
|
|
|
|
| None -> () in
|
|
|
|
| _ -> prop in
|
|
|
|
IList.iter do_atom prop.pi;
|
|
|
|
IList.fold_left (fun prop id -> mark_var_as_undefined id prop) prop vars_to_mark
|
|
|
|
IList.rev !res
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
(** Get all the attributes of the prop *)
|
|
|
|
|
|
|
|
let get_for_symb prop att =
|
|
|
|
|
|
|
|
IList.filter (function
|
|
|
|
|
|
|
|
| Sil.Apred (att', _) | Anpred (att', _) -> PredSymb.equal att' att
|
|
|
|
|
|
|
|
| _ -> false
|
|
|
|
|
|
|
|
) (get_pi prop)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
(** Get the attribute associated to the expression, if any *)
|
|
|
|
|
|
|
|
let get_for_exp prop exp =
|
|
|
|
|
|
|
|
let nexp = exp_normalize_prop prop exp in
|
|
|
|
|
|
|
|
let atom_get_attr attributes atom =
|
|
|
|
|
|
|
|
match atom with
|
|
|
|
|
|
|
|
| Sil.Apred (_, es) | Anpred (_, es) when IList.mem Exp.equal nexp es -> atom :: attributes
|
|
|
|
|
|
|
|
| _ -> attributes in
|
|
|
|
|
|
|
|
IList.fold_left atom_get_attr [] prop.pi
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
let get prop exp category =
|
|
|
|
|
|
|
|
let atts = get_for_exp prop exp in
|
|
|
|
|
|
|
|
try
|
|
|
|
|
|
|
|
Some
|
|
|
|
|
|
|
|
(IList.find (function
|
|
|
|
|
|
|
|
| Sil.Apred (att, _) | Anpred (att, _) ->
|
|
|
|
|
|
|
|
PredSymb.category_equal (PredSymb.to_category att) category
|
|
|
|
|
|
|
|
| _ -> false
|
|
|
|
|
|
|
|
) atts)
|
|
|
|
|
|
|
|
with Not_found -> None
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
let get_undef prop exp =
|
|
|
|
|
|
|
|
get prop exp ACundef
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
let get_resource prop exp =
|
|
|
|
|
|
|
|
get prop exp ACresource
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
let get_taint prop exp =
|
|
|
|
|
|
|
|
get prop exp ACtaint
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
let get_autorelease prop exp =
|
|
|
|
|
|
|
|
get prop exp ACautorelease
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
let get_objc_null prop exp =
|
|
|
|
|
|
|
|
get prop exp ACobjc_null
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
let get_div0 prop exp =
|
|
|
|
|
|
|
|
get prop exp ACdiv0
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
let get_observer prop exp =
|
|
|
|
|
|
|
|
get prop exp ACobserver
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
let get_retval prop exp =
|
|
|
|
|
|
|
|
get prop exp ACretval
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
let has_dangling_uninit prop exp =
|
|
|
|
|
|
|
|
let la = get_for_exp prop exp in
|
|
|
|
|
|
|
|
IList.exists (function
|
|
|
|
|
|
|
|
| Sil.Apred (a, _) -> PredSymb.equal a (Adangling DAuninit)
|
|
|
|
|
|
|
|
| _ -> false
|
|
|
|
|
|
|
|
) la
|
|
|
|
|
|
|
|
|
|
|
|
let filter_atoms ~f prop =
|
|
|
|
let filter_atoms ~f prop =
|
|
|
|
replace_pi (IList.filter f (get_pi prop)) prop
|
|
|
|
replace_pi (IList.filter f (get_pi prop)) prop
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
let remove prop atom =
|
|
|
|
|
|
|
|
match atom with
|
|
|
|
|
|
|
|
| Sil.Apred (_, exps) | Anpred (_, exps) ->
|
|
|
|
|
|
|
|
let nexps = IList.map (fun e -> exp_normalize_prop prop e) exps in
|
|
|
|
|
|
|
|
let natom = Sil.atom_replace_exp (IList.combine exps nexps) atom in
|
|
|
|
|
|
|
|
let f a = not (Sil.atom_equal natom a) in
|
|
|
|
|
|
|
|
filter_atoms ~f prop
|
|
|
|
|
|
|
|
| _ ->
|
|
|
|
|
|
|
|
replace_pi (get_pi prop) prop
|
|
|
|
|
|
|
|
|
|
|
|
(** Remove an attribute from all the atoms in the heap *)
|
|
|
|
(** Remove an attribute from all the atoms in the heap *)
|
|
|
|
let remove_attribute prop att0 =
|
|
|
|
let remove_for_attr prop att0 =
|
|
|
|
let f = function
|
|
|
|
let f = function
|
|
|
|
| Sil.Apred (att, _) | Anpred (att, _) -> not (PredSymb.equal att0 att)
|
|
|
|
| Sil.Apred (att, _) | Anpred (att, _) -> not (PredSymb.equal att0 att)
|
|
|
|
| _ -> true in
|
|
|
|
| _ -> true in
|
|
|
|
filter_atoms ~f prop
|
|
|
|
filter_atoms ~f prop
|
|
|
|
|
|
|
|
|
|
|
|
let remove_resource_attribute ra_kind ra_res =
|
|
|
|
let remove_resource ra_kind ra_res =
|
|
|
|
let f = function
|
|
|
|
let f = function
|
|
|
|
| Sil.Apred (Aresource res_action, _) ->
|
|
|
|
| Sil.Apred (Aresource res_action, _) ->
|
|
|
|
PredSymb.res_act_kind_compare res_action.ra_kind ra_kind <> 0
|
|
|
|
PredSymb.res_act_kind_compare res_action.ra_kind ra_kind <> 0
|
|
|
@ -1909,24 +1918,26 @@ let remove_resource_attribute ra_kind ra_res =
|
|
|
|
| _ -> true in
|
|
|
|
| _ -> true in
|
|
|
|
filter_atoms ~f
|
|
|
|
filter_atoms ~f
|
|
|
|
|
|
|
|
|
|
|
|
let remove_attribute_from_exp prop atom =
|
|
|
|
(** Apply f to every resource attribute in the prop *)
|
|
|
|
match atom with
|
|
|
|
let map_resource prop f =
|
|
|
|
| Sil.Apred (_, exps) | Anpred (_, exps) ->
|
|
|
|
let attribute_map e = function
|
|
|
|
let nexps = IList.map (fun e -> exp_normalize_prop prop e) exps in
|
|
|
|
| PredSymb.Aresource ra -> PredSymb.Aresource (f e ra)
|
|
|
|
let natom = Sil.atom_replace_exp (IList.combine exps nexps) atom in
|
|
|
|
| att -> att in
|
|
|
|
let f a = not (Sil.atom_equal natom a) in
|
|
|
|
let atom_map = function
|
|
|
|
filter_atoms ~f prop
|
|
|
|
| Sil.Apred (att, ([e] as es)) -> Sil.Apred (attribute_map e att, es)
|
|
|
|
| _ ->
|
|
|
|
| Sil.Anpred (att, ([e] as es)) -> Sil.Anpred (attribute_map e att, es)
|
|
|
|
replace_pi (get_pi prop) prop
|
|
|
|
| atom -> atom in
|
|
|
|
|
|
|
|
replace_pi (IList.map atom_map (get_pi prop)) prop
|
|
|
|
|
|
|
|
|
|
|
|
(* Replace an attribute OBJC_NULL($n1) with OBJC_NULL(var) when var = $n1, and also sets $n1 = 0 *)
|
|
|
|
(* Replace an attribute OBJC_NULL($n1) with OBJC_NULL(var) when var = $n1, and also sets $n1 =
|
|
|
|
|
|
|
|
0 *)
|
|
|
|
let replace_objc_null prop lhs_exp rhs_exp =
|
|
|
|
let replace_objc_null prop lhs_exp rhs_exp =
|
|
|
|
match get_objc_null_attribute prop rhs_exp, rhs_exp with
|
|
|
|
match get_objc_null prop rhs_exp, rhs_exp with
|
|
|
|
| Some atom, Exp.Var _ ->
|
|
|
|
| Some atom, Exp.Var _ ->
|
|
|
|
let prop = remove_attribute_from_exp prop atom in
|
|
|
|
let prop = remove prop atom in
|
|
|
|
let prop = conjoin_eq rhs_exp Exp.zero prop in
|
|
|
|
let prop = conjoin_eq rhs_exp Exp.zero prop in
|
|
|
|
let natom = Sil.atom_replace_exp [(rhs_exp, lhs_exp)] atom in
|
|
|
|
let natom = Sil.atom_replace_exp [(rhs_exp, lhs_exp)] atom in
|
|
|
|
add_or_replace_attribute prop natom
|
|
|
|
add_or_replace prop natom
|
|
|
|
| _ -> prop
|
|
|
|
| _ -> prop
|
|
|
|
|
|
|
|
|
|
|
|
let rec nullify_exp_with_objc_null prop exp =
|
|
|
|
let rec nullify_exp_with_objc_null prop exp =
|
|
|
@ -1937,30 +1948,23 @@ let rec nullify_exp_with_objc_null prop exp =
|
|
|
|
| Exp.UnOp (_, exp, _) ->
|
|
|
|
| Exp.UnOp (_, exp, _) ->
|
|
|
|
nullify_exp_with_objc_null prop exp
|
|
|
|
nullify_exp_with_objc_null prop exp
|
|
|
|
| Exp.Var _ ->
|
|
|
|
| Exp.Var _ ->
|
|
|
|
(match get_objc_null_attribute prop exp with
|
|
|
|
(match get_objc_null prop exp with
|
|
|
|
| Some atom ->
|
|
|
|
| Some atom ->
|
|
|
|
let prop' = remove_attribute_from_exp prop atom in
|
|
|
|
let prop' = remove prop atom in
|
|
|
|
conjoin_eq exp Exp.zero prop'
|
|
|
|
conjoin_eq exp Exp.zero prop'
|
|
|
|
| _ -> prop)
|
|
|
|
| _ -> prop)
|
|
|
|
| _ -> prop
|
|
|
|
| _ -> prop
|
|
|
|
|
|
|
|
|
|
|
|
(** Get all the attributes of the prop *)
|
|
|
|
(** mark Exp.Var's or Exp.Lvar's as undefined *)
|
|
|
|
let get_atoms_with_attribute prop att =
|
|
|
|
let mark_vars_as_undefined prop vars_to_mark callee_pname ret_annots loc path_pos =
|
|
|
|
IList.filter (function
|
|
|
|
let att_undef = PredSymb.Aundef (callee_pname, ret_annots, loc, path_pos) in
|
|
|
|
| Sil.Apred (att', _) | Anpred (att', _) -> PredSymb.equal att' att
|
|
|
|
let mark_var_as_undefined exp prop =
|
|
|
|
| _ -> false
|
|
|
|
match exp with
|
|
|
|
) (get_pi prop)
|
|
|
|
| Exp.Var _ | Lvar _ -> add_or_replace prop (Apred (att_undef, [exp]))
|
|
|
|
|
|
|
|
| _ -> prop in
|
|
|
|
|
|
|
|
IList.fold_left (fun prop id -> mark_var_as_undefined id prop) prop vars_to_mark
|
|
|
|
|
|
|
|
|
|
|
|
(** Apply f to every resource attribute in the prop *)
|
|
|
|
end
|
|
|
|
let attribute_map_resource prop f =
|
|
|
|
|
|
|
|
let attribute_map e = function
|
|
|
|
|
|
|
|
| PredSymb.Aresource ra -> PredSymb.Aresource (f e ra)
|
|
|
|
|
|
|
|
| att -> att in
|
|
|
|
|
|
|
|
let atom_map = function
|
|
|
|
|
|
|
|
| Sil.Apred (att, ([e] as es)) -> Sil.Apred (attribute_map e att, es)
|
|
|
|
|
|
|
|
| Sil.Anpred (att, ([e] as es)) -> Sil.Anpred (attribute_map e att, es)
|
|
|
|
|
|
|
|
| atom -> atom in
|
|
|
|
|
|
|
|
replace_pi (IList.map atom_map (get_pi prop)) prop
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
(** type for arithmetic problems *)
|
|
|
|
(** type for arithmetic problems *)
|
|
|
|
type arith_problem =
|
|
|
|
type arith_problem =
|
|
|
@ -1979,7 +1983,7 @@ let find_arithmetic_problem proc_node_session prop exp =
|
|
|
|
match exp_normalize_prop prop e with
|
|
|
|
match exp_normalize_prop prop e with
|
|
|
|
| Exp.Const c when iszero_int_float c -> true
|
|
|
|
| Exp.Const c when iszero_int_float c -> true
|
|
|
|
| _ ->
|
|
|
|
| _ ->
|
|
|
|
res := add_or_replace_attribute !res (Apred (Adiv0 proc_node_session, [e]));
|
|
|
|
res := Attribute.add_or_replace !res (Apred (Adiv0 proc_node_session, [e]));
|
|
|
|
false in
|
|
|
|
false in
|
|
|
|
let rec walk = function
|
|
|
|
let rec walk = function
|
|
|
|
| Exp.Var _ -> ()
|
|
|
|
| Exp.Var _ -> ()
|
|
|
@ -2038,7 +2042,7 @@ let deallocate_stack_vars p pvars =
|
|
|
|
begin
|
|
|
|
begin
|
|
|
|
stack_vars_address_in_post := v :: !stack_vars_address_in_post;
|
|
|
|
stack_vars_address_in_post := v :: !stack_vars_address_in_post;
|
|
|
|
let pred = Sil.Apred (Adangling DAaddr_stack_var, [Exp.Var freshv]) in
|
|
|
|
let pred = Sil.Apred (Adangling DAaddr_stack_var, [Exp.Var freshv]) in
|
|
|
|
res := add_or_replace_attribute !res pred
|
|
|
|
res := Attribute.add_or_replace !res pred
|
|
|
|
end in
|
|
|
|
end in
|
|
|
|
IList.iter do_var !fresh_address_vars;
|
|
|
|
IList.iter do_var !fresh_address_vars;
|
|
|
|
!res in
|
|
|
|
!res in
|
|
|
@ -2837,7 +2841,7 @@ let find_equal_formal_path e prop =
|
|
|
|
match find_in_sigma e [] with
|
|
|
|
match find_in_sigma e [] with
|
|
|
|
| Some vfs -> Some vfs
|
|
|
|
| Some vfs -> Some vfs
|
|
|
|
| None ->
|
|
|
|
| None ->
|
|
|
|
match get_objc_null_attribute prop e with
|
|
|
|
match Attribute.get_objc_null prop e with
|
|
|
|
| Some (Apred (Aobjc_null, [_; vfs])) -> Some vfs
|
|
|
|
| Some (Apred (Aobjc_null, [_; vfs])) -> Some vfs
|
|
|
|
| _ -> None
|
|
|
|
| _ -> None
|
|
|
|
|
|
|
|
|
|
|
|