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