Skip to content

Commit afcb846

Browse files
committed
Auto merge of #143137 - RalfJung:miri-sync, r=RalfJung
Miri subtree update r? `@ghost`
2 parents b47132d + db13092 commit afcb846

File tree

31 files changed

+1781
-317
lines changed

31 files changed

+1781
-317
lines changed

Cargo.lock

Lines changed: 192 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,12 @@ libc = "0.2"
4040
libffi = "4.0.0"
4141
libloading = "0.8"
4242

43+
[target.'cfg(target_os = "linux")'.dependencies]
44+
nix = { version = "0.30.1", features = ["mman", "ptrace", "signal"] }
45+
ipc-channel = "0.19.0"
46+
serde = { version = "1.0.219", features = ["derive"] }
47+
capstone = "0.13"
48+
4349
[dev-dependencies]
4450
ui_test = "0.29.1"
4551
colored = "2"

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -419,6 +419,9 @@ to Miri failing to detect cases of undefined behavior in a program.
419419
Finally, the flag is **unsound** in the sense that Miri stops tracking details such as
420420
initialization and provenance on memory shared with native code, so it is easily possible to write
421421
code that has UB which is missed by Miri.
422+
* `-Zmiri-native-lib-enable-tracing` enables the WIP detailed tracing mode for invoking native code.
423+
Note that this flag is only meaningful on Linux systems; other Unixes (currently) do not support
424+
tracing mode.
422425
* `-Zmiri-measureme=<name>` enables `measureme` profiling for the interpreted program.
423426
This can be used to find which parts of your program are executing slowly under Miri.
424427
The profile is written out to a file inside a directory called `<name>`, and can be processed

0 commit comments

Comments
 (0)