Usedefmodule E = Errormsgcompute use/def information
module VS : sig ... endSet 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.
val considerVariableUse : (Cil.varinfo -> bool) refSay if you want to consider a variable use. This applies to variable reads only; see also considerVariableAddrOfAsUse
val considerVariableDef : (Cil.varinfo -> bool) refSay if you want to consider a variable def
val considerVariableAddrOfAsUse : (Cil.varinfo -> bool) refSay if you want to consider a variable addrof as a use
val considerVariableAddrOfAsDef : (Cil.varinfo -> bool) refSay 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.
val onlyNoOffsetsAreDefs : bool refval ignoreSizeof : bool refShould we ignore the contents of sizeof and alignof?
class useDefVisitorClass : Cil.cilVisitorval useDefVisitor : useDefVisitorClassCompute 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 ->
Cil.stmtkind ->
VS.t * VS.tCompute the use/def information for a statement kind. Do not descend into * the nested blocks.
val computeDeepUseDefStmtKind :
?acc_used:VS.t ->
?acc_defs:VS.t ->
Cil.stmtkind ->
VS.t * VS.tval computeUseLocalTypes : ?acc_used:VS.t -> Cil.fundec -> VS.t