Skip to content

Commit

Permalink
RFC: Remove spec & file analysis
Browse files Browse the repository at this point in the history
  • Loading branch information
michael-schwarz committed Dec 1, 2023
1 parent db49fe9 commit 89698bc
Show file tree
Hide file tree
Showing 66 changed files with 4 additions and 2,306 deletions.
13 changes: 0 additions & 13 deletions docs/developer-guide/messaging.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,16 +47,3 @@ The `~loc` argument is optional and defaults to the current location, but allows
The `_noloc` suffixed functions allow general messages without any location (not even current).

By convention, may-warnings (the usual case) should use warning severity and must-warnings should use error severity.

### Spec analysis

Warnings inside `.spec` files are converted to warnings.
They parsed from string warnings: the first space-delimited substring determines the category and the rest determines the text.

For example:
```
w1 "behavior.undefined.use_after_free"
w2 "integer.overflow"
w3 "unknown my message"
w4 "integer.overflow some text describing the warning"
```
2 changes: 0 additions & 2 deletions scripts/goblint-lib-modules.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,6 @@

"MessageCategory", # included in Messages
"PreValueDomain", # included in ValueDomain
"SpecCore", # spec stuff
"SpecUtil", # spec stuff

"ConfigVersion",
"ConfigProfile",
Expand Down
27 changes: 0 additions & 27 deletions scripts/spec/check.sh

This file was deleted.

61 changes: 0 additions & 61 deletions scripts/spec/regression.py

This file was deleted.

18 changes: 0 additions & 18 deletions scripts/spec/regression.sh

This file was deleted.

10 changes: 0 additions & 10 deletions scripts/spec/spec.sh

This file was deleted.

Loading

0 comments on commit 89698bc

Please sign in to comment.