about summary refs log tree commit diff
path: root/src/librustc_mir/interpret/machine.rs
AgeCommit message (Expand)AuthorLines
2019-04-16Miri: refactor new allocation taggingRalf Jung-20/+20
2019-03-26renames EvalContext to InterpretCx.kenta7777-12/+12
2019-02-13make bin_op and unary_op APIs consistently work on ImmTyRalf Jung-6/+4
2019-02-10rustc: doc commentsAlexander Regueiro-12/+12
2019-01-02Add missing 'static bound for the Machine traitMatthew Jasper-1/+1
2018-12-25Remove licensesMark Rousskov-10/+0
2018-12-23Rollup merge of #56981 - RalfJung:miri-infallible-alloc, r=oli-obkkennytm-1/+1
2018-12-19miri: allocation is infallibleRalf Jung-1/+1
2018-12-18treat ref-to-raw cast like a reborrow: do a special kind of retagRalf Jung-11/+1
2018-12-07Various minor/cosmetic improvements to codeAlexander Regueiro-1/+1
2018-12-03Retag needs to know whether this is a 2-phase-reborrowRalf Jung-0/+1
2018-11-27Auto merge of #56094 - RalfJung:memory-data-revived, r=oli-obkbors-5/+26
2018-11-25machine hooks for stack push and pop, frame machine dataRalf Jung-0/+14
2018-11-25pass MemoryExtra to find_foreign_static and adjust_static_allocation; they mi...Ralf Jung-4/+6
2018-11-25bring back MemoryExtraRalf Jung-1/+6
2018-11-20Grammar nitOliver Scherer-1/+1
2018-11-20Document runtime static mutation checksOliver Scherer-1/+2
2018-11-15Auto merge of #55716 - RalfJung:escape-to-raw, r=oli-obkbors-18/+10
2018-11-12remove unused importRalf Jung-1/+1
2018-11-12for uniformity, also move memory_deallocated to AllocationExtraRalf Jung-10/+0
2018-11-08FalloutOliver Scherer-2/+2
2018-11-08Move the `memory_accessed` hook onto the `Extra` valueOliver Scherer-20/+0
2018-11-07calling the ptr hooks no longer needs expensive preparation, remove the opt-outRalf Jung-5/+0
2018-11-07no more action on ref or cast, but add new MIR statement for escaping a ptr t...Ralf Jung-13/+10
2018-11-05machine hooks for ptr (de)ref also need layout, and then they do not need the...Ralf Jung-13/+9
2018-10-29the memory_deallocated hook can make good use of knowing the sizeRalf Jung-0/+1
2018-10-29provide mutable borrows when hooking memory write accessRalf Jung-14/+12
2018-10-29Emit Retag statements, kill Validate statementsRalf Jung-3/+3
2018-10-28don't tag new memory inside memory.rs; add machine hook to tag new memoryRalf Jung-3/+11
2018-10-28validity in non-const mode relies on ref_to_mplace checking bounds; (de)refer...Ralf Jung-15/+21
2018-10-28make (de)reference hooks more consistentRalf Jung-4/+7
2018-10-18don't do any work towards ptr provenance in const modeRalf Jung-0/+5
2018-10-18add 'raw reference' to the machine hook, and use that in ptr-to-raw castsRalf Jung-1/+2
2018-10-18Forward entire ptr used for dealloaction to machineRalf Jung-1/+1
2018-10-18repeat after me: Clone, Copy, DebugRalf Jung-0/+1
2018-10-18also hook dereferencingRalf Jung-5/+14
2018-10-18provide machine hooks for creating references and accessing memoryRalf Jung-6/+46
2018-10-18give machine more control over what counts as memory leakRalf Jung-1/+6
2018-10-18add support for storing extra data in an allocationRalf Jung-12/+14
2018-10-13make ENFORCE_VALIDITY a functionRalf Jung-1/+1
2018-10-10more comments for these sublte games we are playing with allocations in the m...Ralf Jung-2/+4
2018-10-10abstract mono_hash_map through a trait, only miri actually needs the fancy oneRalf Jung-5/+46
2018-10-10fix typosRalf Jung-1/+1
2018-10-10miri engine: basic support for pointer provenance trackingRalf Jung-14/+35
2018-10-09add machine option to validate things on every copyRalf Jung-0/+3
2018-09-20move CTFE engine snapshot state out of miri engine into CTFE machine instanceRalf Jung-13/+15
2018-09-09miri loop detector hashing: fix enum hashing to also consider discriminant; d...Ralf Jung-7/+7
2018-09-03Implement Hash in terms of HashStable for EvalSnapshotBruno Dutra-2/+4
2018-08-29make ptr_op finally reponsible for all ops involving pointers; make ValTy con...Ralf Jung-6/+4
2018-08-27use associated const for machine controlling mutable staticsRalf Jung-14/+9