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
Copy file name to clipboardExpand all lines: doc/genmc.md
+6-1Lines changed: 6 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -24,6 +24,9 @@ Note that `cargo miri test` in GenMC mode is currently not supported.
24
24
### Supported Parameters
25
25
26
26
-`-Zmiri-genmc`: Enable GenMC mode (not required if any other GenMC options are used).
27
+
-`-Zmiri-genmc-print-exec-graphs={none,explored,blocked,all}`: Make GenMC print the execution graph of the program after every explored, every blocked, or after every execution (default: None).
28
+
-`-Zmiri-genmc-print-exec-graphs`: Shorthand for suffix `=explored`.
29
+
-`-Zmiri-genmc-print-genmc-output`: Print the output that GenMC provides. NOTE: this output is quite verbose and the events in the printed execution graph are hard to map back to the Rust code location they originate from.
27
30
-`-Zmiri-genmc-log=LOG_LEVEL`: Change the log level for GenMC. Default: `warning`.
28
31
-`quiet`: Disable logging.
29
32
-`error`: Print errors.
@@ -34,7 +37,9 @@ Note that `cargo miri test` in GenMC mode is currently not supported.
34
37
-`debug2`: Print the execution graph after every memory access.
35
38
-`debug3`: Print reads-from values considered by GenMC.
36
39
37
-
<!-- FIXME(genmc): explain options. -->
40
+
#### Regular Miri parameters useful for GenMC mode
41
+
42
+
-`-Zmiri-disable-weak-memory-emulation`: Disable any weak memory effects (effectively upgrading all atomic orderings in the program to `SeqCst`). This option may reduce the number of explored program executions, but any bugs related to weak memory effects will be missed. This option can help determine if an error is caused by weak memory effects (i.e., if it disappears with this option enabled).
38
43
39
44
<!-- FIXME(genmc): explain Miri-GenMC specific functions. -->
0 commit comments