bors
|
e4a98ea8d8
|
Auto merge of #826 - RalfJung:uninit, r=RalfJung
uninit intrinsic is gone
Finally. :D
However, to land this we'll need to fix the intptrcast issues that block https://github.com/rust-lang/miri/pull/803.
|
2019-07-06 09:40:51 +00:00 |
|
Lzu Tao
|
96be92401e
|
build: Revert update beta toolchain
|
2019-07-06 16:35:57 +07:00 |
|
lzutao
|
8f114e87b8
|
Remove stable cargo feature default-run
At least on beta.
|
2019-07-06 16:33:30 +07:00 |
|
bors
|
e734f1286b
|
Auto merge of #824 - RalfJung:c_str, r=RalfJung
use Memory::read_c_str, avoid a few to_ptr
This is the Miri side of https://github.com/rust-lang/rust/pull/62257
|
2019-07-06 09:17:45 +00:00 |
|
Ralf Jung
|
47bfc62b5b
|
use Memory::read_c_str, avoid a few to_ptr
|
2019-07-06 11:01:07 +02:00 |
|
bors
|
226156f673
|
Auto merge of #808 - RalfJung:extra-fn, r=RalfJung
use Dlsym support to implement getentropy (and better thread spawn error)
This is the Miri side of https://github.com/rust-lang/rust/pull/62245.
Fixes https://github.com/rust-lang/miri/issues/789
|
2019-07-06 08:26:10 +00:00 |
|
Ralf Jung
|
fbf3f5e0c9
|
bump rustc
|
2019-07-06 10:07:22 +02:00 |
|
Ralf Jung
|
9e130c6c6f
|
fix for changd machine trait signatures
|
2019-07-06 10:07:22 +02:00 |
|
Ralf Jung
|
4fa243be78
|
adjust for get_fn signature change
|
2019-07-06 10:07:22 +02:00 |
|
Ralf Jung
|
3ca934f07d
|
gen_random: use check_ptr_access
|
2019-07-06 10:07:22 +02:00 |
|
Ralf Jung
|
8093a59ffb
|
move gen_random to helpers
|
2019-07-06 10:07:21 +02:00 |
|
Ralf Jung
|
b3c3c33ebf
|
bump the version of getrandom that we test
|
2019-07-06 10:07:21 +02:00 |
|
Ralf Jung
|
4f6a56f54f
|
better error message when the program tries to spawn a thread
|
2019-07-06 10:07:21 +02:00 |
|
Ralf Jung
|
2ca1b94e6d
|
update to FnVal changes; implement basic Dlsym support and use it for getentropy
|
2019-07-06 10:07:21 +02:00 |
|
Ralf Jung
|
fa290f1a48
|
uninit intrinsic is gone
|
2019-07-06 10:06:45 +02:00 |
|
bors
|
cb09fab5ff
|
Auto merge of #799 - rust-lang:rustup, r=RalfJung
Initialize MemoryExtra with StdRng
We need this in a local branch for an synchronous rustc update.
|
2019-07-06 07:36:28 +00:00 |
|
Ralf Jung
|
ba8728cd8b
|
fix test using mem::uninitialized
|
2019-07-06 09:33:22 +02:00 |
|
Ralf Jung
|
5e022773f3
|
fix unused variable warning
|
2019-07-06 09:32:35 +02:00 |
|
Ralf Jung
|
67882459f3
|
bump rustc
|
2019-07-06 09:29:58 +02:00 |
|
Ralf Jung
|
b324cbf282
|
Merge remote-tracking branch 'origin/master' into rustup
|
2019-07-06 09:29:17 +02:00 |
|
bors
|
ad837079e1
|
Auto merge of #817 - RalfJung:small-alloc, r=RalfJung
align small malloc-allocations even less, and test that we do
Needs https://github.com/rust-lang/rust/pull/62295 to land.
Fixes https://github.com/rust-lang/miri/issues/812.
|
2019-07-05 22:52:21 +00:00 |
|
Ralf Jung
|
029a29407a
|
dangling-ptr-to-int should work now; move to noseed
|
2019-07-05 23:54:18 +02:00 |
|
Ralf Jung
|
b75e9179bf
|
bump rustc
|
2019-07-05 23:49:30 +02:00 |
|
Ralf Jung
|
1729965808
|
rename InterpretCx -> InterpCx
|
2019-07-05 23:48:51 +02:00 |
|
Ralf Jung
|
f23b782101
|
align small malloc-allocations even less, and test that we do
|
2019-07-05 23:48:48 +02:00 |
|
bors
|
285fc0d70e
|
Auto merge of #803 - christianpoveda:intptrcast-explicit-casts, r=RalfJung
Add tests for Intptrcast when doing explicit casts
r? @RalfJung
|
2019-07-05 20:46:34 +00:00 |
|
Ralf Jung
|
89696a4ab9
|
Merge remote-tracking branch 'origin/master'
|
2019-07-05 22:46:11 +02:00 |
|
Ralf Jung
|
4d76dd1f09
|
temporarily disable validation on Windows
|
2019-07-05 21:26:58 +02:00 |
|
bors
|
16d791bf88
|
Auto merge of #825 - RalfJung:no-null, r=RalfJung
avoid Scalar::is_null_ptr, it is going away
Comparing pointers should be done more carefully than that
|
2019-07-05 19:25:10 +00:00 |
|
Ralf Jung
|
9b58492df1
|
temporarily disable intptrcast advanced testing on Windows
|
2019-07-05 19:22:22 +02:00 |
|
Ralf Jung
|
6c58d40a8d
|
temporarily disable validation for 'cargo miri test' testing
|
2019-07-05 19:21:42 +02:00 |
|
Ralf Jung
|
aad5fde703
|
fix deallocating/reallocating with integer pointers
|
2019-07-05 19:21:21 +02:00 |
|
Ralf Jung
|
698b311a59
|
fix NULL in TLS dtors
|
2019-07-05 10:08:57 +02:00 |
|
Ralf Jung
|
07d5e9917c
|
avoid Scalar::is_null_ptr, it is going away
|
2019-07-05 09:56:42 +02:00 |
|
Ralf Jung
|
802dcb7f89
|
temporarily disable ptr_offset, maybe that helps
|
2019-07-05 00:06:41 +02:00 |
|
bors
|
3525943794
|
Auto merge of #822 - RalfJung:tls, r=RalfJung
move tls.rs into shims module
|
2019-07-04 08:51:19 +00:00 |
|
Ralf Jung
|
93c62a4912
|
move tls.rs into shims module
|
2019-07-03 23:12:44 +02:00 |
|
Christian Poveda
|
8dfb278ac5
|
Fix explicit cast test
|
2019-07-03 15:59:32 -05:00 |
|
Christian Poveda
|
39d383d9e7
|
Update rust-version
|
2019-07-03 13:38:39 -05:00 |
|
Christian Poveda
|
074e20eb7b
|
Add intptrcast test for explicit casts
|
2019-07-03 13:38:39 -05:00 |
|
bors
|
ce5e910e60
|
Auto merge of #820 - RalfJung:intptrcast, r=RalfJung
Make most tests work with Intptrcast
The one that still fails (amusingly, that's ptr_int_casts) requires some help from the librustc_mir side.
|
2019-07-03 17:13:09 +00:00 |
|
Ralf Jung
|
b29cb7d551
|
avoid catching errors
|
2019-07-03 10:56:25 +02:00 |
|
Ralf Jung
|
8ec25066e7
|
make a test noseed for now that does not work with intptrcast yet
|
2019-07-03 10:47:28 +02:00 |
|
Ralf Jung
|
eb4128fb42
|
don't call Stacked Borrows hooks at all when validation is disabled
|
2019-07-03 10:47:28 +02:00 |
|
Ralf Jung
|
c8450bda4f
|
support integers that can be cast to pointers in in-bounds offset operation
|
2019-07-03 10:47:28 +02:00 |
|
Ralf Jung
|
c3da843ca0
|
we don't need zero-sized freeze-sensitive visiting
|
2019-07-03 10:47:28 +02:00 |
|
Ralf Jung
|
12b8d4366c
|
avoid integer overflow in ptr-to-int cast
|
2019-07-03 10:47:28 +02:00 |
|
Ralf Jung
|
c6e4f760a2
|
allow dangling ptr-to-int casts; use force_bits for ptr comparison
|
2019-07-03 10:47:28 +02:00 |
|
Ralf Jung
|
457c823765
|
only treat integer operations as such
|
2019-07-03 10:47:28 +02:00 |
|
Ralf Jung
|
44298d86f0
|
dont add the -Zmiri-seed flag twice
|
2019-07-03 10:47:25 +02:00 |
|