Skip to content

Commit bb4e70e

Browse files
authored
Merge pull request #2576 from GaloisInc/bh/no-heapster
Remove heapster package (#2574).
2 parents 16b2fcc + 164afc5 commit bb4e70e

File tree

208 files changed

+130
-63207
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

208 files changed

+130
-63207
lines changed

.github/ci.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,6 @@ haddock() {
104104
saw:saw-core-sbv
105105
saw:saw-core-aig
106106
saw:saw-core-coq
107-
saw:heapster
108107
saw:saw-central
109108
saw:saw-script
110109
saw:saw-server

.github/workflows/ci.yml

Lines changed: 2 additions & 46 deletions
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,6 @@ jobs:
194194
cryptol-saw-core-tests
195195
crux-mir-comp-tests
196196
saw-core-coq-tests
197-
heapster-prover-tests
198197
dest: dist-tests
199198

200199
# In the next 2 steps, we upload to different names depending on whether
@@ -470,42 +469,7 @@ jobs:
470469
publish_dir: gh-pages
471470
keep_files: true
472471

473-
mr-solver-tests:
474-
needs: [build]
475-
strategy:
476-
fail-fast: false
477-
matrix:
478-
os: [ubuntu-24.04, macos-14]
479-
runs-on: ${{ matrix.os }}
480-
steps:
481-
- uses: actions/checkout@v4
482-
with:
483-
submodules: true
484-
485-
- shell: bash
486-
run: .github/ci.sh install_system_deps
487-
env:
488-
BUILD_TARGET_OS: ${{ matrix.os }}
489-
BUILD_TARGET_ARCH: ${{ runner.arch }}
490-
491-
- uses: actions/download-artifact@v4
492-
with:
493-
name: "${{ matrix.os }}-bins"
494-
path: dist/bin
495-
496-
- name: Update PATH to include SAW
497-
shell: bash
498-
run: |
499-
chmod +x dist/bin/*
500-
echo $GITHUB_WORKSPACE/dist/bin >> $GITHUB_PATH
501-
502-
- working-directory: examples/mr_solver
503-
shell: bash
504-
run: |
505-
saw monadify.saw
506-
saw mr_solver_unit_tests.saw
507-
508-
heapster-tests:
472+
saw-core-coq-tests:
509473
needs: [build]
510474
strategy:
511475
fail-fast: false
@@ -542,10 +506,6 @@ jobs:
542506

543507
- run: opam install -y coq=8.15.2 coq-bits=1.1.0
544508

545-
# If you change the entree-specs commit below, make sure you update the
546-
# documentation in saw-core-coq/README.md accordingly.
547-
- run: opam pin -y entree-specs https://github.com/GaloisInc/entree-specs.git#f104f6b3e6fe5987d543d90265cdc52f532de5fe
548-
549509
# FIXME: the following steps generate Coq libraries for the SAW core to
550510
# Coq translator and builds them; if we do other Coq tests, these steps
551511
# should become their own build artifact, to avoid re-compiling the Coq
@@ -554,10 +514,6 @@ jobs:
554514
shell: bash
555515
run: opam exec -- make -j
556516

557-
- working-directory: heapster/examples
558-
shell: bash
559-
run: opam exec -- make -j
560-
561517
crux-mir-comp-tests:
562518
needs: [build]
563519
strategy:
@@ -1092,7 +1048,7 @@ jobs:
10921048
runs-on: ubuntu-24.04
10931049
needs:
10941050
- build
1095-
- heapster-tests
1051+
- saw-core-coq-tests
10961052
- crux-mir-comp-tests
10971053
- saw-remote-api-tests
10981054
- cabal-test

CHANGES.md

Lines changed: 66 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,72 @@ This release supports [version
44
4](https://github.com/GaloisInc/mir-json/blob/master/SCHEMA_CHANGELOG.md#4) of
55
`mir-json`'s schema.
66

7-
Nothing yet.
7+
## Changes
8+
9+
* The deprecated Heapster, MRSolver, and Monadify features have been
10+
removed.
11+
The following SAW commands and types are no longer available:
12+
13+
- HeapsterEnv (type)
14+
- Refnset (type)
15+
- write_coq_cryptol_module_monadic
16+
- mrsolver_set_debug_level
17+
- mrsolver_set_debug_printing_depth
18+
- mrsolver
19+
- empty_rs
20+
- addrefn
21+
- addrefns
22+
- mrsolver_with
23+
- refines
24+
- monadify_term
25+
- set_monadification
26+
- heapster_init_env
27+
- heapster_init_env_debug
28+
- heapster_init_env_from_file
29+
- heapster_init_env_from_file_debug
30+
- heapster_init_env_for_files
31+
- heapster_init_env_for_files_debug
32+
- heapster_get_cfg
33+
- heapster_define_opaque_perm
34+
- heapster_define_recursive_perm
35+
- heapster_define_reachability_perm
36+
- heapster_define_recursive_shape
37+
- heapster_define_perm
38+
- heapster_define_llvmshape
39+
- heapster_define_opaque_llvmshape
40+
- heapster_define_rust_type
41+
- heapster_define_rust_type_qual
42+
- heapster_block_entry_hint
43+
- heapster_gen_block_perms_hint
44+
- heapster_join_point_hint
45+
- heapster_find_symbol
46+
- heapster_find_symbols
47+
- heapster_find_symbol_with_type
48+
- heapster_find_symbols_with_type
49+
- heapster_find_symbol_commands
50+
- heapster_find_trait_method_symbol
51+
- heapster_assume_fun
52+
- heapster_assume_fun_rename
53+
- heapster_assume_fun_rename_prim
54+
- heapster_assume_fun_multi
55+
- heapster_typecheck_fun
56+
- heapster_typecheck_fun_rename
57+
- heapster_typecheck_mut_funs
58+
- heapster_set_event_type
59+
- heapster_print_fun_trans
60+
- heapster_export_coq
61+
- heapster_set_debug_level
62+
- heapster_set_translation_checks
63+
- heapster_trans_rust_type
64+
- heapster_parse_test
65+
- heapster_dump_ide_info
66+
67+
* Function `write_coq_cryptol_primitives_for_sawcore` no longer
68+
generates Coq translations of SAWCore modules `SpecM.sawcore` and
69+
`CryptolM.sawcore`, which have been removed.
70+
Accordingly, the second and third `String` arguments to
71+
`write_coq_cryptol_primitives_for_sawcore` have been removed.
72+
873

974
# Version 1.4 -- date still TBD
1075

CONTRIBUTING.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -255,8 +255,6 @@ The top-level repository directories are:
255255
solver queries using the [What4](https://github.com/GaloisInc/what4)
256256
library.
257257

258-
* `heapster` - The Heapster tool.
259-
260258
* `saw-central` - A library containing the bulk of SAW.
261259

262260
* `saw-script` - A library containing the SAWScript interpreter.

build.sh

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,8 +90,7 @@ tgt_build() {
9090
test-suite:integration-tests test-suite:saw-core-tests \
9191
test-suite:crux-mir-comp-tests \
9292
test-suite:cryptol-saw-core-tests \
93-
test-suite:saw-core-coq-tests \
94-
test-suite:heapster-prover-tests
93+
test-suite:saw-core-coq-tests
9594

9695
echo "rm -rf bin && mkdir bin"
9796
rm -rf bin && mkdir bin

cabal.project

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -42,11 +42,6 @@ packages:
4242
deps/rme/rme
4343
deps/rme/rme-what4
4444

45-
source-repository-package
46-
type: git
47-
location: https://github.com/eddywestbrook/hobbits.git
48-
tag: 70963e0e3eba2b16f6fc030acb582e8100955e47
49-
5045
-- enable ghc >= 9.8's additional build parallelism
5146
semaphore: true
5247

0 commit comments

Comments
 (0)