/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 %val = alloca i32, align 4 %length = alloca i32, align 4 %arr = 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 %58 14: store 0, %i br %15 15: %16 = load %i %17 = load %length %18 = icmp slt %16 %17 br %18, %19, %33 19: %20 = call i32 @__VERIFIER_nondet_int() store %20, %val %21 = load %val %22 = icmp slt %21 0 br %22, %23, %24 23: store 0, %val br %24 24: %25 = load %val %26 = load %i %27 = sext i32 %26 to i64 %28 = load %arr %29 = getelementptr %28, %27 store %25, %29 br %30 30: %31 = load %i %32 = add %31 1 store %32, %i br %15 33: store 0, %j br %34 34: %35 = load %j %36 = load %length %37 = icmp slt %35 %36 br %37, %38, %57 38: br %39 39: %40 = load %j %41 = sext i32 %40 to i64 %42 = load %arr %43 = getelementptr %42, %41 %44 = load %43 %45 = icmp sgt %44 0 br %45, %46, %53 46: %47 = load %j %48 = sext i32 %47 to i64 %49 = load %arr %50 = getelementptr %49, %48 %51 = load %50 %52 = add %51 -1 store %52, %50 br %39 53: br %54 54: %55 = load %j %56 = add %55 1 store %56, %j br %34 57: store 0, %1 br %58 58: %59 = load %1 ret %59 Analyze Termination of all function calls matching the pattern: main()