package mopsa
MOPSA: A Modular and Open Platform for Static Analysis using Abstract Interpretation
Install
Dune Dependency
Authors
Maintainers
Sources
mopsa-analyzer-v1.1.tar.gz
md5=fdee20e988343751de440b4f6b67c0f4
sha512=f5cbf1328785d3f5ce40155dada2d95e5de5cce4f084ea30cfb04d1ab10cc9403a26cfb3fa55d0f9da72244482130fdb89c286a9aed0d640bba46b7c00e09500
doc/python_lang/Python_lang/Lang/Utils/index.html
Module Lang.Utils
Source
Source
val mk_builtin_raise_args :
string ->
Mopsa.expr list ->
Mopsa_utils.Location.range ->
Mopsa.stmt
Creates an AST block, tagged by `range`, representing the call of a builtin defined as `f` (a string), to which a list of parameters is passed
Source
val mk_object_hasattr :
(Mopsa.addr * Mopsa.expr option) ->
string ->
Mopsa_utils.Location.range ->
Mopsa.expr
Source
val mk_try_stopiteration :
Mopsa.stmt ->
Mopsa.stmt ->
Mopsa_utils.Location.range ->
Mopsa.stmt
Creates a block try: `body` except StopIteration: `except`
This statement will be created with the provided `range`
Source
val check_instances :
?arguments_after_check:int ->
string ->
('a, 'b) Mopsa.man ->
'a Core.Flow.flow ->
Mopsa_utils.Location.range ->
Ast.Expr.expr list ->
string list ->
(Mopsa.expr list ->
'a Mopsa.Flow.flow ->
('a, Ast.Expr.expr) Core.Cases.cases) ->
('a, Ast.Expr.expr) Mopsa.Cases.cases
Source
val check_instances_disj :
?arguments_after_check:int ->
string ->
('a, 'b) Mopsa.man ->
'a Core.Flow.flow ->
Mopsa_utils.Location.range ->
Ast.Expr.expr list ->
string list list ->
(Mopsa.expr list ->
'a Mopsa.Flow.flow ->
('a, Ast.Expr.expr) Core.Cases.cases) ->
('a, Ast.Expr.expr) Mopsa.Cases.cases
Source
val new_wrapper :
('a, 'b) Mopsa.man ->
Mopsa_utils.Location.range ->
'a Core.Flow.flow ->
string ->
Ast.Expr.expr ->
fthennew:('a Mopsa.Flow.flow -> ('a, Ast.Expr.expr) Core.Cases.cases) ->
('a, Ast.Expr.expr) Mopsa.Cases.cases option
Source
val bind_list_args :
?cleaners:bool ->
('b, 'a) Core.Manager.man ->
Mopsa.expr list ->
'b Mopsa.Flow.flow ->
Mopsa_utils.Location.range ->
(Mopsa.var list -> 'b Mopsa.flow -> ('b, 'c) Mopsa.Cases.cases) ->
('b, 'c) Mopsa.Cases.cases
Source
val get_eobj_itv :
('a, 'b) Mopsa.man ->
'a Core.Flow.flow ->
Mopsa.expr ->
Mopsa.ItvUtils.IntItv.t Mopsa.Bot.with_bot
Source
val try_eval_expr :
?on_empty:
(Mopsa.expr ->
string ->
Universal.Strings.Powerset.StringPower.t ->
'a Mopsa.Flow.flow ->
'a Mopsa.Eval.eval option) ->
on_result:(Mopsa.expr -> 'a Mopsa.flow -> ('a, Mopsa.expr) Mopsa.cases) ->
('a, 'b) Mopsa.man ->
?route:Mopsa.Core.Route.route ->
Ast.Expr.expr ->
'a Mopsa.flow ->
('a, Mopsa.expr) Mopsa.cases option
Source
val check :
('a, 'b) Mopsa.man ->
Mopsa.expr ->
Mopsa_utils.Location.range ->
'a Core.Flow.flow ->
('a, Ast.Expr.expr) Core.Cases.cases
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>