/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: 794c25de1cacf0d048858bcd21c9a779e1221865 marcel 20200619 unpublished dirty Termination of the given C Problem could not be shown: (0) C Problem (1) CToLLVMProof [EQUIVALENT, 175 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 %fac = alloca i32, align 4 %arr = alloca *i32, align 8 %arr2 = 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 = call i32 @__VERIFIER_nondet_int() store %7, %fac %8 = load %fac %9 = icmp slt %8 1 br %9, %10, %11 10: store 1, %fac br %11 11: %12 = load %length %13 = sext i32 %12 to i64 %14 = alloca i8, numElementsLit: %13 %15 = bitcast *i8 %14 to *i32 store %15, %arr %16 = load %fac %17 = load %length %18 = mul %16 %17 %19 = sext i32 %18 to i64 %20 = alloca i8, numElementsLit: %19 %21 = bitcast *i8 %20 to *i32 store %21, %arr2 %22 = load %arr %23 = icmp ne %22 null br %23, %24, %27 24: %25 = load %arr2 %26 = icmp ne %25 null br %26, %28, %27 27: store 0, %1 br %65 28: store 0, %i br %29 29: %30 = load %i %31 = load %length %32 = icmp slt %30 %31 br %32, %33, %42 33: %34 = call i32 @__VERIFIER_nondet_int() %35 = load %i %36 = sext i32 %35 to i64 %37 = load %arr %38 = getelementptr %37, %36 store %34, %38 br %39 39: %40 = load %i %41 = add %40 1 store %41, %i br %29 42: store 0, %j br %43 43: %44 = load %j %45 = load %length %46 = load %fac %47 = mul %45 %46 %48 = icmp slt %44 %47 br %48, %49, %64 49: %50 = load %i %51 = load %length %52 = srem %50 %51 %53 = sext i32 %52 to i64 %54 = load %arr %55 = getelementptr %54, %53 %56 = load %55 %57 = load %j %58 = sext i32 %57 to i64 %59 = load %arr2 %60 = getelementptr %59, %58 store %56, %60 br %61 61: %62 = load %j %63 = add %62 1 store %63, %j br %43 64: store 0, %1 br %65 65: %66 = load %1 ret %66 Analyze Termination of all function calls matching the pattern: main()