Skip to content

Miri should artifically shorten some reads/writes #4369

Open
@RalfJung

Description

@RalfJung

The issue in #4367 would likely have been found a lot faster if Miri artificially shortened reads/writes sometimes. I'm thinking of a heuristic like, with 50% probability only try to read/write half as much as was requested. (But we probably need to still read/write at least 1 byte -- 0-byte reads have different semantics IIRC?)

Cc @tiif @Noratrieb

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-filesArea: related to files, paths, sockets, file descriptors, or handlesC-enhancementCategory: a PR with an enhancement or an issue tracking an accepted enhancement

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions