summary refs log tree commit diff
path: root/src/librustc_mir/interpret/memory.rs
AgeCommit message (Expand)AuthorLines
2020-05-30Make TLS accesses explicit in MIROliver Scherer-0/+2
2020-05-08Create a convenience wrapper for `get_global_alloc(id).unwrap()`Oliver Scherer-1/+1
2020-05-08Move `unwrap_fn` and `unwrap_memory` to `GlobalAlloc`Oliver Scherer-1/+1
2020-05-08Simplify the `tcx.alloc_map` APIOliver Scherer-11/+9
2020-05-01Move recursion check for zsts back to read site instead of access check site.Oliver Scherer-12/+1
2020-05-01rename InvalidIntPtrUsageRalf Jung-1/+1
2020-04-30Rollup merge of #71590 - RalfJung:mir-dump-pointers, r=oli-obkTyler Mandry-1/+1
2020-04-29expand comment in memory.rs with extra soundness concernsRalf Jung-1/+3
2020-04-26sync alloc dump and pointer printingRalf Jung-1/+1
2020-04-26Rollup merge of #71140 - oli-obk:static_cycle, r=RalfJungDylan DPC-1/+12
2020-04-23Update src/librustc_mir/interpret/memory.rsOliver Scherer-1/+3
2020-04-23Disallow statics initializing themselvesOliver Scherer-1/+10
2020-04-19Dogfood more or_patterns in the compilerJosh Stone-1/+1
2020-04-16mir/interpret: only use `ErrorHandled::Reported` for `ErrorReported`.Eduard-Mihai Burtescu-6/+3
2020-04-13Miri: let machine hook dynamically decide about alignment checksRalf Jung-2/+2
2020-04-10added machine hooks to track deallocationsOzaren-0/+2
2020-04-04indicate better which kind of memory got leakedRalf Jung-11/+15
2020-04-04share more alloc printing code between Miri and MIR dumpingRalf Jung-37/+34
2020-04-04avoid printing allocations twiceRalf Jung-8/+10
2020-04-04Miri leak_report: do not report leaks of allocations that are reachable from ...Ralf Jung-5/+24
2020-04-02nix rustc_target::abi::* reexport in ty::layoutMazdak Farrokhzad-3/+2
2020-03-30rustc -> rustc_middle part 3 (rustfmt)Mazdak Farrokhzad-1/+1
2020-03-30rustc -> rustc_middle part 2Mazdak Farrokhzad-2/+2
2020-03-27Auto merge of #69916 - oli-obk:mir_bless, r=eddybbors-71/+25
2020-03-26add 'fn write_u16s'(rustc_mir::interpret::Memory)JOE1994-2/+42
2020-03-26Enable `--bless`ing of MIR dumpsOliver Scherer-71/+25
2020-03-25Rollup merge of #70379 - JOE1994:patch-2, r=petrochenkovDylan DPC-2/+2
2020-03-25add usize methods for Size gettersRalf Jung-7/+6
2020-03-25go back to infix ops for SizeRalf Jung-7/+7
2020-03-25make Size::from* methods generic in the integer type they acceptRalf Jung-1/+1
2020-03-25use checked casts and arithmetic in Miri engineRalf Jung-16/+14
2020-03-24fix type name typo in doc commentsYoungsuk Kim-2/+2
2020-03-24fix const_prop ICERalf Jung-1/+4
2020-03-24get back the more precise error messageRalf Jung-1/+1
2020-03-24move ModifiedStatic error to ConstEval errors, and generally adjust terminolo...Ralf Jung-54/+56
2020-03-24Rollup merge of #70087 - ecstatic-morse:remove-const-eval-loop-detector, r=Ra...Mazdak Farrokhzad-19/+0
2020-03-17Use `const_eval_limit` instead of infinite loop detectorDylan MacKenzie-19/+0
2020-03-11avoid boolean inversionRalf Jung-3/+3
2020-03-11generalize InvalidNullPointerUsage to InvalidIntPointerUsageRalf Jung-1/+1
2020-03-11fmt, tweak messages and blessRalf Jung-7/+22
2020-03-11miri: categorize errors into "unsupported" and "UB"Ralf Jung-34/+33
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