Skip to content

Make kani::mem::is_inbounds public #3946

Closed
@jswrenn

Description

@jswrenn

In zerocopy, we have a constructor whose safety condition is that its argument is a pointer that is well-sized for its type and metadata. I see that can_write_unaligned is currently just a wrapper around in_bounds, but our safety condition doesn't have anything to do with writeability.

Metadata

Metadata

Assignees

Labels

T-UserTag user issues / requests[C] Feature / EnhancementA new feature request or enhancement to an existing feature.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions