runtimeverification / runtimeverification/mir-semantics

Collection of failing rust programs

Open
#814 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
Python
Stars
52
Forks
5
PR merge metrics
No merged PRs in 30d

Description

fn helper() {}

fn main() {
    // Function items are zero-sized; calling through a `fn()` slot exercises constant decoding.
    let f: fn() = helper;
    f();
}
  • this is the program tried to test #809 and #813
  • #813 stuck at a term that solved in #809
  • #809 stuck at the following term where types 25,7 not found in types; this might be able to be solved by adding function types in types.
#cast ( Aggregate ( variantIdx ( 0 ) , .List ) , castKindPointerCoercion ( pointerCoercionReifyFnPointer ) , ty ( 25 ) , ty ( 7 ) )

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the Rust program in the issue and read the related context in issues #809 and #813. Trace the term involving pointer coercion and types 25 and 7 to identify where decoding stops. Done means the failing program progresses without the reported unresolved types.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
compilers
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.