Skip to content

Commit cfa7274

Browse files
Document the BDD_GUARDS compilation flag
This adds instruction to COMPILING.md so that people interested in performances can find about it, and try it.
1 parent 0a589d5 commit cfa7274

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

COMPILING.md

+19
Original file line numberDiff line numberDiff line change
@@ -310,3 +310,22 @@ If compiling with cmake:
310310
```
311311
cmake --build build
312312
```
313+
314+
## Use BDDs for guards
315+
316+
There are two implementation for symex guards. The default one uses the
317+
internal representation of expression. The other one uses BDDs and
318+
though experimental, it is expected to have better performance,
319+
in particular when used in conjunction with CUDD.
320+
321+
To use the BDD implementation of guards, add the `BDD_GUARDS`
322+
compilation flag:
323+
* If compiling with make:
324+
```
325+
make -C src CXXFLAGS="-O2 -DBDD_GUARDS"
326+
```
327+
* If compiling with CMake:
328+
```
329+
cmake -H. -Bbuild -DCMAKE_CXX_FLAGS="-DBDD_GUARDS"
330+
```
331+
and then `cmake --build build`

0 commit comments

Comments
 (0)