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: src/6.2-memleak.md
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -37,7 +37,7 @@ impl<T> Drop for Proxy<T> {
37
37
```
38
38
39
39
## What's behind rCanary?
40
-
Canary is a component of RAP, and the overall architecture is as shown in the following diagram:
40
+
Canary is a component of RAPx, and the overall architecture is as shown in the following diagram:
41
41

42
42
43
43
It can generate SMT-Lib2 format constraints for Rust MIR and is implemented as a Cargo component. We design an encoder to abstract data with heap allocation and formalize a refined leak-free memory model based on boolean satisfiability.
@@ -71,9 +71,9 @@ Before using rCanary, please make sure that the Z3 solver is installed in your o
71
71
72
72
If not, run: `brew install z3` or `apt-get install z3`, with a minimum version of 4.10 for Z3.
73
73
74
-
Running rCanary within RAP is very simple, just enter the sysroot (root directory) of a Cargo program and run:
74
+
Running rCanary within RAPx is very simple, just enter the sysroot (root directory) of a Cargo program and run:
75
75
```shell
76
-
cargo rap -mleak
76
+
cargo rapx -mleak
77
77
```
78
78
79
79
> Note: Analysis will be terminated if the directory or toolchain version is not `nightly-2024-06-30`.
0 commit comments