4.99/2.38 MAYBE 4.99/2.39 proof of /export/starexec/sandbox/benchmark/theBenchmark.c 4.99/2.39 # AProVE Commit ID: 48fb2092695e11cc9f56e44b17a92a5f88ffb256 marcel 20180622 unpublished dirty 4.99/2.39 4.99/2.39 4.99/2.39 Termination of the given C Problem could not be shown: 4.99/2.39 4.99/2.39 (0) C Problem 4.99/2.39 (1) CToLLVMProof [EQUIVALENT, 165 ms] 4.99/2.39 (2) LLVM problem 4.99/2.39 4.99/2.39 4.99/2.39 ---------------------------------------- 4.99/2.39 4.99/2.39 (0) 4.99/2.39 Obligation: 4.99/2.39 c file /export/starexec/sandbox/benchmark/theBenchmark.c 4.99/2.39 ---------------------------------------- 4.99/2.39 4.99/2.39 (1) CToLLVMProof (EQUIVALENT) 4.99/2.39 Compiled c-file /export/starexec/sandbox/benchmark/theBenchmark.c to LLVM. 4.99/2.39 ---------------------------------------- 4.99/2.39 4.99/2.39 (2) 4.99/2.39 Obligation: 4.99/2.39 LLVM Problem 4.99/2.39 4.99/2.39 Aliases: 4.99/2.39 4.99/2.39 Data layout: 4.99/2.39 4.99/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" 4.99/2.39 4.99/2.39 Machine: 4.99/2.39 4.99/2.39 "x86_64-pc-linux-gnu" 4.99/2.39 4.99/2.39 Type definitions: 4.99/2.39 4.99/2.39 Global variables: 4.99/2.39 4.99/2.39 Function declarations and definitions: 4.99/2.39 4.99/2.39 *BasicFunctionTypename: "__VERIFIER_nondet_int" returnParam: i32 parameters: () variableLength: false visibilityType: DEFAULT callingConvention: ccc 4.99/2.39 *BasicFunctionTypename: "main" linkageType: EXTERNALLY_VISIBLE returnParam: i32 parameters: () variableLength: false visibilityType: DEFAULT callingConvention: ccc 4.99/2.39 0: 4.99/2.39 %1 = alloca i32, align 4 4.99/2.39 %i = alloca i32, align 4 4.99/2.39 %j = alloca i32, align 4 4.99/2.39 %length = alloca i32, align 4 4.99/2.39 %arr = alloca *i32, align 8 4.99/2.39 %a = alloca *i32, align 8 4.99/2.39 store 0, %1 4.99/2.39 %2 = call i32 @__VERIFIER_nondet_int() 4.99/2.39 store %2, %length 4.99/2.39 %3 = load %length 4.99/2.39 %4 = icmp slt %3 1 4.99/2.39 br %4, %5, %6 4.99/2.39 5: 4.99/2.39 store 1, %length 4.99/2.39 br %6 4.99/2.39 6: 4.99/2.39 %7 = load %length 4.99/2.39 %8 = sext i32 %7 to i64 4.99/2.39 %9 = alloca i8, numElementsLit: %8 4.99/2.39 %10 = bitcast *i8 %9 to *i32 4.99/2.39 store %10, %arr 4.99/2.39 %11 = load %arr 4.99/2.39 %12 = icmp ne %11 null 4.99/2.39 br %12, %14, %13 4.99/2.39 13: 4.99/2.39 store 0, %1 4.99/2.39 br %39 4.99/2.39 14: 4.99/2.39 %15 = load %arr 4.99/2.39 store %15, %a 4.99/2.39 br %16 4.99/2.39 16: 4.99/2.39 %17 = load %a 4.99/2.39 %18 = load %17 4.99/2.39 %19 = load %arr 4.99/2.39 %20 = load %length 4.99/2.39 %21 = sext i32 %20 to i64 4.99/2.39 %22 = getelementptr %19, %21 4.99/2.39 %23 = getelementptr %22, -1 4.99/2.39 %24 = load %23 4.99/2.39 %25 = icmp ne %18 %24 4.99/2.39 br %25, %26, %38 4.99/2.39 26: 4.99/2.39 %27 = load %arr 4.99/2.39 %28 = load %length 4.99/2.39 %29 = sext i32 %28 to i64 4.99/2.39 %30 = getelementptr %27, %29 4.99/2.39 %31 = getelementptr %30, -1 4.99/2.39 %32 = load %31 4.99/2.39 %33 = load %a 4.99/2.39 %34 = load %33 4.99/2.39 %35 = add %34 %32 4.99/2.39 store %35, %33 4.99/2.39 %36 = load %a 4.99/2.39 %37 = getelementptr %36, 1 4.99/2.39 store %37, %a 4.99/2.39 br %16 4.99/2.39 38: 4.99/2.39 store 0, %1 4.99/2.39 br %39 4.99/2.39 39: 4.99/2.39 %40 = load %1 4.99/2.39 ret %40 4.99/2.39 4.99/2.39 4.99/2.39 Analyze Termination of all function calls matching the pattern: 4.99/2.39 main() 4.99/2.42 EOF