package mopsa
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page
Module Core.ControlCtx
Control context - representation of the call stack and loop analysis positino of a program analysis
Loop sites
**************
Control context
***************
type control_ctx = control_info listval extract_callstack : control_ctx -> Callstack.callstackval within_enriched_loop_ctx :
control_ctx ->
loopsite ->
(control_ctx -> 'a) ->
'aval push_callstack :
string ->
?uniq:string ->
Location.range ->
control_ctx ->
control_ctxpush_callstack orig ~uniq range cs adds the call to function orig at location range at the top of the call stack cs. The default unique function name of the function is its original name.
Exception raised when a Call is expected at the top of the control context and a Loop is found (or conversely)
val pop_callstack : control_ctx -> Callstack.callsite * control_ctxpop_callstack cc returns the last call site in cc and the remaining control context Raises Empty_callstack if the call stack is empty. Raises Bad_control_ctx if the control context starts with Loop info.
val pp_control_ctx : Format.formatter -> control_ctx -> unitPrint control context
val compare_control_ctx : control_ctx -> control_ctx -> intCompare control context
val empty_control_ctx : control_ctxEmpty control context
val is_empty_control_ctx : control_ctx -> boolCheck that a control context is empty
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page