about summary refs log tree commit diff
path: root/compiler/rustc_middle/src/mir/interpret/pointer.rs
AgeCommit message (Expand)AuthorLines
2025-07-30const-eval: full support for pointer fragmentsRalf Jung-6/+6
2025-07-07compiler: Parse `p-` specs in datalayout string, allow definition of custom d...Edoardo Marangoni-1/+1
2025-06-29rename Pointer::from_addr_invalid to match strict provenance APIRalf Jung-2/+2
2025-06-29give Pointer::into_parts a more scary name and offer a safer alternativeRalf Jung-7/+14
2024-12-05extend Miri to correctly pass mutable pointers through FFIStrophox-0/+9
2024-11-03compiler: Directly use rustc_abi in metadata and middleJubilee Young-1/+1
2024-09-10const-eval interning: accpt interior mutable pointers in final value (but kee...Ralf Jung-4/+43
2024-08-01interpret: simplify pointer arithmetic logicRalf Jung-87/+11
2024-08-01on a signed deref check, mention the right pointer in the errorRalf Jung-6/+3
2024-07-29Rollup merge of #128277 - RalfJung:offset_from_wildcard, r=oli-obkMatthias Krüger-3/+6
2024-07-29Reformat `use` declarations.Nicholas Nethercote-2/+3
2024-07-27improve dangling/oob errors and make them more uniformRalf Jung-3/+6
2024-04-29Remove `extern crate rustc_data_structures` from numerous crates.Nicholas Nethercote-0/+1
2024-04-29Remove `extern crate rustc_macros` from `rustc_middle`.Nicholas Nethercote-1/+1
2024-02-15Replace `NonZero::<_>::new` with `NonZero::new`.Markus Reiter-1/+1
2024-02-15Use generic `NonZero` internally.Markus Reiter-3/+3
2024-01-22const-eval interner: from-scratch rewrite using mutability information from p...Ralf Jung-0/+6
2023-12-07also print 'immutable' flagRalf Jung-25/+12
2023-12-07ctfe interpreter: extend provenance so that it can track whether a pointer is...Ralf Jung-4/+76
2023-09-04interpret: make MemPlace, Place, Operand types private to the interpreterRalf Jung-1/+1
2023-07-21Revert "Auto merge of #113166 - moulins:ref-niches-initial, r=oli-obk"David Tolnay-8/+22
2023-07-21CTFE: move `target_{i, u}size_{min, max)` to `rustc_abi::TargetDataLayout`Moulins-22/+8
2023-04-17Spelling - compilerJosh Soref-1/+1
2023-02-15Use target instead of machine for mir interpreter integer handling.Oli Scherer-8/+8
2023-02-14interpret: rename Pointer::from_addr → from_addr_invalidRalf Jung-2/+4
2022-12-10compiler: remove unnecessary imports and qualified pathsKaDiWa-1/+0
2022-11-26interpret: remove PartialOrd from a bunch of types that do not have or need a...Ralf Jung-1/+1
2022-11-06interpret: support for per-byte provenanceRalf Jung-10/+15
2022-10-14more dupe word typosRageking8-1/+1
2022-08-28improve OFFSET_IS_ADDR docsRalf Jung-2/+6
2022-08-27interpret: make read-pointer-as-bytes *always* work in MiriRalf Jung-0/+7
2022-07-19interpret: rename Tag/PointerTag to Prov/ProvenanceRalf Jung-26/+26
2022-07-05adjust dangling-int-ptr error messageRalf Jung-2/+17
2022-07-02add AllocRange Debug impl; remove redundant AllocId Display implRalf Jung-2/+2
2022-05-13Rustc changes for permissive provenancecarbotaniuman-4/+6
2022-04-18avoid an unnecessary call to Pointer::into_parts, and caution against into_po...Ralf Jung-0/+4
2022-04-18add method to get absolute address of a pointer (useful only for Miri)Ralf Jung-0/+10
2022-04-18avoid pairing up AllocId and PointerTag, which is redundantRalf Jung-0/+3
2022-03-31interpret: make isize::MAX the limit for dynamic value sizesRalf Jung-0/+5
2022-03-16resolve the conflict in compiler/rustc_session/src/parse.rscodehorseman-1/+1
2021-09-11interpreter PointerArithmetic: use new Size helper methodsRalf Jung-8/+6
2021-07-31CTFE: throw unsupported error when partially overwriting a pointerRalf Jung-0/+7
2021-07-18miri: better ptr-out-of-bounds errorsRalf Jung-0/+14
2021-07-16avoid manual Debug impls by adding extra Provenance bounds to typesRalf Jung-3/+5
2021-07-16get rid of incorrect erase_for_fmtRalf Jung-21/+5
2021-07-15adjustions and cleanup to make Miri build againRalf Jung-1/+13
2021-07-14use NonZeroU64 for AllocId to restore old type sizesRalf Jung-1/+1
2021-07-14consistently treat None-tagged pointers as ints; get rid of some deprecated S...Ralf Jung-1/+1
2021-07-14CTFE/Miri engine Pointer type overhaul: make Scalar-to-Pointer conversion inf...Ralf Jung-59/+102
2021-01-13Use unsigned_abs throughout repositoryJacob Pratt-2/+2