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/passes/Passes/Cst_to_ast/index.html
Module Passes.Cst_to_ast
Source
Translate a CST into a AST by resolving types, variables and functions defined in the project.
Generic visitors
********************
Source
val visit_list_ext :
('a -> 'b -> 'c -> 'd * 'e list * 'f list) ->
'a list ->
'b ->
'c ->
'd list * 'e list * 'f list
Source
val visit_pair :
('a -> 'b -> 'c -> 'd) ->
('e -> 'b -> 'c -> 'f) ->
('a * 'e) ->
'b ->
'c ->
'd * 'f
Types
*********
Source
val find_record :
Parsing.Cst.var ->
Mopsa_c_parser.C_AST.project ->
Mopsa_c_parser.C_AST.record_type
Source
val find_typedef :
Parsing.Cst.var ->
Mopsa_c_parser.C_AST.project ->
Mopsa_c_parser.C_AST.typedef
Source
val find_enum :
Parsing.Cst.var ->
Mopsa_c_parser.C_AST.project ->
Mopsa_c_parser.C_AST.enum_type
Source
val visit_qual_typ :
Parsing.Cst.c_qual_typ ->
Mopsa_c_parser.C_AST.project ->
'a ->
Mopsa_c_parser.C_AST.type_qual
Source
val visit_typ :
Parsing.Cst.c_typ ->
Mopsa_c_parser.C_AST.project ->
'a ->
Mopsa_c_parser.C_AST.typ
Source
val visit_array_length :
Parsing.Cst.array_length ->
Mopsa_c_parser.C_AST.project ->
'a ->
Mopsa_c_parser.C_AST.array_length
Source
val pointer_type :
Mopsa_c_parser.C_AST.type_qual ->
Mopsa_c_parser.C_AST.typ * Mopsa_c_parser.C_AST.qualifier
Source
val pointed_type :
Utils_core.Location.range ->
Mopsa_c_parser.C_AST.type_qual ->
Mopsa_c_parser.C_AST.type_qual
Source
val subscript_type :
Utils_core.Location.range ->
Mopsa_c_parser.C_AST.type_qual ->
Mopsa_c_parser.C_AST.type_qual
Source
val builtin_type :
Parsing.Cst.builtin ->
Parsing.Ast.expr Mopsa_utils.Location.with_range list ->
Mopsa_c_parser.C_AST.type_qual
Records
***********
Source
val find_field :
Utils_core.Location.range ->
Mopsa_c_parser.C_AST.type_qual ->
string ->
Mopsa_c_parser.C_AST.record_field
Source
val find_field_check :
Mopsa_c_parser.C_AST.type_qual ->
string ->
Utils_core.Location.range ->
Mopsa_c_parser.C_AST.record_field
Expressions
***************
Source
val visit_var :
Parsing.Cst.var ->
Utils_core.Location.range ->
Mopsa_c_parser.C_AST.project ->
Mopsa_c_parser.C_AST.func ->
Mopsa_c_parser.C_AST.variable
Source
val integer_promotion :
Mopsa_c_parser.C_AST.project ->
Parsing.Ast.expr Mopsa_utils.Location.with_range ->
Parsing.Ast.expr Mopsa_utils.Location.with_range
Source
val promote_expression_type :
Mopsa_c_parser.C_AST.project ->
Mopsa_c_parser.C_AST.type_qual ->
Parsing.Ast.expr Mopsa_utils.Location.with_range ->
Parsing.Ast.expr Mopsa_utils.Location.with_range
Formulas
************
Source
val visit_interval :
Parsing.Cst.interval ->
Mopsa_c_parser.C_AST.project ->
Mopsa_c_parser.C_AST.func ->
Parsing.Ast.interval
Source
val visit_set :
Parsing.Cst.set ->
Mopsa_c_parser.C_AST.project ->
Mopsa_c_parser.C_AST.func ->
Parsing.Ast.set
Stub sections
****************
Source
val visit_message :
Parsing.Cst.message Mopsa_utils.Location.with_range ->
'a ->
'b ->
Parsing.Ast.message Mopsa_utils.Location.with_range
Source
val visit_section :
Parsing.Cst.section ->
Mopsa_c_parser.C_AST.project ->
Mopsa_c_parser.C_AST.func ->
Parsing.Ast.section
* Parsing.Ast.local Mopsa_utils.Location.with_range list
* Parsing.Ast.assigns Mopsa_utils.Location.with_range list
Entry point
***************
Source
val doit :
Mopsa_c_parser.C_AST.project ->
Mopsa_c_parser.C_AST.func ->
Parsing.Cst.stub ->
Parsing.Ast.stub
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page