/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, 179 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: "sumOfThirdBytes" linkageType: EXTERNALLY_VISIBLE returnParam: i32 parameters: (numbers *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 %sum = alloca i32, align 4 %p = alloca *i8, align 8 store %numbers, %1 store %array_size, %2 store 0, %sum store 0, %i br %3 3: %4 = load %i %5 = load %2 %6 = icmp slt %4 %5 br %6, %7, %23 7: %8 = load %i %9 = sext i32 %8 to i64 %10 = load %1 %11 = getelementptr %10, %9 %12 = bitcast *i32 %11 to *i8 store %12, %p %13 = load %p %14 = getelementptr %13, 2 store %14, %p %15 = load %sum %16 = load %p %17 = load %16 %18 = sext i8 %17 to i32 %19 = add %15 %18 store %19, %sum br %20 20: %21 = load %i %22 = add %21 1 store %22, %i br %3 23: %24 = load %sum ret %24 *BasicFunctionTypename: "main" linkageType: EXTERNALLY_VISIBLE returnParam: i32 parameters: () variableLength: false visibilityType: DEFAULT callingConvention: ccc 0: %1 = alloca i32, align 4 %numbers = alloca *i32, align 8 %array_size = alloca i32, align 4 store 0, %1 %2 = call i32 @__VERIFIER_nondet_int() store %2, %array_size %3 = load %numbers %4 = load %array_size %5 = call i32 @sumOfThirdBytes(*i32 %3, i32 %4) ret %5 Analyze Termination of all function calls matching the pattern: main()