package mopsa
MOPSA: A Modular and Open Platform for Static Analysis using Abstract Interpretation
Install
dune-project
Dependency
Authors
Maintainers
Sources
mopsa-analyzer-v1.2.tar.gz
md5=37966e98ffeebcedc09bd6e9b2b81f69
sha512=40d4d826c25f680766c07eccbabdf5e8a4fa023016e8a164e4e4f6b3781c8484dc4df437055721dfd19b9db8fb7fe3b61236c4833186d346fc7204a68d01eaaa
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 :
Mopsa_utils.Core.Location.range ->
Mopsa_c_parser.C_AST.type_qual ->
Mopsa_c_parser.C_AST.type_qual
Source
val subscript_type :
Mopsa_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.Core.Location.with_range list ->
Mopsa_c_parser.C_AST.type_qual
Records
***********
Source
val find_field :
Mopsa_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 ->
Mopsa_utils.Core.Location.range ->
Mopsa_c_parser.C_AST.record_field
Expressions
***************
Source
val promote_expression_type :
Mopsa_c_parser.C_AST.project ->
Mopsa_c_parser.C_AST.type_qual ->
Parsing.Ast.expr Mopsa_utils.Core.Location.with_range ->
Parsing.Ast.expr Mopsa_utils.Core.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.Core.Location.with_range ->
'a ->
'b ->
Parsing.Ast.message Mopsa_utils.Core.Location.with_range
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