Skip to content

Implement ebpf_check_constraints_at_label#729

Closed
Alan-Jowett wants to merge 2 commits into
vbpf:mainfrom
Alan-Jowett:issue728
Closed

Implement ebpf_check_constraints_at_label#729
Alan-Jowett wants to merge 2 commits into
vbpf:mainfrom
Alan-Jowett:issue728

Conversation

@Alan-Jowett

@Alan-Jowett Alan-Jowett commented Oct 14, 2024

Copy link
Copy Markdown
Contributor

Resolves: #728

This pull request exposes a new API "ebpf_check_constraints_at_label" which permits the caller to compare a set of constraints against the model at a specific label. If the model and the constraints differ it will return the two sets of constraints.

Enhancements and New Features:

Test Case Updates:

Summary by CodeRabbit

Release Notes

  • New Features

    • Introduced a new constructor for label parsing capabilities in label_t.
    • Added a boolean option store_pre_invariants for managing pre-invariant states during verification.
    • Implemented functions to check constraints and retrieve invariants associated with specific labels.
    • Added a new function for parsing linear constraints from strings.
    • Enhanced the testing framework to validate invariants during test execution.
  • Bug Fixes

    • Improved error handling for invalid label formats and numeric overflow in new functions.
  • Tests

    • Added new test cases to validate concrete state and invariants.
  • Documentation

    • Updated documentation for new functions, detailing parameters and return types.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Observation–Invariant consistency checking API (abstract interpretation cross-check)

4 participants