Skip to content

Tracking issue for function and method stubbing #1809

Open

Description

@aaronbembenek-aws

Summary

This is a tracking issue for the implementation of function and method stubbing, which will enable users to swap in alternate definitions of functions and methods during verification.

During development, this feature will be gated by the unstable option --enable-stubbing.

Major Steps

Suggestion of major steps:

  • Get feedback on the function_stubbing RFC.
  • Implement kani::stub attribute.
  • Implement --enable-stubbing option. This will initially require --harness as well.
  • Implement basic stubbing mechanism, requiring a single harness, and doing no path resolution for function/method names.
  • Implement stub validation.
  • Implement path resolution for function/method names.
  • Implement mechanism removing single harness requirement.
  • Stabilization PR.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

T-RFCZ-Kani Compiler

Type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions