fix open-source taint models

Reviewed By: jeremydubreil

Differential Revision: D2748429

fb-gh-sync-id: 0cbf4b0
master
Jules Villard 9 years ago committed by facebook-github-bot-5
parent b8c16ddb27
commit 2565bb1438

@ -16,3 +16,7 @@ let returns_secret callee_pname = false
(** returns list of zero-indexed argument numbers of [callee_pname] that may be tainted *)
let accepts_sensitive_params callee_pname = []
(** returns list of zero-indexed parameter numbers of [callee_pname] that should be
considered tainted during symbolic execution *)
let tainted_params callee_pname = []

@ -12,3 +12,7 @@ val returns_secret : Procname.t -> bool
(** returns list of zero-indexed argument numbers of [callee_pname] that may be tainted *)
val accepts_sensitive_params : Procname.t -> int list
(** returns list of zero-indexed parameter numbers of [callee_pname] that should be
considered tainted during symbolic execution *)
val tainted_params : Procname.t -> int list

Loading…
Cancel
Save