commit d1edce71135cc6d98c0a4b5729774542b676e769 Author: sophgo-forum-service <forum_service@sophgo.com> Date: Fri Mar 15 16:07:33 2024 +0800 [fix] recommend using ssh method to clone repo. [fix] fix sensor driver repo branch name.
15 lines
420 B
CMake
15 lines
420 B
CMake
execute_process(
|
|
COMMAND
|
|
cbmc --show-properties --unwinding-assertions --xml-ui
|
|
${cbmc_flags} ${cbmc_verbosity} ${goto_binary}
|
|
OUTPUT_FILE ${out_file}
|
|
ERROR_FILE ${out_file}
|
|
RESULT_VARIABLE res
|
|
)
|
|
|
|
if(NOT (${res} EQUAL 0 OR ${res} EQUAL 10))
|
|
message(FATAL_ERROR
|
|
"Unexpected CBMC property return code '${res}' for proof ${proof_name}. Log written to ${out_file}."
|
|
)
|
|
endif()
|