Skip to content

Commit 9d1dc02

Browse files
authored
Merge pull request #1313 from goblint/goblint-dune-libs-3
Organize constraint system and value domain modules into dune libraries
2 parents b671ffa + cedbc19 commit 9d1dc02

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

82 files changed

+776
-595
lines changed

gobview

scripts/goblint-lib-modules.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88

99
goblint_lib_paths = [
1010
src_root_path / "goblint_lib.ml",
11+
src_root_path / "solver" / "goblint_solver.ml",
1112
src_root_path / "util" / "std" / "goblint_std.ml",
1213
]
1314
goblint_lib_modules = set()
@@ -33,6 +34,7 @@
3334

3435
# libraries
3536
"Goblint_std",
37+
"Goblint_solver",
3638
"Goblint_timing",
3739
"Goblint_backtrace",
3840
"Goblint_tracing",

src/analyses/base.ml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2871,7 +2871,7 @@ struct
28712871
| "once" ->
28722872
f (D.bot ())
28732873
| "fixpoint" ->
2874-
let module DFP = LocalFixpoint.Make (D) in
2874+
let module DFP = Goblint_solver.LocalFixpoint.Make (D) in
28752875
DFP.lfp f
28762876
| _ ->
28772877
assert false
Lines changed: 71 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,71 @@
1+
{0 Library goblint.cdomain.value}
2+
This library is unwrapped and provides the following top-level modules.
3+
For better context, see {!Goblint_lib} which also documents these modules.
4+
5+
6+
{1 Domains}
7+
8+
{2 Analysis-specific}
9+
10+
{3 Value}
11+
12+
{4 Non-relational}
13+
14+
{5 Numeric}
15+
{!modules:
16+
IntDomain
17+
FloatDomain
18+
}
19+
20+
{5 Addresses}
21+
{!modules:
22+
Mval
23+
Offset
24+
StringDomain
25+
AddressDomain
26+
}
27+
28+
{5 Complex}
29+
{!modules:
30+
StructDomain
31+
UnionDomain
32+
ArrayDomain
33+
NullByteSet
34+
JmpBufDomain
35+
}
36+
37+
{5 Combined}
38+
{!modules:
39+
ValueDomain
40+
ValueDomainQueries
41+
}
42+
43+
{3 Concurrency}
44+
{!modules:
45+
MutexAttrDomain
46+
ThreadIdDomain
47+
ConcDomain
48+
}
49+
50+
{3 Other}
51+
{!modules:
52+
Lval
53+
}
54+
55+
56+
{1 I/O}
57+
58+
{2 Witnesses}
59+
{!modules:
60+
Invariant
61+
InvariantCil
62+
}
63+
64+
65+
{1 Utilities}
66+
67+
{2 Analysis-specific}
68+
{!modules:
69+
PrecisionUtil
70+
WideningThresholds
71+
}
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)