Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prevent integer overflows in sessions #687

Open
treiher opened this issue Jul 5, 2021 · 0 comments
Open

Prevent integer overflows in sessions #687

treiher opened this issue Jul 5, 2021 · 0 comments
Labels
generator Related to generator package (SPARK code generation)

Comments

@treiher
Copy link
Collaborator

treiher commented Jul 5, 2021

Context and Problem Statement

Integer overflows can occur in various scenarios:

  • Additions/multiplications using global variable in multiple states (e.g., incrementing sequence number for each message)
  • Additions/multiplications between externally provided values

Potential integer overflows must be detected during session verification. It must be ensured that the code generation can be realized in a way, so that all range checks can be proved.

This is a subproblem of #691.

@treiher treiher added the generator Related to generator package (SPARK code generation) label Jul 5, 2021
@treiher treiher added this to To do in RecordFlux 0.7 via automation Jul 5, 2021
@treiher treiher added the architectural decision Discussion of design decision label Jul 12, 2021
@treiher treiher removed this from To do in RecordFlux 0.7 Jul 12, 2021
@treiher treiher added this to To do in RecordFlux 0.5 via automation Jul 12, 2021
@senier senier removed this from To do in RecordFlux 0.5 Jul 22, 2021
@senier senier added this to To do in RecordFlux Future via automation Jul 22, 2021
@treiher treiher removed this from To do in RecordFlux Future Oct 14, 2021
@treiher treiher added this to To do in RecordFlux 0.6 via automation Oct 14, 2021
@treiher treiher removed the architectural decision Discussion of design decision label Nov 25, 2021
@treiher treiher self-assigned this Nov 25, 2021
@treiher treiher moved this from To do to Design in RecordFlux 0.6 Nov 25, 2021
@treiher treiher moved this from Design to To do in RecordFlux 0.6 Nov 30, 2021
@senier senier removed this from To do in RecordFlux 0.6 Aug 23, 2022
@senier senier added this to To do in RecordFlux Future via automation Aug 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
generator Related to generator package (SPARK code generation)
Projects
No open projects
Development

No branches or pull requests

1 participant