Skip to content

Commit

Permalink
Merge pull request #1281 from goblint/remove_file_and_spec
Browse files Browse the repository at this point in the history
RFC: Remove `spec` & `file` analyses
  • Loading branch information
michael-schwarz authored Dec 5, 2023
2 parents 8563daa + dff61c9 commit 9023dc8
Show file tree
Hide file tree
Showing 72 changed files with 8 additions and 2,731 deletions.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ linux-headers
.goblint*/
goblint_temp_*/

src/spec/graph
.vagrant

g2html.jar
Expand Down
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"
```
3 changes: 0 additions & 3 deletions scripts/goblint-lib-modules.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@
"MessagesCompare",
"PrivPrecCompare",
"ApronPrecCompare",
"Mainspec",

# libraries
"Goblint_std",
Expand All @@ -42,8 +41,6 @@

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

"ConfigVersion",
"ConfigProfile",
Expand Down
1 change: 0 additions & 1 deletion scripts/regression2sv-benchmarks.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@
"09-regions_34-escape_rc", # duplicate of 04/45
"09-regions_35-list2_rc-offsets-thread", # duplicate of 09/03
"10-synch_17-glob_fld_nr", # duplicate of 05/08
"19-spec_02-mutex_rc", # duplicate of 04/01

"29-svcomp_01-race-2_3b-container_of", # duplicate sv-benchmarks
"29-svcomp_01-race-2_4b-container_of", # duplicate sv-benchmarks
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 9023dc8

Please sign in to comment.