Skip to content

Commit 8c73988

Browse files
author
Nathan Wetzler
committed
Added notice, licensing info, DFCC fix
1 parent 458b5c0 commit 8c73988

File tree

3 files changed

+551
-531
lines changed

3 files changed

+551
-531
lines changed

regression/contracts/s2n_record_writev/Makefile.common

+35-35
Original file line numberDiff line numberDiff line change
@@ -567,17 +567,17 @@ $(REWRITTEN_SOURCES):
567567
################################################################
568568
# Build targets that make the relevant .goto files
569569

570-
# Compile project sources
571-
$(PROJECT_GOTO)1.goto: $(PROJECT_SOURCES) $(REWRITTEN_SOURCES)
572-
$(LITANI) add-job \
573-
--command \
574-
'$(GOTO_CC) $(CBMC_VERBOSITY) $(COMPILE_FLAGS) $(EXPORT_FILE_LOCAL_SYMBOLS) $(INCLUDES) $(DEFINES) $^ -o $@' \
575-
--inputs $^ \
576-
--outputs $@ \
577-
--stdout-file $(LOGDIR)/project_sources-log.txt \
578-
--pipeline-name "$(PROOF_UID)" \
579-
--ci-stage build \
580-
--description "$(PROOF_UID): building project binary"
570+
# # Compile project sources
571+
# $(PROJECT_GOTO)1.goto: $(PROJECT_SOURCES) $(REWRITTEN_SOURCES)
572+
# $(LITANI) add-job \
573+
# --command \
574+
# '$(GOTO_CC) $(CBMC_VERBOSITY) $(COMPILE_FLAGS) $(EXPORT_FILE_LOCAL_SYMBOLS) $(INCLUDES) $(DEFINES) $^ -o $@' \
575+
# --inputs $^ \
576+
# --outputs $@ \
577+
# --stdout-file $(LOGDIR)/project_sources-log.txt \
578+
# --pipeline-name "$(PROOF_UID)" \
579+
# --ci-stage build \
580+
# --description "$(PROOF_UID): building project binary"
581581

582582
# Compile proof sources
583583
$(PROOF_GOTO)1.goto: $(PROOF_SOURCES)
@@ -591,20 +591,20 @@ $(PROOF_GOTO)1.goto: $(PROOF_SOURCES)
591591
--ci-stage build \
592592
--description "$(PROOF_UID): building proof binary"
593593

594-
# Remove function bodies from project sources
595-
$(PROJECT_GOTO)2.goto: $(PROJECT_GOTO)1.goto
596-
$(LITANI) add-job \
597-
--command \
598-
'$(GOTO_INSTRUMENT) $(CBMC_VERBOSITY) $(CBMC_REMOVE_FUNCTION_BODY) $^ $@' \
599-
--inputs $^ \
600-
--outputs $@ \
601-
--stdout-file $(LOGDIR)/remove_function_body-log.txt \
602-
--pipeline-name "$(PROOF_UID)" \
603-
--ci-stage build \
604-
--description "$(PROOF_UID): removing function bodies from project sources"
594+
# # Remove function bodies from project sources
595+
# $(PROJECT_GOTO)2.goto: $(PROJECT_GOTO)1.goto
596+
# $(LITANI) add-job \
597+
# --command \
598+
# '$(GOTO_INSTRUMENT) $(CBMC_VERBOSITY) $(CBMC_REMOVE_FUNCTION_BODY) $^ $@' \
599+
# --inputs $^ \
600+
# --outputs $@ \
601+
# --stdout-file $(LOGDIR)/remove_function_body-log.txt \
602+
# --pipeline-name "$(PROOF_UID)" \
603+
# --ci-stage build \
604+
# --description "$(PROOF_UID): removing function bodies from project sources"
605605

606606
# Link project and proof sources into the proof harness
607-
$(HARNESS_GOTO)1.goto: $(PROOF_GOTO)1.goto $(PROJECT_GOTO)2.goto
607+
$(HARNESS_GOTO)1.goto: $(PROOF_GOTO)1.goto
608608
$(LITANI) add-job \
609609
--command '$(GOTO_CC) $(CBMC_VERBOSITY) --function $(HARNESS_ENTRY) $^ $(LINK_FLAGS) -o $@' \
610610
--inputs $^ \
@@ -638,20 +638,20 @@ $(HARNESS_GOTO)3.goto: $(HARNESS_GOTO)2.goto
638638
--ci-stage build \
639639
--description "$(PROOF_UID): setting static variables to nondet"
640640

641-
# Omit unused functions (sharpens coverage calculations)
642-
$(HARNESS_GOTO)4.goto: $(HARNESS_GOTO)3.goto
643-
$(LITANI) add-job \
644-
--command \
645-
'$(GOTO_INSTRUMENT) $(CBMC_VERBOSITY) --drop-unused-functions $^ $@' \
646-
--inputs $^ \
647-
--outputs $@ \
648-
--stdout-file $(LOGDIR)/drop_unused_functions-log.txt \
649-
--pipeline-name "$(PROOF_UID)" \
650-
--ci-stage build \
651-
--description "$(PROOF_UID): dropping unused functions"
641+
# # Omit unused functions (sharpens coverage calculations)
642+
# $(HARNESS_GOTO)4.goto: $(HARNESS_GOTO)3.goto
643+
# $(LITANI) add-job \
644+
# --command \
645+
# '$(GOTO_INSTRUMENT) $(CBMC_VERBOSITY) --drop-unused-functions $^ $@' \
646+
# --inputs $^ \
647+
# --outputs $@ \
648+
# --stdout-file $(LOGDIR)/drop_unused_functions-log.txt \
649+
# --pipeline-name "$(PROOF_UID)" \
650+
# --ci-stage build \
651+
# --description "$(PROOF_UID): dropping unused functions"
652652

653653
# Omit initialization of unused global variables (reduces problem size)
654-
$(HARNESS_GOTO)5.goto: $(HARNESS_GOTO)4.goto
654+
$(HARNESS_GOTO)5.goto: $(HARNESS_GOTO)3.goto
655655
$(LITANI) add-job \
656656
--command \
657657
'$(GOTO_INSTRUMENT) $(CBMC_VERBOSITY) --slice-global-inits $^ $@' \
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
s2n
2+
Copyright 2014-2015 Amazon.com, Inc. or its affiliates. All Rights Reserved.

0 commit comments

Comments
 (0)