You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
1006 B
JSON
30 lines
1006 B
JSON
{
|
|
"ENTRY": "DNSgetHostByName_cancel",
|
|
################################################################
|
|
# This configuration flag sets callback to 1. It also sets MAX_HOSTNAME_LEN to 10 for performance issues.
|
|
# According to the specification MAX_HOST_NAME is upto 255.
|
|
"callback": 1,
|
|
"MAX_HOSTNAME_LEN": 10,
|
|
"HOSTNAME_UNWIND": "__eval {MAX_HOSTNAME_LEN} + 1",
|
|
"CBMCFLAGS":
|
|
[
|
|
"--unwind 1",
|
|
"--unwindset prvProcessDNSCache.0:5,strlen.0:{HOSTNAME_UNWIND},__builtin___strcpy_chk.0:{HOSTNAME_UNWIND},vDNSCheckCallBack.0:2,strcpy.0:{HOSTNAME_UNWIND}",
|
|
"--nondet-static"
|
|
],
|
|
"OBJS":
|
|
[
|
|
"$(ENTRY)_harness.goto",
|
|
"$(FREERTOS)/../FreeRTOS-Plus/Source/FreeRTOS-Plus-TCP/FreeRTOS_DNS.goto",
|
|
"$(FREERTOS)/Source/tasks.goto",
|
|
"$(FREERTOS)/Source/list.goto"
|
|
],
|
|
"DEF":
|
|
[
|
|
"ipconfigDNS_USE_CALLBACKS={callback}",
|
|
"MAX_HOSTNAME_LEN={MAX_HOSTNAME_LEN}",
|
|
# This value is defined only when ipconfigUSE_DNS_CACHE==1
|
|
"ipconfigDNS_CACHE_NAME_LENGTH=254"
|
|
]
|
|
}
|