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