Debian Codegraph @

crt/aws-c-common/verification/cbmc/proofs/memset_override_0/Makefile

raw symbols SCIP
1 # Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
2 # SPDX-License-Identifier: Apache-2.0.
3
4 ###########
5 # Max needs to be big enough to have multiple loop unrollings to have full coverage
6 # 160 is well larger than that, and still completes quite fast: ~ 40s
7 MAX = 160
8 DEFINES += -DMAX=$(MAX)
9
10 UNWINDSET += memset_impl.0:$(shell echo $$(($(MAX) + 1)))
11 UNWINDSET += memset_override_0_impl.0:$(shell echo $$(( $$(( $(MAX) / 8 )) + 1)))
12
13 CBMCFLAGS +=
14
15 PROOF_UID = memset_override_0
16 HARNESS_ENTRY = $(PROOF_UID)_harness
17 HARNESS_FILE = $(PROOFDIR)/$(HARNESS_ENTRY).c
18
19 PROOF_SOURCES += $(HARNESS_FILE)
20 PROOF_SOURCES += $(PROOF_SOURCE)/utils.c
21 PROOF_SOURCES += $(PROOF_STUB)/memset_override.c
22 PROOF_SOURCES += $(PROOF_STUB)/memset_override_0.c
23
24 # The actual implementation that we're proving comes from .inl files
25 # that the stubs pull in. Link against an empty file, since we're not
26 # using any other files in the project.
27 PROJECT_SOURCES += $(PROOF_STUB)/empty-source-file.c
28
29 ###########
30
31 include ../Makefile.common