Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adjust Allocation Bytes used by Miri to custom MiriAllocBytes #3526

Merged
merged 1 commit into from
May 17, 2024

Commits on May 16, 2024

  1. start implementing MiriAllocBytes

    attempt changing Bytes in MiriMachine to MiriAllocBytes
    
    rename miri_alloc_bytes to alloc_bytes
    
    generalize impl VisitProvenance for Allocation for any Bytes: AllocBytes
    
    mend MiriAllocBytes -> Self::Bytes
    
    fix Invariant documentation and bugs (drop), impl Clone
    
    Update MiriAllocBytes description
    
    Co-authored-by: Ralf Jung <post@ralfj.de>
    
    Rephrase MiriAllocBytes ptr invariant
    
    Co-authored-by: Ralf Jung <post@ralfj.de>
    
    Update MiriAllocBytes ptr documentation
    
    Co-authored-by: Ralf Jung <post@ralfj.de>
    
    fix safety comment in MiriAllocBytes::clone
    
    fix safety comment in MiriAllocBytes::from_bytes
    
    try implementing clone without unsafe
    
    remove derive(PartialEq,Eq,Hash), fix fmt
    
    move ptr.is_null() check inside only necessary branch
    
    use std::ptr::without_provenance_mut, requiring feature(strict_provenance)
    
    align.bytes_usize() instead of align.bytes().try_into().unwrap()
    
    Update src/provenance_gc.rs
    
    Co-authored-by: Ralf Jung <post@ralfj.de>
    
    fix clippy error on deref
    Strophox committed May 16, 2024
    Configuration menu
    Copy the full SHA
    cf6330c View commit details
    Browse the repository at this point in the history