5.20/2.24 MAYBE 5.20/2.26 proof of /export/starexec/sandbox/benchmark/theBenchmark.c 5.20/2.26 # AProVE Commit ID: 48fb2092695e11cc9f56e44b17a92a5f88ffb256 marcel 20180622 unpublished dirty 5.20/2.26 5.20/2.26 5.20/2.26 Termination of the given C Problem could not be shown: 5.20/2.26 5.20/2.26 (0) C Problem 5.20/2.26 (1) CToLLVMProof [EQUIVALENT, 172 ms] 5.20/2.26 (2) LLVM problem 5.20/2.26 5.20/2.26 5.20/2.26 ---------------------------------------- 5.20/2.26 5.20/2.26 (0) 5.20/2.26 Obligation: 5.20/2.26 c file /export/starexec/sandbox/benchmark/theBenchmark.c 5.20/2.26 ---------------------------------------- 5.20/2.26 5.20/2.26 (1) CToLLVMProof (EQUIVALENT) 5.20/2.26 Compiled c-file /export/starexec/sandbox/benchmark/theBenchmark.c to LLVM. 5.20/2.26 ---------------------------------------- 5.20/2.26 5.20/2.26 (2) 5.20/2.26 Obligation: 5.20/2.26 LLVM Problem 5.20/2.26 5.20/2.26 Aliases: 5.20/2.26 5.20/2.26 Data layout: 5.20/2.26 5.20/2.26 "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" 5.20/2.26 5.20/2.26 Machine: 5.20/2.26 5.20/2.26 "x86_64-pc-linux-gnu" 5.20/2.26 5.20/2.26 Type definitions: 5.20/2.26 5.20/2.26 Global variables: 5.20/2.26 5.20/2.26 Function declarations and definitions: 5.20/2.26 5.20/2.26 *BasicFunctionTypename: "__VERIFIER_nondet_int" returnParam: i32 parameters: () variableLength: false visibilityType: DEFAULT callingConvention: ccc 5.20/2.26 *BasicFunctionTypename: "sumOfThirdBytes" linkageType: EXTERNALLY_VISIBLE returnParam: i32 parameters: (numbers *i32, array_size i32) variableLength: false visibilityType: DEFAULT callingConvention: ccc 5.20/2.26 0: 5.20/2.26 %1 = alloca *i32, align 8 5.20/2.26 %2 = alloca i32, align 4 5.20/2.26 %i = alloca i32, align 4 5.20/2.26 %sum = alloca i32, align 4 5.20/2.26 %p = alloca *i8, align 8 5.20/2.26 store %numbers, %1 5.20/2.26 store %array_size, %2 5.20/2.26 store 0, %sum 5.20/2.26 store 0, %i 5.20/2.26 br %3 5.20/2.26 3: 5.20/2.26 %4 = load %i 5.20/2.26 %5 = load %2 5.20/2.26 %6 = icmp slt %4 %5 5.20/2.26 br %6, %7, %23 5.20/2.26 7: 5.20/2.26 %8 = load %i 5.20/2.26 %9 = sext i32 %8 to i64 5.20/2.26 %10 = load %1 5.20/2.26 %11 = getelementptr %10, %9 5.20/2.26 %12 = bitcast *i32 %11 to *i8 5.20/2.26 store %12, %p 5.20/2.26 %13 = load %p 5.20/2.26 %14 = getelementptr %13, 2 5.20/2.26 store %14, %p 5.20/2.26 %15 = load %sum 5.20/2.26 %16 = load %p 5.20/2.26 %17 = load %16 5.20/2.26 %18 = sext i8 %17 to i32 5.20/2.26 %19 = add %15 %18 5.20/2.26 store %19, %sum 5.20/2.26 br %20 5.20/2.26 20: 5.20/2.26 %21 = load %i 5.20/2.26 %22 = add %21 1 5.20/2.26 store %22, %i 5.20/2.26 br %3 5.20/2.26 23: 5.20/2.26 %24 = load %sum 5.20/2.26 ret %24 5.20/2.26 5.20/2.26 *BasicFunctionTypename: "main" linkageType: EXTERNALLY_VISIBLE returnParam: i32 parameters: () variableLength: false visibilityType: DEFAULT callingConvention: ccc 5.20/2.26 0: 5.20/2.26 %1 = alloca i32, align 4 5.20/2.26 %numbers = alloca *i32, align 8 5.20/2.26 %array_size = alloca i32, align 4 5.20/2.26 store 0, %1 5.20/2.26 %2 = call i32 @__VERIFIER_nondet_int() 5.20/2.26 store %2, %array_size 5.20/2.26 %3 = load %numbers 5.20/2.26 %4 = load %array_size 5.20/2.26 %5 = call i32 @sumOfThirdBytes(*i32 %3, i32 %4) 5.20/2.26 ret %5 5.20/2.26 5.20/2.26 5.20/2.26 Analyze Termination of all function calls matching the pattern: 5.20/2.26 main() 5.41/2.30 EOF