/export/starexec/sandbox2/solver/bin/starexec_run_c /export/starexec/sandbox2/benchmark/theBenchmark.c /export/starexec/sandbox2/output/output_files -------------------------------------------------------------------------------- YES proof of /export/starexec/sandbox2/benchmark/theBenchmark.c # AProVE Commit ID: 48fb2092695e11cc9f56e44b17a92a5f88ffb256 marcel 20180622 unpublished dirty Termination of the given C Problem could be proven: (0) C Problem (1) CToLLVMProof [EQUIVALENT, 177 ms] (2) LLVM problem (3) LLVMToTerminationGraphProof [EQUIVALENT, 1485 ms] (4) LLVM Symbolic Execution Graph (5) SymbolicExecutionGraphToLassoProof [EQUIVALENT, 0 ms] (6) TRUE ---------------------------------------- (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: "f" linkageType: EXTERNALLY_VISIBLE returnParam: i32 parameters: (k i32, l i32) variableLength: false visibilityType: DEFAULT callingConvention: ccc 0: %1 = alloca i32, align 4 %2 = alloca i32, align 4 %k_ref = alloca *i32, align 8 %l_ref = alloca *i32, align 8 %i = alloca *i32, align 8 %j = alloca *i32, align 8 store %k, %1 store %l, %2 %3 = alloca i8, numElementsLit: 4 %4 = bitcast *i8 %3 to *i32 store %4, %k_ref %5 = alloca i8, numElementsLit: 4 %6 = bitcast *i8 %5 to *i32 store %6, %l_ref %7 = alloca i8, numElementsLit: 4 %8 = bitcast *i8 %7 to *i32 store %8, %i %9 = alloca i8, numElementsLit: 4 %10 = bitcast *i8 %9 to *i32 store %10, %j %11 = load %1 %12 = load %k_ref store %11, %12 %13 = load %2 %14 = load %l_ref store %13, %14 %15 = load %i store 0, %15 %16 = load %j store 0, %16 br %17 17: br %18 18: %19 = load %i %20 = load %19 %21 = load %k_ref %22 = load %21 %23 = icmp slt %20 %22 br %23, %24, %34 24: %25 = load %i %26 = load %25 %27 = add %26 1 store %27, %25 %28 = load %i %29 = load %28 %30 = srem %29 2 %31 = icmp ne %30 0 br %31, %32, %33 32: br %18 33: br %35 34: br %35 35: br %36 36: %37 = load %j %38 = load %37 %39 = icmp slt %38 1 br %39, %40, %50 40: %41 = load %j %42 = load %41 %43 = add %42 1 store %43, %41 %44 = load %i %45 = load %44 %46 = srem %45 2 %47 = icmp ne %46 0 br %47, %48, %49 48: br %36 49: br %17 50: %51 = load %i %52 = load %51 %53 = load %j %54 = load %53 %55 = add %52 %54 ret %55 *BasicFunctionTypename: "main" linkageType: EXTERNALLY_VISIBLE returnParam: i32 parameters: () variableLength: false visibilityType: DEFAULT callingConvention: ccc 0: %1 = alloca i32, align 4 store 0, %1 %2 = call i32 @__VERIFIER_nondet_int() %3 = call i32 @__VERIFIER_nondet_int() %4 = call i32 @f(i32 %2, i32 %3) ret %4 Analyze Termination of all function calls matching the pattern: main() ---------------------------------------- (3) LLVMToTerminationGraphProof (EQUIVALENT) Constructed symbolic execution graph for LLVM program and proved memory safety. ---------------------------------------- (4) Obligation: SE Graph ---------------------------------------- (5) SymbolicExecutionGraphToLassoProof (EQUIVALENT) Converted SEGraph to 0 independent lassos. ---------------------------------------- (6) TRUE