5.68/2.37 YES 5.68/2.39 proof of /export/starexec/sandbox/benchmark/theBenchmark.c 5.68/2.39 # AProVE Commit ID: 48fb2092695e11cc9f56e44b17a92a5f88ffb256 marcel 20180622 unpublished dirty 5.68/2.39 5.68/2.39 5.68/2.39 Termination of the given C Problem could be proven: 5.68/2.39 5.68/2.39 (0) C Problem 5.68/2.39 (1) CToLLVMProof [EQUIVALENT, 144 ms] 5.68/2.39 (2) LLVM problem 5.68/2.39 (3) LLVMToTerminationGraphProof [EQUIVALENT, 313 ms] 5.68/2.39 (4) LLVM Symbolic Execution Graph 5.68/2.39 (5) SymbolicExecutionGraphToLassoProof [EQUIVALENT, 0 ms] 5.68/2.39 (6) TRUE 5.68/2.39 5.68/2.39 5.68/2.39 ---------------------------------------- 5.68/2.39 5.68/2.39 (0) 5.68/2.39 Obligation: 5.68/2.39 c file /export/starexec/sandbox/benchmark/theBenchmark.c 5.68/2.39 ---------------------------------------- 5.68/2.39 5.68/2.39 (1) CToLLVMProof (EQUIVALENT) 5.68/2.39 Compiled c-file /export/starexec/sandbox/benchmark/theBenchmark.c to LLVM. 5.68/2.39 ---------------------------------------- 5.68/2.39 5.68/2.39 (2) 5.68/2.39 Obligation: 5.68/2.39 LLVM Problem 5.68/2.39 5.68/2.39 Aliases: 5.68/2.39 5.68/2.39 Data layout: 5.68/2.39 5.68/2.39 "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" 5.68/2.39 5.68/2.39 Machine: 5.68/2.39 5.68/2.39 "x86_64-pc-linux-gnu" 5.68/2.39 5.68/2.39 Type definitions: 5.68/2.39 5.68/2.39 Global variables: 5.68/2.39 5.68/2.39 Function declarations and definitions: 5.68/2.39 5.68/2.39 *BasicFunctionTypename: "__VERIFIER_nondet_int" returnParam: i32 parameters: () variableLength: false visibilityType: DEFAULT callingConvention: ccc 5.68/2.39 *BasicFunctionTypename: "main" linkageType: EXTERNALLY_VISIBLE returnParam: i32 parameters: () variableLength: false visibilityType: DEFAULT callingConvention: ccc 5.68/2.39 0: 5.68/2.39 %1 = alloca i32, align 4 5.68/2.39 %c = alloca i32, align 4 5.68/2.39 %x = alloca i32, align 4 5.68/2.39 %y = alloca i32, align 4 5.68/2.39 store 0, %1 5.68/2.39 %2 = call i32 @__VERIFIER_nondet_int() 5.68/2.39 store %2, %x 5.68/2.39 %3 = call i32 @__VERIFIER_nondet_int() 5.68/2.39 store %3, %y 5.68/2.39 store 0, %c 5.68/2.39 %4 = load %x 5.68/2.39 %5 = icmp sgt %4 0 5.68/2.39 br %5, %6, %27 5.68/2.39 6: 5.68/2.39 %7 = load %y 5.68/2.39 %8 = icmp sgt %7 0 5.68/2.39 br %8, %9, %27 5.68/2.39 9: 5.68/2.39 br %10 5.68/2.39 10: 5.68/2.39 %11 = load %x 5.68/2.39 %12 = icmp eq %11 0 5.68/2.39 %13 = xor %12 1 5.68/2.39 br %13, %14, %26 5.68/2.39 14: 5.68/2.39 %15 = load %x 5.68/2.39 %16 = load %y 5.68/2.39 %17 = icmp sgt %15 %16 5.68/2.39 br %17, %18, %20 5.68/2.39 18: 5.68/2.39 %19 = load %y 5.68/2.39 store %19, %x 5.68/2.39 br %23 5.68/2.39 20: 5.68/2.39 %21 = load %x 5.68/2.39 %22 = sub %21 1 5.68/2.39 store %22, %x 5.68/2.39 br %23 5.68/2.39 23: 5.68/2.39 %24 = load %c 5.68/2.39 %25 = add %24 1 5.68/2.39 store %25, %c 5.68/2.39 br %10 5.68/2.39 26: 5.68/2.39 br %27 5.68/2.39 27: 5.68/2.39 ret 0 5.68/2.39 5.68/2.39 5.68/2.39 Analyze Termination of all function calls matching the pattern: 5.68/2.39 main() 5.68/2.39 ---------------------------------------- 5.68/2.39 5.68/2.39 (3) LLVMToTerminationGraphProof (EQUIVALENT) 5.68/2.39 Constructed symbolic execution graph for LLVM program and proved memory safety. 5.68/2.39 ---------------------------------------- 5.68/2.39 5.68/2.39 (4) 5.68/2.39 Obligation: 5.68/2.39 SE Graph 5.68/2.39 ---------------------------------------- 5.68/2.39 5.68/2.39 (5) SymbolicExecutionGraphToLassoProof (EQUIVALENT) 5.68/2.39 Converted SEGraph to 0 independent lassos. 5.68/2.39 ---------------------------------------- 5.68/2.39 5.68/2.39 (6) 5.68/2.39 TRUE 5.68/2.44 EOF