Debian Codegraph @

crt/aws-c-common/verification/cbmc/proofs/memset_using_uint64/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 UNWINDSET += memset_impl.0:$(shell echo $$(($(MAX) + 1)))
10 UNWINDSET += memset_using_uint64_impl.0:$(shell echo $$(( $$(( $(MAX) / 8 )) + 1)))
11
12 CBMCFLAGS +=
13
14 PROOF_UID = memset_using_uint64
15 HARNESS_ENTRY = $(PROOF_UID)_harness
16 HARNESS_FILE = $(PROOFDIR)/$(HARNESS_ENTRY).c
17
18 PROOF_SOURCES += $(HARNESS_FILE)
19 PROOF_SOURCES += $(PROOF_SOURCE)/utils.c
20
21 PROOF_SOURCES += $(PROOF_STUB)/memset_override.c
22 PROOF_SOURCES += $(PROOF_STUB)/memset_using_uint64.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 from c-common.
27 PROJECT_SOURCES += $(PROOF_STUB)/empty-source-file.c
28
29 ###########
30
31 include ../Makefile.common