You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
(** C strings are different from OCaml strings as they are not processed after the first [NUL] byte, even though the OCaml string (and a C string literal) may be longer. *)
20
-
21
19
valto_c_string: t -> stringoption
22
20
(** Convert {!StrPtr} to C string if possible. *)
23
21
@@ -71,7 +69,7 @@ sig
71
69
- Each {!Addr}, modulo precise index expressions in the offset, is a sublattice with ordering induced by {!Mval}.
72
70
- {!NullPtr} is a singleton sublattice.
73
71
- {!UnknownPtr} is a singleton sublattice.
74
-
- If [ana.base.limit-string-addresses] is enabled, then all {!StrPtr} are together in one sublattice with flat ordering. If [ana.base.limit-string-addresses] is disabled, then each {!StrPtr} is a singleton sublattice. *)
72
+
- If [ana.base.strings.domain] is disjoint, then each {!StrPtr} is a singleton sublattice. Otherwise, all {!StrPtr} are together in one sublattice with flat ordering. *)
(** Reset the cached configuration of the string domain. *)
7
+
8
+
valof_string: string -> t
9
+
(** Convert from string. *)
10
+
11
+
valto_string: t -> stringoption
12
+
(** Convert to string if possible. *)
13
+
14
+
(** C strings are different from OCaml strings as they are not processed after the first [NUL] byte, even though the OCaml string (and a C string literal) may be longer. *)
15
+
16
+
valto_c_string: t -> stringoption
17
+
(** Convert to C string if possible. *)
18
+
19
+
valto_n_c_string: int -> t -> stringoption
20
+
(** Convert to C string of given maximum length if possible. *)
21
+
22
+
valto_string_length: t -> intoption
23
+
(** Find length of C string if possible. *)
24
+
25
+
valto_exp: t -> GoblintCil.exp
26
+
(** Convert to CIL expression. *)
27
+
28
+
valsemantic_equal: t -> t -> booloption
29
+
(** Check semantic equality of two strings.
30
+
31
+
@return [Some true] if definitely equal, [Some false] if definitely not equal, [None] if unknown. *)
0 commit comments