Skip to content

Commit 3d422cd

Browse files
committed
Add comment to domains explaining NoSideEffect domain
1 parent 2e4b115 commit 3d422cd

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

src/cdomains/apron/affineEqualityDomain.apron.ml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,9 @@
22
33
@see <https://doi.org/10.1007/BF00268497> Karr, M. Affine relationships among variables of a program. *)
44

5-
(** Abstract states in the newly added domain are represented by structs containing a matrix and an apron environment.
5+
(** There are two versions of the AffineEqualityDomain.
6+
Unlike the other version, this version here is NOT based on side effects.
7+
Abstract states in the newly added domain are represented by structs containing a matrix and an apron environment.
68
Matrices are modeled as proposed by Karr: Each variable is assigned to a column and each row represents a linear affine relationship that must hold at the corresponding program point.
79
The apron environment is hereby used to organize the order of columns and variables. *)
810

src/cdomains/apron/affineEqualityDomainSideEffects.apron.ml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,9 @@
22
33
@see <https://doi.org/10.1007/BF00268497> Karr, M. Affine relationships among variables of a program. *)
44

5-
(** Abstract states in the newly added domain are represented by structs containing a matrix and an apron environment.
5+
(** There are two versions of the AffineEqualityDomain.
6+
This version here is based on side effects, thus it uses Matrix and Vector functions marked with "_with" which use side effects.
7+
Abstract states in the newly added domain are represented by structs containing a matrix and an apron environment.
68
Matrices are modeled as proposed by Karr: Each variable is assigned to a column and each row represents a linear affine relationship that must hold at the corresponding program point.
79
The apron environment is hereby used to organize the order of columns and variables. *)
810

0 commit comments

Comments
 (0)