HARNESS_ENTRY = processJobHandler_harness HARNESS_FILE = $(HARNESS_ENTRY) # This should be a unique identifier for this proof, and will appear on the # Litani dashboard. It can be human-readable and contain spaces if you wish. PROOF_UID = processJobHandler DEFINES += -DOTA_CBMC_FLAG DEFINES += -Dstatic="" INCLUDES += -I$(SRCDIR)/source/dependency/coreJSON/source/include/ INCLUDES += -I$(SRCDIR)/test/cbmc/include/ PROOF_SOURCES += $(PROOFDIR)/$(HARNESS_FILE).c PROOF_SOURCES += $(SRCDIR)/test/cbmc/source/stubs.c PROJECT_SOURCES += $(SRCDIR)/source/ota.c REMOVE_FUNCTION_BODY += setDataInterface REMOVE_FUNCTION_BODY += setImageStateWithReason REMOVE_FUNCTION_BODY += getFileContextFromJob RESTRICT_FUNCTION_POINTER += processJobHandler.function_pointer_call.1/otaAppCallbackStub RESTRICT_FUNCTION_POINTER += OTA_SignalEvent.function_pointer_call.1/sendEventStub RESTRICT_FUNCTION_POINTER += platformInSelftest.function_pointer_call.1/getPlatformImageStateStub RESTRICT_FUNCTION_POINTER += processValidFileContext.function_pointer_call.1/resetPalStub # If this proof is found to consume huge amounts of RAM, you can set the # EXPENSIVE variable. With new enough versions of the proof tools, this will # restrict the number of EXPENSIVE CBMC jobs running at once. See the # documentation in Makefile.common under the "Job Pools" heading for details. # EXPENSIVE = true include ../Makefile.common