/export/starexec/sandbox/solver/bin/starexec_run_c /export/starexec/sandbox/benchmark/theBenchmark.c /export/starexec/sandbox/output/output_files -------------------------------------------------------------------------------- MAYBE proof of /export/starexec/sandbox/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, 178 ms] (2) LLVM problem ---------------------------------------- (0) Obligation: c file /export/starexec/sandbox/benchmark/theBenchmark.c ---------------------------------------- (1) CToLLVMProof (EQUIVALENT) Compiled c-file /export/starexec/sandbox/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 = mul %8 4 %10 = alloca i8, numElementsLit: %9 %11 = bitcast *i8 %10 to *i32 store %11, %arr %12 = load %arr %13 = icmp ne %12 null br %13, %15, %14 14: store 0, %1 br %40 15: %16 = load %arr store %16, %a br %17 17: %18 = load %a %19 = load %18 %20 = load %arr %21 = load %length %22 = sext i32 %21 to i64 %23 = getelementptr %20, %22 %24 = getelementptr %23, -1 %25 = load %24 %26 = icmp ne %19 %25 br %26, %27, %39 27: %28 = load %arr %29 = load %length %30 = sext i32 %29 to i64 %31 = getelementptr %28, %30 %32 = getelementptr %31, -1 %33 = load %32 %34 = load %a %35 = load %34 %36 = add %35 %33 store %36, %34 %37 = load %a %38 = getelementptr %37, 1 store %38, %a br %17 39: store 0, %1 br %40 40: %41 = load %1 ret %41 Analyze Termination of all function calls matching the pattern: main()