about summary refs log tree commit diff
path: root/compiler/rustc_const_eval/src/interpret/place.rs
AgeCommit message (Expand)AuthorLines
2023-12-07avoid marking as immutable what is already immutableRalf Jung-5/+1
2023-12-07ctfe interpreter: extend provenance so that it can track whether a pointer is...Ralf Jung-7/+7
2023-11-28move write_aggregate into step file, and also extract write_repeat into separ...Ralf Jung-30/+1
2023-11-21Fix `clippy::needless_borrow` in the compilerNilstrieb-2/+2
2023-10-15separate bounds-check from alignment checkRalf Jung-10/+3
2023-10-15more precise error for 'based on misaligned pointer' caseRalf Jung-7/+7
2023-10-15place evaluation: require the original pointer to be aligned if an access hap...Ralf Jung-114/+77
2023-10-15avoid re-checking the offset while iterating an array/sliceRalf Jung-7/+20
2023-10-15don't UB on dangling ptr deref, instead check inbounds on projectionsRalf Jung-26/+22
2023-10-14Auto merge of #115524 - RalfJung:misalign, r=wesleywiserbors-2/+1
2023-10-03print normalized tyouz-a-10/+15
2023-09-26const-eval: make misalignment a hard errorRalf Jung-2/+1
2023-09-20interpret: less debug-printing of typesRalf Jung-3/+3
2023-09-19move ConstValue into mirRalf Jung-5/+4
2023-09-15make interpreter type Debug impl independent of Ty debug implRalf Jung-2/+7
2023-09-06miri: catch function calls where the argument is caller-invalid / the return ...Ralf Jung-0/+7
2023-09-04interpret: make MemPlace, Place, Operand types private to the interpreterRalf Jung-113/+146
2023-08-30a bit of meta-related cleanup on ProjectableRalf Jung-27/+6
2023-08-30move marking-locals-live out of push_stack_frame, so it happens with argument...Ralf Jung-12/+18
2023-08-30interpret: fix projecting into an unsized field of a localRalf Jung-33/+33
2023-08-25Record allocation spans inside force_allocationBen Kimock-4/+5
2023-08-08Auto merge of #114520 - RalfJung:unsized-valtrees, r=oli-obkbors-2/+14
2023-08-06simplify handling of valtrees for unsized typesRalf Jung-2/+14
2023-08-06interpret: use ConstPropNonsense for more const-prop induced issuesRalf Jung-2/+2
2023-08-04interpret: add mplace_to_ref helper methodRalf Jung-2/+13
2023-08-01rename deref_operand → deref_pointer and some Miri helper functionsRalf Jung-2/+3
2023-07-25make MPlaceTy non-CopyRalf Jung-3/+3
2023-07-25interpret: make read functions generic over operand typeRalf Jung-11/+11
2023-07-25interpret: make write functions generic over the place typeRalf Jung-97/+129
2023-07-25add some sanity checks in write_immediate_no_validateRalf Jung-3/+28
2023-07-25interpret: refactor projection code to work on a common trait, and use that f...Ralf Jung-70/+76
2023-07-24interpret: support projecting into Place::Local without force_allocationRalf Jung-66/+159
2023-07-12Re-format let-else per rustfmt updateMark Rousskov-3/+7
2023-07-11fix handling of alignment for dyn-sized placesRalf Jung-4/+6
2023-07-11miri: protect Move() function arguments during the callRalf Jung-10/+12
2023-07-07miri: check that assignments do not self-overlapRalf Jung-1/+6
2023-07-05Move `TyCtxt::mk_x` to `Ty::new_x` where applicableBoxy-2/+4
2023-04-24Split `{Idx, IndexVec, IndexSlice}` into their own modulesMaybe Waffle-1/+1
2023-04-01Use `FieldIdx` in various things related to aggregatesScott McMurray-4/+5
2023-03-25Refactor: `VariantIdx::from_u32(0)` -> `FIRST_VARIANT`Scott McMurray-2/+2
2023-03-21Add a layout argument to `enforce_validity`.Oli Scherer-2/+2
2023-03-02Rollup merge of #108022 - CraftSpider:align-bytes, r=oli-obkMatthias Krüger-2/+4
2023-02-20Minimal changes to make miri workRune Tynan-2/+4
2023-02-20Allow non-`Box` allocations in preparation for aligned const allocations for ...Rune Tynan-2/+2
2023-02-20basic dyn* support for MiriRalf Jung-15/+52
2023-02-15Use target instead of machine for mir interpreter integer handling.Oli Scherer-2/+2
2023-02-14interpret: rename Pointer::from_addr → from_addr_invalidRalf Jung-1/+1
2023-02-07Rollup merge of #107756 - RalfJung:miri-out-of-addresses, r=oli-obkMatthias Krüger-3/+3
2023-02-07miri: fix ICE when running out of address spaceRalf Jung-3/+3
2023-02-06interpret: move discriminant reading and writing to separate fileRalf Jung-83/+4