package goblint-cil
Install
Dune Dependency
Authors
Maintainers
Sources
sha256=adea96efdb7611a688849491b363bcd5fc1e1fb8d6a937185560faefb42dd9cb
sha512=b8d8d835e9425cbbd59aeb06ce457e110cbd91c982d99c51e5a24bd5b7b9362f545db32c33ac6abc87a02015f29c8dc19e97ceb756ae1aefc659914f3598df19
doc/goblint-cil.liveness/Liveness/Usedef/index.html
Module Liveness.Usedef
Source
module E = GoblintCil.Errormsg
compute use/def information
module VS : sig ... end
val getUseDefFunctionRef :
(GoblintCil.exp ->
GoblintCil.exp list ->
VS.t * VS.t * GoblintCil.exp list)
Stdlib.ref
Set this global to how you want to handle function calls. This also returns a modified argument list which will be used for the purpose of Use analysis, in case you have a function that needs special treatment of its args.
Say if you want to consider a variable use. This applies to variable reads only; see also considerVariableAddrOfAsUse
Say if you want to consider a variable def
Say if you want to consider a variable addrof as a use
Say if you want to consider a variable addrof as a def
Return any vars that should be considered "used" by an expression, other than the ones it refers to directly. Deputy uses this for variables in Cast annotations.
Should we ignore the contents of sizeof and alignof?
Compute the use information for an expression (accumulate to an existing set)
Compute the use/def information for an instruction
val computeUseDefStmtKind :
?acc_used:VS.t ->
?acc_defs:VS.t ->
GoblintCil.stmtkind ->
VS.t * VS.t
Compute the use/def information for a statement kind. Do not descend into the nested blocks.