/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, 173 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: "sort" linkageType: EXTERNALLY_VISIBLE returnParam: BasicVoidType parameters: (x *i32, n i32) variableLength: false visibilityType: DEFAULT callingConvention: ccc 0: %1 = alloca *i32, align 8 %2 = alloca i32, align 4 %pass = alloca i32, align 4 %i = alloca i32, align 4 %temp = alloca i32, align 4 store %x, %1 store %n, %2 store 1, %pass br %3 3: %4 = load %pass %5 = load %2 %6 = icmp slt %4 %5 br %6, %7, %57 7: store 0, %i br %8 8: %9 = load %i %10 = load %2 %11 = load %pass %12 = sub %10 %11 %13 = icmp slt %9 %12 br %13, %14, %53 14: %15 = load %i %16 = sext i32 %15 to i64 %17 = load %1 %18 = getelementptr %17, %16 %19 = load %18 %20 = load %i %21 = add %20 1 %22 = sext i32 %21 to i64 %23 = load %1 %24 = getelementptr %23, %22 %25 = load %24 %26 = icmp sgt %19 %25 br %26, %27, %49 27: %28 = load %i %29 = sext i32 %28 to i64 %30 = load %1 %31 = getelementptr %30, %29 %32 = load %31 store %32, %temp %33 = load %i %34 = add %33 1 %35 = sext i32 %34 to i64 %36 = load %1 %37 = getelementptr %36, %35 %38 = load %37 %39 = load %i %40 = sext i32 %39 to i64 %41 = load %1 %42 = getelementptr %41, %40 store %38, %42 %43 = load %temp %44 = load %i %45 = add %44 1 %46 = sext i32 %45 to i64 %47 = load %1 %48 = getelementptr %47, %46 store %43, %48 br %49 49: br %50 50: %51 = load %i %52 = add %51 1 store %52, %i br %8 53: br %54 54: %55 = load %pass %56 = add %55 1 store %56, %pass br %3 57: ret void *BasicFunctionTypename: "main" linkageType: EXTERNALLY_VISIBLE returnParam: i32 parameters: () variableLength: false visibilityType: DEFAULT callingConvention: ccc 0: %1 = alloca i32, align 4 %x = alloca *i32, align 8 %n = alloca i32, align 4 store 0, %1 %2 = call i32 @__VERIFIER_nondet_int() store %2, %n %3 = load %x %4 = load %n Unnamed Call-Instruction = call BasicVoidType @sort(*i32 %3, i32 %4) ret 0 Analyze Termination of all function calls matching the pattern: main()