google / google/zerocopy

What about: Unreachable code

Open
#3,041 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
2.6k
Forks
179
Avg merge
1d 19h
Merged PRs (30d)
29

Description

Code that is unreachable in the control flow of a function – e.g. following an unconditional panic – is removed from MIR before Charon runs, and so is missing from LLBC.
- Is there a chance that we might spuriously treat such code as verified?
- If a function is reachable, but only reachable by code like this, will it be included in LLBC?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.