Skip to content

Commit b8cc980

Browse files
committed
CHC: abstract memory variables across calls to functions with unknown side effects
1 parent 504ad31 commit b8cc980

4 files changed

Lines changed: 438 additions & 141 deletions

File tree

‎CodeHawk/CHC/cchanalyze/cCHAnalysisTypes.mli‎

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -209,6 +209,14 @@ object
209209
method get_return_contexts: program_context_int list
210210
method get_memory_variables: variable_t list
211211
method get_memory_variables_with_base: variable_t -> variable_t list
212+
213+
(** [get_global_state_variables] returns all variables that represent (parts
214+
of) global variables: the global program variables and the memory
215+
variables of global memory references (address-taken globals), each
216+
paired with the name of the global variable. Initial values are not
217+
included. *)
218+
method get_global_state_variables: (string * variable_t) list
219+
212220
method get_parameters: variable_t list
213221

214222
method get_pointer_variables : variable_type_t -> variable_t list (* symbolic program variable with type TPtr *)

0 commit comments

Comments
 (0)