Oli Scherer
4f357956b8
Only support libffi on unix for now
2022-09-21 12:48:47 +00:00
Ralf Jung
bacf131acc
remove Windows TERM env var hack and -Zmiri-env-exclude
2022-09-20 08:51:13 +02:00
Ralf Jung
1a955567d0
note on deterministic 'fake' API implementations
2022-09-19 09:02:13 +02:00
Ben Kimock
d61d4c6af7
Implement -Zmiri-tag-gc a garbage collector for tags
2022-09-10 23:05:41 -04:00
Ralf Jung
2f348abafc
Revert "disable extern-so ffi support for now due to licensing situation"
...
This reverts commit 5f3545e773
.
With https://github.com/tov/libffi-rs/pull/58 landed, we no longer depend on abort_on_panic.
2022-09-02 14:39:25 +02:00
Ralf Jung
5f3545e773
disable extern-so ffi support for now due to licensing situation
2022-09-01 22:25:14 +02:00
Ellen Arteca
88a7882615
C FFI support for functions with int args and returns
2022-08-26 00:53:23 +00:00
Ralf Jung
f8449c2c78
stop excluding TERM env var on Unix
2022-08-06 14:31:26 -04:00
Ralf Jung
0b1d5a4957
test all of the autocfg queries
2022-07-24 13:35:05 -04:00
Ralf Jung
d905901d65
make miri a better RUSTC by default inside cargo-miri
...
this requires a change in sysroot handling: miri driver now requires
MIRI_SYSROOT to be set when it is in 'target' mode, rather than relying on
`--sysroot` always being present.
2022-07-24 13:30:32 -04:00
Ralf Jung
649b216482
add a flag to print a diagnostic when an outdated value is returned from an atomic load
2022-07-23 09:39:02 -04:00
Ralf Jung
83cbbd7bce
support MIRI_HOST_SYSROOT env var for stage 0 builds
...
Together with a patch on the rustc side, this makes './x.py test src/tools/miri --stage 0' work again. :)
2022-07-22 08:35:12 -04:00
Oli Scherer
9e7f3cdc36
Document MIRI_AUTO_OPS
2022-07-21 15:07:07 +00:00
Ralf Jung
49a6c230cb
remove deprecated options
2022-07-11 21:28:54 -04:00
TechiePi
bf5af84640
Fix README typo
...
"behaivours" -> "behaviours".
Just something I noticed while reading
2022-07-10 23:41:35 +02:00
Ralf Jung
58b6e592a2
trophy case++
2022-07-04 16:10:57 -04:00
bors
5382f463a6
Auto merge of #2316 - domenicquirl:readme-track-tag, r=RalfJung
...
Clarify the effect of the `-Zmiri-track-pointer-tag` flag in the README
Edit the README to explicitly say that the `-Zmiri-track-pointer-tag` flag also tracks the creation of tags, not just when they are popped/invalidated.
Related to https://github.com/rust-lang/miri/pull/2308 / https://github.com/Manishearth/triomphe/issues/38 .
2022-07-03 14:07:27 +00:00
DQ
1b9e19a39b
clarify that a (tracked) tag may never be popped
...
Co-authored-by: Ralf Jung <post@ralfj.de>
2022-07-03 15:47:39 +02:00
Ralf Jung
e71f8b0630
fix ./miri run with MIRI_TEST_TARGET
2022-07-03 08:35:44 -04:00
Ralf Jung
c6f44c1639
another one for the trophy case
2022-07-03 08:18:03 -04:00
DQ
672d721544
Clarify -Zmiri-track-pointer-tag
...
to explicitly say it also tracks tag creation
2022-07-03 11:32:36 +02:00
Ralf Jung
dcdf4fb6f6
readme tweaks
2022-07-02 18:38:07 -04:00
Ralf Jung
aef78d3a9f
make -Zmiri-env-forward take precedence over -Zmiri-env-exclude
2022-06-30 11:14:30 -04:00
Oli Scherer
a9f9d48b1a
Support no-std targets and test it in CI
2022-06-30 12:51:22 +00:00
Ralf Jung
c4e86e103e
add option for recursive field retagging
2022-06-29 18:22:30 -04:00
Ralf Jung
6549764960
typo
2022-06-27 22:52:02 -04:00
Ralf Jung
4120425108
readme: move some things around
2022-06-26 22:19:56 -04:00
Ralf Jung
13d425daeb
make permissive provenance and raw-ptr tagging the default
2022-06-26 21:14:42 -04:00
Ralf Jung
60570a39c7
trophy case: add the data race in thread::scope
2022-06-26 18:59:48 -04:00
Ralf Jung
34be937d5f
add -Zmiri-report-progress to regularly print a stacktrace of what we are executing
2022-06-26 14:31:57 -04:00
Ralf Jung
54fbd313a6
README: multi-seed loop: also test the 0 seed
2022-06-25 12:27:50 -04:00
Ralf Jung
8d6fdaa024
make the tests pass
...
(and some formatting)
2022-06-24 18:03:02 -04:00
Ralf Jung
3f9414565d
readme
2022-06-19 09:18:16 -07:00
bors
2bbb70f584
Auto merge of #2203 - RalfJung:deprecate, r=oli-obk
...
deprecate -Zmiri-allow-uninit-numbers and -Zmiri-allow-ptr-int-transmute
Cc https://github.com/rust-lang/miri/issues/2187 https://github.com/rust-lang/miri/issues/2188
2022-06-13 10:23:42 +00:00
Ralf Jung
b64c9a0a83
make scheduler preemptive, with configurable preemption rate
2022-06-06 20:16:02 -04:00
Ralf Jung
14913e993b
deprecate -Zmiri-allow-uninit-numbers and -Zmiri-allow-ptr-int-transmute
2022-06-06 16:07:30 -04:00
Andy Wang
5ddd4eff03
Spelling, punctuation and grammar
...
Co-authored-by: Ralf Jung <post@ralfj.de>
2022-06-06 19:15:56 +01:00
Andy Wang
62b514e235
Update README
2022-06-06 19:15:24 +01:00
Andy Wang
bf7fe68fba
Add -Zmiri-disable-weak-memory-emulation to README
2022-06-06 19:15:22 +01:00
Ralf Jung
625b4ed341
fix dangling reference in the README
2022-06-03 14:48:45 -04:00
Ralf Jung
1226147414
rustup
2022-05-28 18:08:13 +02:00
Ralf Jung
8c42ef1dee
enable number validity checking and ptr::invalid checking by default
2022-05-25 16:17:41 +02:00
Oli Scherer
f1756c3ddd
Add a custom ui test runner and move all tests to it
2022-05-25 13:31:26 +00:00
Ralf Jung
4d9eafe19a
fix some old typos
2022-05-23 11:24:08 +02:00
Ralf Jung
a3a2a474cb
split flag section into common and advanced flags
2022-05-23 10:15:34 +02:00
Ralf Jung
f8f2255a91
readme: document permissive-provenance flag
2022-05-23 09:07:32 +02:00
Ralf Jung
aadbe8fd45
explain which targets we support to what extent
2022-05-20 23:41:55 +02:00
Ralf Jung
3b73eb4456
explain what we mean by 'unsound'
2022-05-20 23:41:55 +02:00
bors
36c274aa38
Auto merge of #2084 - rust-lang:silence, r=RalfJung
...
Add a command line flag to avoid printing to stdout and stderr
This is practical for tests that don't actually care about the output and thus don't want it intermingled with miri's warnings, errors or ICEs
fixes #2083
2022-05-10 07:24:07 +00:00
Oli Scherer
6dc6256413
Wording nit
2022-05-10 07:23:50 +00:00