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