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

Hanfor req-exporter allows export of broken requirements #264

Open
Langenfeld opened this issue Dec 7, 2024 · 0 comments
Open

Hanfor req-exporter allows export of broken requirements #264

Langenfeld opened this issue Dec 7, 2024 · 0 comments

Comments

@Langenfeld
Copy link
Member

Hanfor allows for a number of broken requirements to be exported without warning (leading to the ultimte requirements parser being unable to parse these requirements). There should be a warning or at least no export of the following ill formed requirements:

  • CONST someConstant IS None, where no value for a constant was given in Hanfor, thus python None was written in the requirement
  • CONST some.Constant IS 4, where the variable name contains a . wich is not intended for names in BoogiePL
  • Requirements that have non-constant variables in their time bounds
  • Requirements that use enumerators of an enumeration that is unused: the enumerators are not defined as constants if the enumeration is not used in the requirements thus the enumerators are unknown in the Boogie file.
  • Export while there are variables typed as unknown that are used in the req.
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

No branches or pull requests

1 participant