Skip to content

Commit bc7c2da

Browse files
authored
Update CBMC symlinks and makefile paths. (FreeRTOS#4)
1 parent 4a9a7a4 commit bc7c2da

File tree

44 files changed

+102
-120
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

44 files changed

+102
-120
lines changed

cbmc/.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ TAGS-*
99

1010
# Emitted by Arpa
1111
arpa_cmake/
12+
arpa-validation-logs/
1213
Makefile.arpa
1314

1415
# These files should be overwritten whenever prepare.py runs

cbmc/include/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
../../../../../tools/aws-templates-for-cbmc-proofs/template-for-repository/include/README.md
1+
../aws-templates-for-cbmc-proofs/template-for-repository/include/README.md

cbmc/include/http_config.h

Lines changed: 1 addition & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -22,30 +22,6 @@
2222
#ifndef HTTP_CONFIG_H
2323
#define HTTP_CONFIG_H
2424

25-
/**************************************************/
26-
/******* DO NOT CHANGE the following order ********/
27-
/**************************************************/
28-
29-
/* Include logging header files and define logging macros in the following order:
30-
* 1. Include the header file "logging_levels.h".
31-
* 2. Define the LIBRARY_LOG_NAME and LIBRARY_LOG_LEVEL macros depending on
32-
* the logging configuration for HTTP.
33-
* 3. Include the header file "logging_stack.h", if logging is enabled for HTTP.
34-
*/
35-
36-
#include "logging_levels.h"
37-
38-
/* Logging configuration for the HTTP library. */
39-
#ifndef LIBRARY_LOG_NAME
40-
#define LIBRARY_LOG_NAME "HTTP"
41-
#endif
42-
43-
#ifndef LIBRARY_LOG_LEVEL
44-
#define LIBRARY_LOG_LEVEL LOG_NONE
45-
#endif
46-
47-
#include "logging_stack.h"
48-
49-
/************ End of logging configuration ****************/
25+
/* Empty configuration header simply for compilation. */
5026

5127
#endif /* ifndef HTTP_CONFIG_H */

cbmc/proofs/HTTPClient_AddHeader/Makefile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,9 +43,9 @@ REMOVE_FUNCTION_BODY += memcpy
4343
UNWINDSET += strncmp.0:5
4444

4545
PROOF_SOURCES += $(PROOFDIR)/$(HARNESS_FILE).c
46-
PROOF_SOURCES += $(SRCDIR)/libraries/standard/http/cbmc/sources/http_cbmc_state.c
47-
PROOF_SOURCES += $(SRCDIR)/libraries/standard/http/cbmc/stubs/memcpy.c
46+
PROOF_SOURCES += $(SRCDIR)/cbmc/sources/http_cbmc_state.c
47+
PROOF_SOURCES += $(SRCDIR)/cbmc/stubs/memcpy.c
4848

49-
PROJECT_SOURCES += $(SRCDIR)/libraries/standard/http/src/http_client.c
49+
PROJECT_SOURCES += $(SRCDIR)/source/http_client.c
5050

5151
include ../Makefile.common

cbmc/proofs/HTTPClient_AddHeader/cbmc-viewer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,5 @@
33

44
],
55
"proof-name": "HTTPClient_AddHeader",
6-
"proof-root": "libraries/standard/http/cbmc/proofs"
6+
"proof-root": "cbmc/proofs"
77
}

cbmc/proofs/HTTPClient_AddRangeHeader/Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@ UNWINDSET += __CPROVER_file_local_http_client_c_convertInt32ToAscii.0:11
3232
UNWINDSET += __CPROVER_file_local_http_client_c_convertInt32ToAscii.1:11
3333

3434
PROOF_SOURCES += $(PROOFDIR)/$(HARNESS_FILE).c
35-
PROOF_SOURCES += $(SRCDIR)/libraries/standard/http/cbmc/sources/http_cbmc_state.c
35+
PROOF_SOURCES += $(SRCDIR)/cbmc/sources/http_cbmc_state.c
3636

37-
PROJECT_SOURCES += $(SRCDIR)/libraries/standard/http/src/http_client.c
37+
PROJECT_SOURCES += $(SRCDIR)/source/http_client.c
3838

3939
include ../Makefile.common

cbmc/proofs/HTTPClient_AddRangeHeader/cbmc-viewer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,5 @@
33

44
],
55
"proof-name": "HTTPClient_AddRangeHeader",
6-
"proof-root": "libraries/standard/http/cbmc/proofs"
6+
"proof-root": "cbmc/proofs"
77
}

cbmc/proofs/HTTPClient_InitializeRequestHeaders/Makefile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,9 @@ REMOVE_FUNCTION_BODY += memcpy
4242
UNWINDSET += strncmp.0:5
4343

4444
PROOF_SOURCES += $(PROOFDIR)/$(HARNESS_FILE).c
45-
PROOF_SOURCES += $(SRCDIR)/libraries/standard/http/cbmc/sources/http_cbmc_state.c
46-
PROOF_SOURCES += $(SRCDIR)/libraries/standard/http/cbmc/stubs/memcpy.c
45+
PROOF_SOURCES += $(SRCDIR)/cbmc/sources/http_cbmc_state.c
46+
PROOF_SOURCES += $(SRCDIR)/cbmc/stubs/memcpy.c
4747

48-
PROJECT_SOURCES += $(SRCDIR)/libraries/standard/http/src/http_client.c
48+
PROJECT_SOURCES += $(SRCDIR)/source/http_client.c
4949

5050
include ../Makefile.common

cbmc/proofs/HTTPClient_InitializeRequestHeaders/cbmc-viewer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,5 @@
33

44
],
55
"proof-name": "HTTPClient_InitializeRequestHeaders",
6-
"proof-root": "libraries/standard/http/cbmc/proofs"
6+
"proof-root": "cbmc/proofs"
77
}

cbmc/proofs/HTTPClient_ReadHeader/Makefile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,10 +38,10 @@ REMOVE_FUNCTION_BODY += http_parser_settings_init
3838
UNWINDSET +=
3939

4040
PROOF_SOURCES += $(PROOFDIR)/$(HARNESS_FILE).c
41-
PROOF_SOURCES += $(SRCDIR)/libraries/standard/http/cbmc/sources/http_cbmc_state.c
42-
PROOF_SOURCES += $(SRCDIR)/libraries/standard/http/cbmc/stubs/HTTPClient_ReadHeader_http_parser_execute.c
41+
PROOF_SOURCES += $(SRCDIR)/cbmc/sources/http_cbmc_state.c
42+
PROOF_SOURCES += $(SRCDIR)/cbmc/stubs/HTTPClient_ReadHeader_http_parser_execute.c
4343

44-
PROJECT_SOURCES += $(SRCDIR)/libraries/standard/http/src/http_client.c
44+
PROJECT_SOURCES += $(SRCDIR)/source/http_client.c
4545

4646

4747
include ../Makefile.common

0 commit comments

Comments
 (0)