Debian Codegraph @

crt/aws-c-common/verification/cbmc/proofs/memcpy_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
10 UNWINDSET += memcpy_impl.0:$(shell echo $$(($(MAX) + 1)))
11 UNWINDSET += memcpy_using_uint64_impl.0:$(shell echo $$(( $$(( $(MAX) / 8 )) + 1)))
12
13 CBMCFLAGS +=
14
15 PROOF_UID = memcpy_using_uint64
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
22 PROOF_SOURCES += $(PROOF_STUB)/memcpy_override.c
23 PROOF_SOURCES += $(PROOF_STUB)/memcpy_using_uint64.c
24
25 # The actual implementation that we're proving comes from .inl files
26 # that the stubs pull in. Link against an empty file, since we're not
27 # using any other files from c-common.
28 PROJECT_SOURCES += $(PROOF_STUB)/empty-source-file.c
29
30 ###########
31
32 include ../Makefile.common