summary refs log tree commit diff
path: root/src/librustc_mir/interpret/memory.rs
AgeCommit message (Expand)AuthorLines
2020-03-08Rollup merge of #69326 - JOE1994:os_str_widestring, r=RalfJungMazdak Farrokhzad-0/+27
2020-03-06mir-interpret: add method Memory::read wide_stringJOE1994-0/+27
2020-03-04Don't use "if let" bindings to only check a value and not actually bind anyth...Matthias Krüger-1/+1
2020-03-01Auto merge of #69408 - RalfJung:canonical-alloc-id, r=oli-obkbors-26/+33
2020-02-29Rename `syntax` to `rustc_ast` in source codeVadim Petrochenkov-1/+1
2020-02-23canonicalize alloc ID before calling tag_static_base_pointerRalf Jung-1/+2
2020-02-23miri/machine: add canonical_alloc_id hook to replace find_foreign_staticRalf Jung-25/+31
2020-02-19Check `RUSTC_CTFE_BACKTRACE` much less by generating fewer errorsWesley Wiser-6/+6
2020-01-16let rustfmt undo most of my edits :(Ralf Jung-2/+1
2020-01-16fix rustfmt falloutRalf Jung-2/+2
2019-12-28Avoid copying some undef memory in MIRSantiago Pastorino-24/+28
2019-12-27Avoid memory copy logic for zstsSantiago Pastorino-1/+9
2019-12-23Dynamically prevent constants from accessing staticsOliver Scherer-3/+4
2019-12-22Format the worldMark Rousskov-110/+93
2019-12-201. ast::Mutability::{Mutable -> Mut, Immutable -> Not}.Mazdak Farrokhzad-3/+3
2019-12-06Rename to `then_some` and `then`varkor-1/+1
2019-12-06Use `to_option` in various placesvarkor-1/+1
2019-12-02fix init_allocation_extraRalf Jung-7/+13
2019-12-02make alloc_extra machine hook a bit nicerRalf Jung-6/+9
2019-12-02Add From instances for Pointer -> ScalarMaybeUndef and Pointer -> ImmediateRalf Jung-1/+1
2019-11-28do not consider memory allocated by caller_location leakedRalf Jung-3/+7
2019-11-23only print LEAK REPORT if there is a leakRalf Jung-2/+4
2019-11-23Miri: print leak report even without tracingRalf Jung-11/+12
2019-11-22fix reoccuring typo: dereferencable -> dereferenceableRalf Jung-3/+3
2019-11-08Rollup merge of #66154 - RalfJung:to_usize, r=oli-obkMazdak Farrokhzad-1/+1
2019-11-08miri: Rename to_{u,i}size to to_machine_{u,i}sizeRalf Jung-1/+1
2019-11-08rename Memory::get methods to get_raw to indicate their unchecked natureRalf Jung-14/+18
2019-11-04let caller of check_ptr_access_align control the error messageRalf Jung-4/+6
2019-10-22relax ExactSizeIterator bound on write_bytes: too many iterators don't have t...Ralf Jung-3/+4
2019-10-21Rollup merge of #65647 - nnethercote:rm-unnecessary-traits, r=CentrilMazdak Farrokhzad-1/+1
2019-10-21Remove many unnecessary trait derivations.Nicholas Nethercote-1/+1
2019-10-20miri add write_bytes method to Memory doing bounds-checks and supporting iter...Ralf Jung-1/+20
2019-09-28Allow reading non-mutable statics in const propWesley Wiser-0/+2
2019-09-02Auto merge of #63561 - HeroicKatora:alloc-private-bytes, r=oli-obkbors-94/+23
2019-08-30Move relocation range copies into allocationAndreas Molzer-27/+3
2019-08-29Make allocation relocation field privateAndreas Molzer-2/+2
2019-08-28Address naming and comments from reviewsAndreas Molzer-2/+2
2019-08-21Expose encapsulated undef mask as immutableAndreas Molzer-1/+1
2019-08-21Replace usage of alloc.bytes in interpretAndreas Molzer-10/+15
2019-08-17fix typosDante-Broggi-1/+1
2019-08-17Move copy of undef_mask into allocationAndreas Molzer-55/+3
2019-08-14Rollup merge of #63075 - RalfJung:deref-checks, r=oli-obkMazdak Farrokhzad-2/+2
2019-08-05Auto merge of #63079 - RalfJung:ctfe-no-align, r=oli-obkbors-13/+31
2019-08-02dedup free-form Unsupported errors; add macros for free-form UB and Unsupport...Ralf Jung-6/+6
2019-08-02miri: validity checks alignment even when machine otherwise does notRalf Jung-2/+15
2019-08-02CTFE: simplify Value type by not checking for alignmentRalf Jung-13/+18
2019-07-31code review fixesSaleem Jaffer-1/+1
2019-07-31code review fixesSaleem Jaffer-14/+11
2019-07-30renaming throw_err_* to throw_*Saleem Jaffer-28/+26
2019-07-30renaming err to err_unsupSaleem Jaffer-21/+23