/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, 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 %n = alloca i32, align 4 %b = alloca i32, align 4 %x = alloca i32, align 4 %y = alloca i32, align 4 store 0, %1 %2 = call i32 @__VERIFIER_nondet_int() store %2, %n %3 = call i32 @__VERIFIER_nondet_int() store %3, %b %4 = call i32 @__VERIFIER_nondet_int() store %4, %x %5 = call i32 @__VERIFIER_nondet_int() store %5, %y br %6 6: %7 = load %x %8 = icmp sge %7 0 br %8, %9, %16 9: %10 = load %y %11 = icmp sle 0 %10 br %11, %12, %16 12: %13 = load %y %14 = load %n %15 = icmp sle %13 %14 br %16 16: %17 = phi [0, %9], [0, %6], [%15, %12] br %17, %18, %38 18: %19 = load %b %20 = icmp eq %19 0 br %20, %21, %28 21: %22 = load %y %23 = add %22 1 store %23, %y %24 = call i32 @__VERIFIER_nondet_int() %25 = icmp ne %24 0 br %25, %26, %27 26: store 1, %b br %27 27: br %37 28: %29 = load %y %30 = add %29 -1 store %30, %y %31 = call i32 @__VERIFIER_nondet_int() %32 = icmp ne %31 0 br %32, %33, %36 33: %34 = load %x %35 = add %34 -1 store %35, %x store 0, %b br %36 36: br %37 37: br %6 38: ret 0 Analyze Termination of all function calls matching the pattern: main()