1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37
|
# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
# SPDX-License-Identifier: Apache-2.0.
###########
#4: 25s
#16: 10s
#32: 1m10s
MAX_TABLE_SIZE ?= 16
DEFINES += -DMAX_TABLE_SIZE=$(MAX_TABLE_SIZE)
UNWINDSET += aws_hash_table_foreach.0:$(shell echo $$((1 + $(MAX_TABLE_SIZE))))
CBMCFLAGS +=
PROOF_UID = aws_hash_table_foreach
HARNESS_ENTRY = $(PROOF_UID)_harness
HARNESS_FILE = $(PROOFDIR)/$(HARNESS_ENTRY).c
PROOF_SOURCES += $(HARNESS_FILE)
PROOF_SOURCES += $(PROOF_SOURCE)/make_common_data_structures.c
PROJECT_SOURCES += $(SRCDIR)/source/allocator.c
PROOF_SOURCES += $(PROOF_SOURCE)/utils.c
PROOF_SOURCES += $(PROOF_STUB)/error.c
PROOF_SOURCES += $(PROOF_STUB)/aws_hash_iter_overrides.c
PROJECT_SOURCES += $(SRCDIR)/source/common.c
PROJECT_SOURCES += $(SRCDIR)/source/hash_table.c
REMOVE_FUNCTION_BODY += aws_hash_iter_begin
REMOVE_FUNCTION_BODY += aws_hash_iter_delete
REMOVE_FUNCTION_BODY += aws_hash_iter_done
REMOVE_FUNCTION_BODY += aws_hash_iter_next
###########
include ../Makefile.common
|