Skip to content

Improve code contract documentation #5525

Closed

Description

@feliperodri

CBMC version: > 5.12
Operating system: N/A.
Exact command line resulting in the issue: N/A.
What behaviour did you expect: Complete documentation for current code contract support.
What happened instead:

Currently, CPROVER Manual doesn't have a complete documentation for code contracts (e.g., __CPROVER_ensures, __CPROVER_requires, __CPROVER_assigns, etc.). There should be a section in the manual describing the current support for these features. Particularly, improve the current section for assigns clauses:

  1. The documentation of assigns clause should clarify how CBMC checks that memory not captured by an assigns clause will not be written within a given scope;
  2. Improve explanation in Semantic. Enforcement subsection on how an assigns clause is a sound characterization
    of the behavior of a given function.

Activity

  1. added
    aws
    on Oct 15, 2020
  2. added
    Code Contracts
    on Feb 5, 2021
  3. self-assigned this
    on Feb 5, 2021
  4. feliperodri commented on Jul 12, 2021

    @feliperodri
    CollaboratorAuthor

    #6185 solves this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Code Contractsaws

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions