summary refs log tree commit diff
path: root/compiler/rustc_const_eval/src/interpret/memory.rs
AgeCommit message (Expand)AuthorLines
2022-10-14more dupe word typosRageking8-1/+1
2022-08-31Fix a bunch of typoDezhi Wu-2/+2
2022-08-27interpret: make read-pointer-as-bytes *always* work in MiriRalf Jung-10/+14
2022-08-27interpret: rename relocation → provenanceRalf Jung-17/+17
2022-08-26make read_immediate error immediately on uninit, so ImmTy can carry initializ...Ralf Jung-14/+5
2022-08-26remove some now-unnecessary parameters from check_bytesRalf Jung-7/+2
2022-08-26fix an outdated machine hook nameRalf Jung-2/+2
2022-08-15Rename Machine memory hooks to suggest when they runBen Kimock-5/+11
2022-08-05add method to get the mutability of an AllocIdRalf Jung-0/+7
2022-07-23now we can make scalar_to_ptr a method on ScalarRalf Jung-22/+1
2022-07-23remove some provenance-related machine hooks that Miri no longer needsRalf Jung-1/+1
2022-07-20consistently use VTable over Vtable (matching stable stdlib API RawWakerVTable)Ralf Jung-10/+10
2022-07-20incorporate some review feedbackRalf Jung-1/+1
2022-07-20make use of symbolic vtables in interpreterRalf Jung-7/+26
2022-07-20rename get_global_alloc to try_get_global_allocRalf Jung-6/+6
2022-07-20add a Vtable kind of symbolic allocationsRalf Jung-1/+17
2022-07-19interpret: rename Tag/PointerTag to Prov/ProvenanceRalf Jung-78/+82
2022-07-05Rollup merge of #98811 - RalfJung:interpret-alloc-range, r=oli-obkDylan DPC-31/+17
2022-07-02more use of format! variable captureRalf Jung-3/+1
2022-07-02make AllocRef APIs more consistentRalf Jung-6/+8
2022-07-02add AllocRange Debug impl; remove redundant AllocId Display implRalf Jung-23/+9
2022-06-28make `get_relocations` privateRémy Rakic-1/+1
2022-06-28ctfe interning: don't walk allocations that don't need itRémy Rakic-0/+5
2022-06-26interpret: refactor allocation info queryRalf Jung-50/+33
2022-06-16interpret: convert_tag_add_extra, init_allocation_extra: allow tagger to rais...Ralf Jung-8/+10
2022-06-09Auto merge of #97740 - RalfJung:ctfe-cycle-spans, r=lcnrbors-1/+2
2022-06-05interpret: better control over whether we read data with provenance, and impl...Ralf Jung-4/+19
2022-06-04use precise spans for recursive const evaluationRalf Jung-1/+2
2022-06-01Rollup merge of #97216 - RalfJung:null-ptr-check, r=oli-obkYuki Okushi-0/+4
2022-05-22Lifetime variance fixes for rustcMichael Goulet-3/+3
2022-05-20Ensure we never consider the null pointer dereferencableRalf Jung-0/+4
2022-05-20Rollup merge of #97188 - carbotaniuman:remove-null-assert, r=RalfJungGuillaume Gomez-5/+1
2022-05-19Remove unneeded assertscarbotaniuman-5/+1
2022-05-19interpret/validity: separately control checking numbers for being init and no...Ralf Jung-2/+7
2022-05-14Auto merge of #95826 - carbotaniuman:miri-permissive-provenance, r=RalfJungbors-7/+13
2022-05-13Rustc changes for permissive provenancecarbotaniuman-7/+13
2022-04-20Rollup merge of #96160 - RalfJung:interpret-debug, r=oli-obkDylan DPC-4/+21
2022-04-19Rollup merge of #96165 - RalfJung:miri-provenance-cleanup, r=oli-obkDylan DPC-37/+36
2022-04-18avoid an unnecessary call to Pointer::into_parts, and caution against into_po...Ralf Jung-3/+2
2022-04-18add method to get absolute address of a pointer (useful only for Miri)Ralf Jung-6/+2
2022-04-18avoid pairing up AllocId and PointerTag, which is redundantRalf Jung-16/+21
2022-04-17ptr_get_alloc_id: don't return an actual PointerRalf Jung-29/+28
2022-04-17interpret: more debug logging for read_scalar and write_scalarRalf Jung-4/+21
2022-04-17add caution to some commentsRalf Jung-1/+1
2022-04-17when writing uninit to an allocation, also clear relocations like other write...Ralf Jung-4/+9
2022-04-11Add new `Deinit` statement kindJakob Degen-0/+5
2022-04-07interpret: err instead of ICE on size mismatches in to_bits_or_ptr_internalRalf Jung-15/+23
2022-04-05interp: pass TyCtxt to Machine methods that do not take InterpCxRalf Jung-5/+6
2022-04-03tweak some function namesRalf Jung-11/+11
2022-04-03interpret: remove MemoryExtra in favor of giving access to the MachineRalf Jung-98/+109