Skip to content

Commit 644ffe7

Browse files
author
Remi Delmas
committed
CONTRACTS: Add dfcc_dsl_contract_functionst class.
The class allows to translate the assigns clause (or frees clause) of a contract expressed in DSL style into GOTO a function describing the same set of targets as the clause. It also allows to generate a havoc function from an assigns clause, that havocs the targets described by the clause in a type-directed way.
1 parent 8e20e85 commit 644ffe7

File tree

3 files changed

+732
-0
lines changed

3 files changed

+732
-0
lines changed

src/goto-instrument/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ SRC = accelerate/accelerate.cpp \
2323
contracts/dynamic-frames/dfcc_is_freeable.cpp \
2424
contracts/dynamic-frames/dfcc_instrument.cpp \
2525
contracts/dynamic-frames/dfcc_spec_functions.cpp \
26+
contracts/dynamic-frames/dfcc_dsl_contract_functions.cpp \
2627
contracts/havoc_assigns_clause_targets.cpp \
2728
contracts/instrument_spec_assigns.cpp \
2829
contracts/memory_predicates.cpp \

0 commit comments

Comments
 (0)