rust/tests/compile-fail
Scott Olson 20ced4a720 Replace const_to_ptr with const_to_value.
This reduces the number of allocations Miri makes drastically. The
`const_to_ptr` function was a lame hack that allocated for every since simple
constant, and all of those are avoided now, except for one extra allocation each
for string and bytestring literals which will be fixed in a followup commit.

There are a number of hacks such as `eval_operand_to_ptr` left over from this
commit, which will also be fixed in followup commits.
2016-09-19 02:19:34 -06:00
..
alignment.rs add a test 2016-07-06 11:19:24 +02:00
assume.rs error on failed assumptions 2016-09-13 13:08:57 +02:00
cast_fn_ptr_unsafe2.rs implement fn -> unsafe fn pointer casts 2016-06-17 16:49:06 +02:00
cast_fn_ptr_unsafe.rs implement fn -> unsafe fn pointer casts 2016-06-17 16:49:06 +02:00
cast_fn_ptr.rs change the block and stmt position after a function call returns 2016-09-07 12:48:29 +02:00
dangling_pointer_deref.rs don't use #[miri_run] anymore, but execute the main function 2016-06-13 15:33:05 +02:00
deref_fn_ptr.rs don't use #[miri_run] anymore, but execute the main function 2016-06-13 15:33:05 +02:00
env_args.rs use the item path printer that prints user friendly textual paths 2016-06-29 17:07:05 +02:00
execute_memory.rs change the block and stmt position after a function call returns 2016-09-07 12:48:29 +02:00
invalid_bool.rs don't use #[miri_run] anymore, but execute the main function 2016-06-13 15:33:05 +02:00
invalid_enum_discriminant.rs there can never be too many tests 2016-06-23 09:36:37 +02:00
match_char.rs add test for invalid char 2016-06-23 09:36:37 +02:00
null_pointer_deref.rs don't use #[miri_run] anymore, but execute the main function 2016-06-13 15:33:05 +02:00
oom2.rs Replace const_to_ptr with const_to_value. 2016-09-19 02:19:34 -06:00
oom.rs change the block and stmt position after a function call returns 2016-09-07 12:48:29 +02:00
out_of_bounds_read2.rs don't allow runtime-aligning of memory 2016-07-22 16:35:39 +02:00
out_of_bounds_read.rs don't allow runtime-aligning of memory 2016-07-22 16:35:39 +02:00
overwriting_part_of_relocation_makes_the_rest_undefined.rs don't use #[miri_run] anymore, but execute the main function 2016-06-13 15:33:05 +02:00
pointers_to_different_allocations_are_unorderable.rs don't use #[miri_run] anymore, but execute the main function 2016-06-13 15:33:05 +02:00
stack_limit.rs rustc now can use integer literals in attributes 2016-09-07 10:27:57 +02:00
static_memory_modification.rs Undo accidental test deletion in previous commit. 2016-09-13 20:17:52 -06:00
timeout.rs rustc now can use integer literals in attributes 2016-09-07 10:27:57 +02:00
undefined_byte_read.rs don't use #[miri_run] anymore, but execute the main function 2016-06-13 15:33:05 +02:00
unimplemented.rs don't use #[miri_run] anymore, but execute the main function 2016-06-13 15:33:05 +02:00
wild_pointer_deref.rs don't use #[miri_run] anymore, but execute the main function 2016-06-13 15:33:05 +02:00