4.38/2.03 YES 4.38/2.04 proof of /export/starexec/sandbox/benchmark/theBenchmark.c 4.38/2.04 # AProVE Commit ID: 48fb2092695e11cc9f56e44b17a92a5f88ffb256 marcel 20180622 unpublished dirty 4.38/2.04 4.38/2.04 4.38/2.04 Termination of the given C Problem could be proven: 4.38/2.04 4.38/2.04 (0) C Problem 4.38/2.04 (1) CToLLVMProof [EQUIVALENT, 175 ms] 4.38/2.04 (2) LLVM problem 4.38/2.04 (3) LLVMToTerminationGraphProof [EQUIVALENT, 295 ms] 4.38/2.04 (4) LLVM Symbolic Execution Graph 4.38/2.04 (5) SymbolicExecutionGraphToLassoProof [EQUIVALENT, 0 ms] 4.38/2.04 (6) TRUE 4.38/2.04 4.38/2.04 4.38/2.04 ---------------------------------------- 4.38/2.04 4.38/2.04 (0) 4.38/2.04 Obligation: 4.38/2.04 c file /export/starexec/sandbox/benchmark/theBenchmark.c 4.38/2.04 ---------------------------------------- 4.38/2.04 4.38/2.04 (1) CToLLVMProof (EQUIVALENT) 4.38/2.04 Compiled c-file /export/starexec/sandbox/benchmark/theBenchmark.c to LLVM. 4.38/2.04 ---------------------------------------- 4.38/2.04 4.38/2.04 (2) 4.38/2.04 Obligation: 4.38/2.04 LLVM Problem 4.38/2.04 4.38/2.04 Aliases: 4.38/2.04 4.38/2.04 Data layout: 4.38/2.04 4.38/2.04 "e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v64:64:64-v128:128:128-a0:0:64-s0:64:64-f80:128:128-n8:16:32:64-S128" 4.38/2.04 4.38/2.04 Machine: 4.38/2.04 4.38/2.04 "x86_64-pc-linux-gnu" 4.38/2.04 4.38/2.04 Type definitions: 4.38/2.04 4.38/2.04 Global variables: 4.38/2.04 4.38/2.04 Function declarations and definitions: 4.38/2.04 4.38/2.04 *BasicFunctionTypename: "__VERIFIER_nondet_int" returnParam: i32 parameters: () variableLength: true visibilityType: DEFAULT callingConvention: ccc 4.38/2.04 *BasicFunctionTypename: "main" linkageType: EXTERNALLY_VISIBLE returnParam: i32 parameters: () variableLength: false visibilityType: DEFAULT callingConvention: ccc 4.38/2.04 0: 4.38/2.04 %1 = alloca i32, align 4 4.38/2.04 %x = alloca i32, align 4 4.38/2.04 %old_x = alloca i32, align 4 4.38/2.04 store 0, %1 4.38/2.04 %2 = call i32 (...)* @__VERIFIER_nondet_int() 4.38/2.04 store %2, %x 4.38/2.04 br %3 4.38/2.04 3: 4.38/2.04 %4 = load %x 4.38/2.04 %5 = icmp sgt %4 1 4.38/2.04 br %5, %6, %15 4.38/2.04 6: 4.38/2.04 %7 = load %x 4.38/2.04 store %7, %old_x 4.38/2.04 %8 = call i32 (...)* @__VERIFIER_nondet_int() 4.38/2.04 store %8, %x 4.38/2.04 %9 = load %x 4.38/2.04 %10 = mul -2 %9 4.38/2.04 %11 = load %old_x 4.38/2.04 %12 = icmp ne %10 %11 4.38/2.04 br %12, %13, %14 4.38/2.04 13: 4.38/2.04 br %15 4.38/2.04 14: 4.38/2.04 br %3 4.38/2.04 15: 4.38/2.04 ret 0 4.38/2.04 4.38/2.04 4.38/2.04 Analyze Termination of all function calls matching the pattern: 4.38/2.04 main() 4.38/2.04 ---------------------------------------- 4.38/2.04 4.38/2.04 (3) LLVMToTerminationGraphProof (EQUIVALENT) 4.38/2.04 Constructed symbolic execution graph for LLVM program and proved memory safety. 4.38/2.04 ---------------------------------------- 4.38/2.04 4.38/2.04 (4) 4.38/2.04 Obligation: 4.38/2.04 SE Graph 4.38/2.04 ---------------------------------------- 4.38/2.04 4.38/2.04 (5) SymbolicExecutionGraphToLassoProof (EQUIVALENT) 4.38/2.04 Converted SEGraph to 0 independent lassos. 4.38/2.04 ---------------------------------------- 4.38/2.04 4.38/2.04 (6) 4.38/2.04 TRUE 4.61/2.07 EOF