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.
###########
# 2: 6m
# 4: 14m
MAX_TABLE_SIZE ?= 2
DEFINES += -DMAX_TABLE_SIZE=$(MAX_TABLE_SIZE)
UNWINDSET +=__CPROVER_file_local_hash_table_c_s_find_entry1.0:$(shell echo $$((1 + $(MAX_TABLE_SIZE))))
UNWINDSET += __CPROVER_file_local_hash_table_c_s_emplace_item.0:$(shell echo $$((1 + $$(( 2 * $(MAX_TABLE_SIZE) )) )) )
CBMCFLAGS +=
PROOF_UID = aws_hash_table_put
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)/memset_override_no_op.c
PROOF_SOURCES += $(PROOF_STUB)/s_emplace_item_override.c
PROOF_SOURCES += $(PROOF_STUB)/s_expand_table_override.c
PROJECT_SOURCES += $(SRCDIR)/source/common.c
PROJECT_SOURCES += $(SRCDIR)/source/hash_table.c
REMOVE_FUNCTION_BODY += __CPROVER_file_local_hash_table_c_s_emplace_item
REMOVE_FUNCTION_BODY += __CPROVER_file_local_hash_table_c_s_expand_table
REMOVE_FUNCTION_BODY += __CPROVER_file_local_allocator_c_s_cf_allocator_copy_description
REMOVE_FUNCTION_BODY += __CPROVER_file_local_allocator_c_s_cf_allocator_deallocate
include ../Makefile.common
|