Frama-C API - Eva_results
val is_non_terminating_instr : Frama_c_kernel.Cil_types.stmt -> boolReturns true iff there exists executions of the statement that does not always fail/loop (for function calls). Must be called *only* on statements that are instructions.
val get_initial_state : unit -> Frama_c_kernel.Cvalue.Model.t optionReturns the initial state provided by set_initial_state below, if any.
val get_main_args : unit -> Frama_c_kernel.Cvalue.V.t list optionReturns the values of the main arguments provided by set_main_args below, if any.
Internal temporary API: please do not use it, as it should be removed in a future version.
Initial cvalue state
val set_initial_state : Frama_c_kernel.Cvalue.Model.t -> unitSpecifies the initial cvalue state to use.
Ignores previous calls to set_initial_state above, and uses the default initial state instead.
val set_main_args : Frama_c_kernel.Cvalue.V.t list -> unitSpecifies the values of the main function arguments. Beware that the analysis fails if the number of given values is different from the number of arguments of the entry point of the analysis.
Ignores previous calls to set_main_args above, and uses the default main argument values instead.
Results
val get_results : unit -> resultsval set_results : results -> unitval change_callstacks : (Callstack.t -> Callstack.t) -> results -> resultsChange the callstacks for the results for which this is meaningful. For technical reasons, the top of the callstack must currently be preserved.
val eval_tlval_as_location : ?result:Frama_c_kernel.Cil_types.varinfo -> Frama_c_kernel.Cvalue.Model.t -> Frama_c_kernel.Cil_types.term -> Frama_c_kernel.Locations.location