gcc-8.1-O0 |   | *p=11 *q=11
|
gcc-8.1-O2 |   | *p=11 *q=11
|
gcc-8.1-O3 |   | *p=11 *q=11
|
gcc-8.1-O2-no-strict-aliasing |   | *p=11 *q=11
|
gcc-8.1-O3-no-strict-aliasing |   | *p=11 *q=11
|
clang-6.0-O0 |   | pointer_copy_user_ctrlflow_bytewise.c:266:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ 1 warning generated. *p=11 *q=11
|
clang-6.0-O2 |   | pointer_copy_user_ctrlflow_bytewise.c:266:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ 1 warning generated. *p=11 *q=11
|
clang-6.0-O3 |   | pointer_copy_user_ctrlflow_bytewise.c:266:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ 1 warning generated. *p=11 *q=11
|
clang-6.0-O2-no-strict-aliasing |   | pointer_copy_user_ctrlflow_bytewise.c:266:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ 1 warning generated. *p=11 *q=11
|
clang-6.0-O3-no-strict-aliasing |   | pointer_copy_user_ctrlflow_bytewise.c:266:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ 1 warning generated. *p=11 *q=11
|
clang-6.0-UBSAN |   | pointer_copy_user_ctrlflow_bytewise.c:266:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ 1 warning generated. *p=11 *q=11
|
clang-6.0-ASAN |   | pointer_copy_user_ctrlflow_bytewise.c:266:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ 1 warning generated. *p=11 *q=11
|
clang-6.0-MSAN |   | pointer_copy_user_ctrlflow_bytewise.c:266:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ 1 warning generated. *p=11 *q=11
|
icc-19-O0 |   | pointer_copy_user_ctrlflow_bytewise.c(266): warning #1011: missing return statement at end of non-void function "control_flow_copy" } ^
*p=11 *q=11
|
icc-19-O2 |   | pointer_copy_user_ctrlflow_bytewise.c(266): warning #1011: missing return statement at end of non-void function "control_flow_copy" } ^
*p=11 *q=11
|
icc-19-O3 |   | pointer_copy_user_ctrlflow_bytewise.c(266): warning #1011: missing return statement at end of non-void function "control_flow_copy" } ^
*p=11 *q=11
|
icc-19-O2-no-strict-aliasing |   | pointer_copy_user_ctrlflow_bytewise.c(266): warning #1011: missing return statement at end of non-void function "control_flow_copy" } ^
*p=11 *q=11
|
icc-19-O3-no-strict-aliasing |   | pointer_copy_user_ctrlflow_bytewise.c(266): warning #1011: missing return statement at end of non-void function "control_flow_copy" } ^
*p=11 *q=11
|
cerberus-concrete |   | BEGIN EXEC[0] Undefined [pointer_copy_user_ctrlflow_bytewise.c:282:3-5]{id: [UB043_indirection_invalid_value]} END EXEC[0] Time spent: 0.101601 seconds
|
cerberus-symbolic |   | exit codes: compile 0 / execute 1
cerberus: internal error, uncaught exception: Failure("TODO: Symbolic defacto, isWellAligned_ptrval")
|
gcc-4.9-shadowprov |   | exit codes: compile 0 / execute 134
|
CHERI:MIPS-O0 |   | pointer_copy_user_ctrlflow_bytewise.c:266:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ 1 warning generated. *p=11 *q=11
|
CHERI:MIPS-O2 |   | pointer_copy_user_ctrlflow_bytewise.c:266:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ 1 warning generated. *p=11 *q=11
|
CHERI:MIPS-O2-no-strict-aliasing |   | pointer_copy_user_ctrlflow_bytewise.c:266:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ 1 warning generated. *p=11 *q=11
|
CHERI:CHERI-O0-uintcap-addr-exact-equals |   | exit codes: compile 0 / execute -1
Terminated with signal 34: In-address space security exceptionpointer_copy_user_ctrlflow_bytewise.c:266:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ 1 warning generated.
|
CHERI:CHERI-O2-uintcap-addr-exact-equals |   | exit codes: compile 0 / execute -1
Terminated with signal 34: In-address space security exceptionpointer_copy_user_ctrlflow_bytewise.c:266:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ 1 warning generated.
|
CHERI:CHERI-O2-no-strict-aliasing-uintcap-addr-exact-equals |   | exit codes: compile 0 / execute -1
Terminated with signal 34: In-address space security exceptionpointer_copy_user_ctrlflow_bytewise.c:266:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ 1 warning generated.
|
CHERI:CHERI-O0-uintcap-offset-exact-equals |   | exit codes: compile 0 / execute -1
Terminated with signal 34: In-address space security exceptionpointer_copy_user_ctrlflow_bytewise.c:266:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ 1 warning generated.
|
CHERI:CHERI-O2-uintcap-offset-exact-equals |   | exit codes: compile 0 / execute -1
Terminated with signal 34: In-address space security exceptionpointer_copy_user_ctrlflow_bytewise.c:266:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ 1 warning generated.
|
CHERI:CHERI-O2-no-strict-aliasing-uintcap-offset-exact-equals |   | exit codes: compile 0 / execute -1
Terminated with signal 34: In-address space security exceptionpointer_copy_user_ctrlflow_bytewise.c:266:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ 1 warning generated.
|
CHERI:CHERI-O0-uintcap-addr |   | exit codes: compile 0 / execute -1
Terminated with signal 34: In-address space security exceptionpointer_copy_user_ctrlflow_bytewise.c:266:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ 1 warning generated.
|
CHERI:CHERI-O2-uintcap-addr |   | exit codes: compile 0 / execute -1
Terminated with signal 34: In-address space security exceptionpointer_copy_user_ctrlflow_bytewise.c:266:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ 1 warning generated.
|
CHERI:CHERI-O2-no-strict-aliasing-uintcap-addr |   | exit codes: compile 0 / execute -1
Terminated with signal 34: In-address space security exceptionpointer_copy_user_ctrlflow_bytewise.c:266:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ 1 warning generated.
|
CHERI:CHERI-O0-uintcap-offset |   | exit codes: compile 0 / execute -1
Terminated with signal 34: In-address space security exceptionpointer_copy_user_ctrlflow_bytewise.c:266:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ 1 warning generated.
|
CHERI:CHERI-O2-uintcap-offset |   | exit codes: compile 0 / execute -1
Terminated with signal 34: In-address space security exceptionpointer_copy_user_ctrlflow_bytewise.c:266:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ 1 warning generated.
|
CHERI:CHERI-O2-no-strict-aliasing-uintcap-offset |   | exit codes: compile 0 / execute -1
Terminated with signal 34: In-address space security exceptionpointer_copy_user_ctrlflow_bytewise.c:266:1: warning: control may reach end of non-void function [-Wreturn-type] } ^ 1 warning generated.
|
RV-Match |   | exit codes: compile 0 / execute 1
|
ch2o |   | pointer_copy_user_ctrlflow_bytewise.c:3:10: fatal error: assert.h: No such file or directory #include <assert.h> ^~~~~~~~~~ compilation terminated.
|
compcert-3.2 |   | pointer_copy_user_ctrlflow_bytewise.c:6: warning: control reaches end of non-void function [-Wreturn-type] *p=11 *q=11
|
compcert-3.2-O |   | pointer_copy_user_ctrlflow_bytewise.c:6: warning: control reaches end of non-void function [-Wreturn-type] *p=11 *q=11
|
compcert-3.2-interp |   | Time 0: calling main() --[step_internal_function]--> Time 1: in function main, statement p = &x; user_memcpy2((unsigned char *) &q, (unsigned char *) &p, sizeof(int *)); *q = 11; printf(__stringlit_4, *p, *q); return 0; --[step_seq]--> Time 2: in function main, statement p = &x; user_memcpy2((unsigned char *) &q, (unsigned char *) &p, sizeof(int *)); *q = 11; printf(__stringlit_4, *p, *q); --[step_seq]--> Time 3: in function main, statement p = &x; --[step_do_1]--> Time 4: in function main, expression p = &x --[red_var_local]--> Time 5: in function main, expression <loc p> = &x --[red_var_global]--> Time 6: in function main, expression <loc p> = &<loc x> --[red_addrof]--> Time 7: in function main, expression <loc p> = <ptr x> --[red_assign]--> Time 8: in function main, expression <ptr x> --[step_do_2]--> Time 9: in function main, statement /*skip*/; --[step_skip_seq]--> Time 10: in function main, statement user_memcpy2((unsigned char *) &q, (unsigned char *) &p, sizeof(int *)); *q = 11; printf(__stringlit_4, *p, *q); --[step_seq]--> Time 11: in function main, statement user_memcpy2((unsigned char *) &q, (unsigned char *) &p, sizeof(int *)); --[step_do_1]--> Time 12: in function main, expression user_memcpy2((unsigned char *) &q, (unsigned char *) &p, sizeof(int *)) --[red_var_global]--> Time 13: in function main, expression <loc user_memcpy2>((unsigned char *) &q, (unsigned char *) &p, sizeof(int *)) --[red_rvalof]--> Time 14: in function main, expression <ptr user_memcpy2>((unsigned char *) &q, (unsigned char *) &p, sizeof(int *)) --[red_var_local]--> Time 15: in function main, expression <ptr user_memcpy2>((unsigned char *) &<loc q>, (unsigned char *) &p, sizeof(int *)) --[red_addrof]--> Time 16: in function main, expression <ptr user_memcpy2>((unsigned char *) <ptr q>, (unsigned char *) &p, sizeof(int *)) --[red_cast]--> Time 17: in function main, expression <ptr user_memcpy2>(<ptr q>, (unsigned char *) &p, sizeof(int *)) --[red_var_local]--> Time 18: in function main, expression <ptr user_memcpy2>(<ptr q>, (unsigned char *) &<loc p>, sizeof(int *)) --[red_addrof]--> Time 19: in function main, expression <ptr user_memcpy2>(<ptr q>, (unsigned char *) <ptr p>, sizeof(int *)) --[red_cast]--> Time 20: in function main, expression <ptr user_memcpy2>(<ptr q>, <ptr p>, sizeof(int *)) --[red_sizeof]--> Time 21: in function main, expression <ptr user_memcpy2>(<ptr q>, <ptr p>, 4U) --[red_call]--> Time 22: calling user_memcpy2(<ptr>, <ptr>, 4) --[step_internal_function]--> Time 23: in function user_memcpy2, statement while (n > 0) { *dest = control_flow_copy(*.); src += 1; dest += 1; n -= 1; } --[step_while]--> Time 24: in function user_memcpy2, expression n > 0 --[red_var_local]--> Time 25: in function user_memcpy2, expression <loc n> > 0 --[red_rvalof]--> Time 26: in function user_memcpy2, expression 4U > 0 --[red_binop]--> Time 27: in function user_memcpy2, expression 1 --[step_while_true]--> Time 28: in function user_memcpy2, statement *dest = control_flow_copy(*.); src += 1; dest += 1; n -= 1; --[step_seq]--> Time 29: in function user_memcpy2, statement *dest = control_flow_copy(*.); --[step_do_1]--> Time 30: in function user_memcpy2, expression *dest = control_flow_copy(*.) --[red_var_local]--> Time 31: in function user_memcpy2, expression *<loc dest> = control_flow_copy(*.) --[red_rvalof]--> Time 32: in function user_memcpy2, expression *<ptr> = control_flow_copy(*.) --[red_deref]--> Time 33: in function user_memcpy2, expression <loc> = control_flow_copy(*.) --[red_var_global]--> Time 34: in function user_memcpy2, expression <loc> = <loc control_flow_copy>(*.) --[red_rvalof]--> Time 35: in function user_memcpy2, expression <loc> = <ptr control_flow_copy>(*.) --[red_var_local]--> Time 36: in function user_memcpy2, expression <loc> = <ptr control_flow_copy>(*.) --[red_rvalof]--> Time 37: in function user_memcpy2, expression <loc> = <ptr control_flow_copy>(*<ptr>) --[red_deref]--> Time 38: in function user_memcpy2, expression <loc> = <ptr control_flow_copy>(<loc>) --[red_rvalof]--> Time 39: in function user_memcpy2, expression <loc> = <ptr control_flow_copy>(<undef>) Stuck state: in function user_memcpy2, expression <loc> = <ptr control_flow_copy>(<undef>) Stuck subexpression: <ptr control_flow_copy>(<undef>) ERROR: Undefined behavior In file included from pointer_copy_user_ctrlflow_bytewise.c:1: In file included from /usr/include/stdio.h:64: In file included from /usr/include/_stdio.h:68: /usr/include/sys/cdefs.h:81:2: warning: "Unsupported compiler detected" [-W#warnings] #warning "Unsupported compiler detected" ^ 1 warning generated. pointer_copy_user_ctrlflow_bytewise.c:6: warning: control reaches end of non-void function [-Wreturn-type]
|